import * as btc from "bitcoinjs-lib"; export type RbfFixtureParams = { externalRecipient: string; changeAddress: string; amountToExternal: number; changeAmount: number; fundingOutputValue: number; }; export type RbfFixtureResult = { fundingTxHex: string; fundingTxIdHex: string; rbfTxHex: string; originalTxId: string; network: btc.Network; /** Speedup tx: same inputs/outputs as original but 1 sat less change (higher fee) → different txid */ speedupTxHex: string; speedupTxId: string; /** Cancel tx: same input as original, single output to change (funding - fee back to self) */ cancelTxHex: string; cancelTxId: string; }; /** * Build a minimal funding tx (one output) and an RBF child tx (one input, two outputs). * Also builds speedup tx and cancel tx for "cancel the cancel" / "speed up then cancel" tests. * Used to mock explorer.getTxHex in RBF integration tests. */ export declare function buildRbfFixtureTxs({ externalRecipient, changeAddress, amountToExternal, changeAmount, fundingOutputValue, }: RbfFixtureParams): RbfFixtureResult; /** * Two-UTXO fixture: two funding txs, one RBF tx spending both (multiple inputs). */ export declare function buildRbfFixtureTxsWithTwoUtxos({ externalRecipient, changeAddress, amountToExternal, changeAmount, fundingOutputValue1, fundingOutputValue2, }: { externalRecipient: string; changeAddress: string; amountToExternal: number; changeAmount: number; fundingOutputValue1: number; fundingOutputValue2: number; }): { fundingTx1Hex: string; fundingTx1IdHex: string; fundingTx2Hex: string; fundingTx2IdHex: string; rbfTxHex: string; originalTxId: string; network: btc.Network; }; //# sourceMappingURL=rbf.fixtures.d.ts.map