/** * Canonical hash of a Bitcoin input set (remediation P6/#8). * * The `execute-btc-withdrawal` user envelope binds this hash so an operator * cannot append vault inputs beyond the set the borrower actually signed — * the phase-2 signer recomputes it over the `utxos[]` it is about to sign and * a tampered set fails signature verification. * * CANONICALIZATION MUST MATCH `sdk/src/utils/btc-withdrawal-message.ts → * hashBtcInputSet` byte-for-byte: entries normalized to * `${txidLowercase}:${vout}:${value}`, sorted by (txid asc, vout asc), * joined with "|", then keccak256 over the UTF-8 bytes. */ export interface HashableUtxo { txid: string; vout: number; value: number; } export declare function hashBtcInputSet(utxos: HashableUtxo[]): string; //# sourceMappingURL=utxo-set-hash.d.ts.map