import type { EventSigner, NostrEvent } from ".."; declare global { interface NostrEncryptor { encrypt(recipientHexPubKey: string, value: string): Promise; decrypt(senderHexPubKey: string, value: string): Promise; } interface Window { nostr?: { getPublicKey: () => Promise; signEvent: (ev: NostrEvent) => Promise; nip04?: NostrEncryptor; nip44?: NostrEncryptor; }; } } export declare class Nip7Signer implements EventSigner { get supports(): string[]; init(): Promise; getPubKey(): Promise; nip4Encrypt(content: string, key: string): Promise; nip4Decrypt(content: string, otherKey: string): Promise; nip44Encrypt(content: string, key: string): Promise; nip44Decrypt(content: string, otherKey: string): Promise; sign(ev: NostrEvent): Promise; } //# sourceMappingURL=nip7.d.ts.map