import { ReadonlySigner } from "applesauce-signers/signers/readonly-signer";
import { BaseAccount } from "../account.js";
import { SerializedAccount } from "../types.js";
/** An account that cannot sign or encrypt anything */
export declare class ReadonlyAccount<Metadata extends unknown> extends BaseAccount<ReadonlySigner, void, Metadata> {
    static readonly type = "readonly";
    toJSON(): SerializedAccount<void, Metadata>;
    static fromJSON<Metadata extends unknown>(json: SerializedAccount<void, Metadata>): ReadonlyAccount<Metadata>;
    /** Creates a ReadonlyAccount from a hex public key or NIP-19 npub */
    static fromPubkey(pubkey: string): ReadonlyAccount<unknown>;
}
