import { getPrePeginHtlcConnectorInfo } from '@babylonlabs-io/babylon-tbv-rust-wasm'; import { DepositTerms } from './depositTerms'; /** One HTLC in the shared Pre-PegIn tx, ordered by (and contiguous in) htlcVout. */ export interface RebuildSibling { /** 32-byte hex hashlock (0x prefix optional), per-vault (feeds the HTLC scriptPubKey). */ hashlock: string; /** btc-vault `pegin_amount` for this sibling (satoshis). */ amount: bigint; } export interface RebuildDepositTermsCoreInput { /** Stamped tx-graph version (NOT chain-active). */ vaultCoreVersion: number; /** Sibling HTLCs ordered by htlcVout; index === htlcVout (asserted by the app). */ siblings: readonly RebuildSibling[]; /** Funded Pre-PegIn tx hex. Gate 0 (hash vs prepeginTxid) is SELF-verified below — callers need not pre-verify. */ fundedPrePeginTxHex: string; depositorBtcPubkey: string; vaultProviderBtcPubkey: string; vaultKeeperBtcPubkeys: readonly string[]; universalChallengerBtcPubkeys: readonly string[]; protocolFeeRate: bigint; minPeginFeeRate: bigint; councilQuorum: number; councilSize: number; timelockPegin: number; timelockAssert: number; timelockRefund: number; prepeginTxid: string; /** Funded-tx fee (Σin − Σout), computed by the app; the device's `prepegin_max_fee` bound. */ prepeginMaxFee: bigint; maxAcceptableCommissionBps: number; /** WASM network descriptor for scriptPubKey derivation. */ network: Parameters[0]["network"]; } export declare function rebuildDepositTermsCore(input: RebuildDepositTermsCoreInput): Promise; //# sourceMappingURL=rebuildDepositTermsCore.d.ts.map