///
import { EventEmitter } from "events";
import { ECPairInterface, bitcoin } from "../bitcoin-core";
export declare class SimpleKeyring extends EventEmitter {
static type: string;
type: string;
network: bitcoin.Network;
wallets: ECPairInterface[];
constructor(opts?: any);
serialize(): Promise;
deserialize(opts: any): Promise;
addAccounts(n?: number): Promise;
getAccounts(): Promise;
signTransaction(psbt: bitcoin.Psbt, inputs: {
index: number;
publicKey: string;
sighashTypes?: number[];
disableTweakSigner?: boolean;
}[], opts?: any): Promise;
signMessage(publicKey: string, text: string): Promise;
verifyMessage(publicKey: string, text: string, sig: string): Promise;
signData(publicKey: string, data: string, type?: "ecdsa" | "schnorr"): Promise;
private _getPrivateKeyFor;
exportAccount(publicKey: string): Promise;
removeAccount(publicKey: string): void;
private _getWalletForAccount;
}
export declare function verifySignData(publicKey: string, hash: string, type: "ecdsa" | "schnorr", signature: string): boolean;