import { SimpleSigner } from "applesauce-signers/signers/simple-signer";
import { BaseAccount } from "../account.js";
import { SerializedAccount } from "../types.js";
export type SimpleAccountSignerData = {
    key: string;
};
export declare class SimpleAccount<Metadata extends unknown> extends BaseAccount<SimpleSigner, SimpleAccountSignerData, Metadata> {
    static readonly type = "nsec";
    toJSON(): SerializedAccount<SimpleAccountSignerData, Metadata>;
    static fromJSON<Metadata extends unknown>(json: SerializedAccount<SimpleAccountSignerData, Metadata>): SimpleAccount<Metadata>;
    /** Creates a SimpleAccount from a hex private key or NIP-19 nsec */
    static fromKey<Metadata extends unknown>(privateKey: Uint8Array | string): SimpleAccount<Metadata>;
    /** Creates a new SimpleAccount with a random private key */
    static generateNew<Metadata extends unknown>(): SimpleAccount<Metadata>;
}
