import { Psbt, bitgo } from '@bitgo/utxo-lib'; export type AddressDetails = { redeemScript?: Buffer; witnessScript?: Buffer; scriptPubKey: Buffer; }; export declare const MAX_NUM_BIP322_INPUTS = 200; /** * Create the base PSBT for the to_sign transaction for BIP322 signing. * There will be ever 1 output. */ export declare function createBaseToSignPsbt(rootWalletKeys?: bitgo.RootWalletKeys, network?: import("@bitgo/utxo-lib").Network): bitgo.UtxoPsbt; /** * Add a BIP322 input to the PSBT. * Source implementation: * https://github.com/bitcoin/bips/blob/master/bip-0322.mediawiki#full * * @param {string} message - The message that is hashed into the `to_spend` transaction. * @param {AddressDetails} addressDetails - The details of the address, including redeemScript and/or witnessScript. * @param {string} [tag=BIP322_TAG] - The tag to use for hashing, defaults to BIP322_TAG. * @returns {Psbt} - The hex representation of the constructed PSBT. */ export declare function addBip322Input(psbt: Psbt, message: string, addressDetails: AddressDetails, tag?: string): void; export declare function addBip322InputWithChainAndIndex(psbt: bitgo.UtxoPsbt, message: string, rootWalletKeys: bitgo.RootWalletKeys, scriptId: bitgo.ScriptId): void; //# sourceMappingURL=toSign.d.ts.map