export interface PSBTOptions { autoFinalized: boolean; toSignInputs: ToSignInput[]; } export interface ToSignInput { index: number; address?: string; publicKey?: string; tapLeafHashToSign?: string; sighashTypes?: number[]; disableTweakSigner?: boolean; useTweakedSigner?: boolean; } type HexString = string; export interface Signer { /** Get address of current signer. */ getAddress(): Promise; /** Get publicKey of current signer. */ getPublicKey(): Promise; /** traverse all inputs that match the current address to sign. */ signPsbt(psbtHex: HexString, options?: PSBTOptions): Promise; /** same as signPsbt, but sign multiple PSBTs at once. */ signPsbts(reqs: { psbtHex: HexString; options?: PSBTOptions; }[]): Promise; } export {}; //# sourceMappingURL=signer.d.ts.map