import { UnsignedEvent, type Event } from "nostr-tools"; import { AbstractSimplePool } from "nostr-tools/lib/types/pool"; /** Enable verbose relay lifecycle logs (default off) — handy while integrating. */ export declare const setDebug: (enabled: boolean) => void; type ResponseExpect = { pubkey: string; kind: number; requestorPub: string; requestId: string; }; /** Accept only a signed CLINK reply from the expected peer, tagged to this request. */ export declare const isClinkResponse: (event: Event, expect: ResponseExpect) => boolean; type Pair = { privateKey: Uint8Array; publicKey: string; }; export declare const sendRequest: (pool: AbstractSimplePool, pair: Pair, relays: string[], toPub: string, e: UnsignedEvent, kindExpected: number, timeoutSeconds?: number, moreCb?: (data: any) => void) => Promise; export declare const newFilter: (publicKey: string, eventId: string, kindExpected: number) => { since: number; kinds: number[]; '#p': string[]; '#e': string[]; }; export {};