import { EventTemplate } from "nostr-tools";
import { ISigner } from "../interop.js";
/** A Simple NIP-07 signer class */
export declare class SimpleSigner implements ISigner {
    key: Uint8Array;
    constructor(key?: Uint8Array);
    getPublicKey(): Promise<string>;
    signEvent(event: EventTemplate): Promise<import("nostr-tools").VerifiedEvent>;
    nip04: {
        encrypt: (pubkey: string, plaintext: string) => Promise<string>;
        decrypt: (pubkey: string, ciphertext: string) => Promise<string>;
    };
    nip44: {
        encrypt: (pubkey: string, plaintext: string) => Promise<string>;
        decrypt: (pubkey: string, ciphertext: string) => Promise<string>;
    };
    /** Creates a SimpleSigner from a hex private key or NIP-19 nsec */
    static fromKey(privateKey: Uint8Array | string): SimpleSigner;
}
