import { BIP32Interface, ECPairInterface } from '@bitgo/secp256k1'; import { Psbt as WasmPsbt } from '@bitgo/wasm-utxo'; /** These can be replaced when @bitgo/wasm-utxo is updated */ export type SignPsbtInputResult = { Schnorr: string[]; } | { Ecdsa: string[]; }; export type SignPsbtResult = { [inputIndex: number]: SignPsbtInputResult; }; /** * @param signResult * @return the number of new signatures created by the signResult for a single input */ export declare function getNewSignatureCountForInput(signResult: SignPsbtInputResult): number; /** * @param signResult * @return the number of new signatures created by the signResult */ export declare function getNewSignatureCount(signResult: SignPsbtResult): number; type Key = Buffer | BIP32Interface | ECPairInterface; /** Convenience function to sign a PSBT with a key */ export declare function signWithKey(psbt: WasmPsbt, key: Key): SignPsbtResult; export {}; //# sourceMappingURL=sign.d.ts.map