UNPKG

airtune-nostr-tools-development

Version:
16 lines (15 loc) 438 B
import type { Event } from './event.ts'; export declare type Parameters = { pubkey: string; kind?: number; until?: number; since?: number; }; export declare type Delegation = { from: string; to: string; cond: string; sig: string; }; export declare function createDelegation(privateKey: string, parameters: Parameters): Delegation; export declare function getDelegator(event: Event<number>): string | null;