import { StampedEvent } from "@welshman/util"; import { ISigner } from "../util.js"; /** * A local key, so every request is answered synchronously. Nothing here can hang or be * worth reordering, which is why it takes no `SignerOptions`. */ export declare class Nip01Signer implements ISigner { #private; private secret; constructor(secret: string); static fromSecret: (secret: string) => Nip01Signer; static ephemeral: () => Nip01Signer; getPubkey: () => Promise; sign: (event: StampedEvent) => Promise<{ sig: string; tags: string[][]; content: string; kind: number; created_at: number; pubkey: string; id: string; }>; nip04: { encrypt: (pubkey: string, message: string) => Promise; decrypt: (pubkey: string, message: string) => Promise; }; nip44: { encrypt: (pubkey: string, message: string) => Promise; decrypt: (pubkey: string, message: string) => Promise; }; } //# sourceMappingURL=nip01.d.ts.map