import { SignedEvent, StampedEvent } from "@welshman/util"; import { SignerOptions, ISigner, EncryptionImplementation } from "../util.js"; export type Nip07 = { signEvent: (event: StampedEvent) => Promise; nip04: EncryptionImplementation; nip44: EncryptionImplementation; getPublicKey: () => string | undefined; }; export declare const getNip07: () => Nip07 | undefined; export declare class Nip07Signer implements ISigner { #private; getPubkey: (options?: SignerOptions) => Promise; sign: (template: StampedEvent, options?: SignerOptions) => Promise; nip04: { encrypt: (pubkey: string, message: string, options?: SignerOptions) => Promise; decrypt: (pubkey: string, message: string, options?: SignerOptions) => Promise; }; nip44: { encrypt: (pubkey: string, message: string, options?: SignerOptions) => Promise; decrypt: (pubkey: string, message: string, options?: SignerOptions) => Promise; }; } //# sourceMappingURL=nip07.d.ts.map