import { AppConfig } from '../../types/config.js'; import { BitcoinInputUTXOWithOptionalScript, BitcoinOutputUTXO } from '@avalabs/core-wallets-sdk'; /** * Bitcoin to Avalanche * @param config: Configuration file for the bridge. * @param changeAddress: The user's C-chain derived BTC address. Change UTXO will be sent to this address. * @param utxos: The available UTXOs to consume. * @param amount: The amount to wrap in satoshis. Must cover the `bridgeFee`. * @param feeRate: Fee rate given in satoshis per byte. * @throws when the transaction is invalid */ declare function getBtcTransactionDetails(config: AppConfig, changeAddress: string, utxos: BitcoinInputUTXOWithOptionalScript[], amount: number, feeRate: number): { /** The total fee (bridge fee + tx fee) */ fee: number; bridgeFee: number; receiveAmount: number; inputs: BitcoinInputUTXOWithOptionalScript[]; outputs: BitcoinOutputUTXO[]; }; export { getBtcTransactionDetails };