import type { Key, PublicNonces, SignatureOutput } from "../types"; import type { HashFunction } from "../core/types"; import { Schnorrkel } from "./Schnorrkel"; import type { SchnorrkelOptions } from "./Schnorrkel"; export declare class SchnorrSigner extends Schnorrkel { #private; constructor(_privKey: Uint8Array, options?: SchnorrkelOptions); getAddress(): string; getPubKey(): Key; getPubNonces(): PublicNonces; generatePubNonces(): PublicNonces; restorePubNonces(kPrivateKey: Key, kTwoPrivateKey: Key): PublicNonces; /** restorePubNonces that also refuses a pair burned in the persistent NonceBurnStore. */ restorePubNoncesAsync(kPrivateKey: Key, kTwoPrivateKey: Key): Promise; hasNonces(): boolean; signMultiSigMsg(msg: string, publicKeys: Key[], publicNonces: PublicNonces[]): SignatureOutput; signMultiSigHash(hash: string, publicKeys: Key[], publicNonces: PublicNonces[]): SignatureOutput; /** signMultiSigMsg that consults and updates the persistent NonceBurnStore (if configured). */ signMultiSigMsgAsync(msg: string, publicKeys: Key[], publicNonces: PublicNonces[]): Promise; /** signMultiSigHash that consults and updates the persistent NonceBurnStore (if configured). */ signMultiSigHashAsync(hash: string, publicKeys: Key[], publicNonces: PublicNonces[]): Promise; signMessage(msg: string, hashFn?: HashFunction): SignatureOutput; signHash(hash: string): SignatureOutput; }