import type { EventTemplate, VerifiedEvent } from 'nostr-tools/pure'; export type SignerType = 'nsec' | 'extension' | 'bunker' | 'nostrconnect' | 'oauth'; export interface NostrSigner { type: SignerType; getPublicKey(): Promise; signEvent(event: EventTemplate): Promise; nip04Encrypt(pubkey: string, plaintext: string): Promise; nip04Decrypt(pubkey: string, ciphertext: string): Promise; nip44Encrypt(pubkey: string, plaintext: string): Promise; nip44Decrypt(pubkey: string, ciphertext: string): Promise; } //# sourceMappingURL=types.d.ts.map