import { ChallengeAssertConnectorParams } from '@babylonlabs-io/babylon-tbv-rust-wasm'; /** * Parameters for building a ChallengeAssert PSBT */ export interface ChallengeAssertParams { /** ChallengeAssert transaction hex (unsigned) */ challengeAssertTxHex: string; /** Authoritative Assert transaction hex — every input must spend an Assert output */ assertTxHex: string; /** Per-input connector params (one per input/segment, determines the taproot script) */ connectorParamsPerInput: ChallengeAssertConnectorParams[]; } /** * Build unsigned ChallengeAssert PSBT. * * Each input has its own taproot script derived from its connector params; the * number of connector params must match the transaction's input count. The * depositor signs all inputs. Every prevout is derived from the authoritative * Assert transaction, never trusted from external input. * * @param params - ChallengeAssert parameters * @returns Unsigned PSBT hex ready for signing * * @throws If the number of connector params does not match the number of inputs * @throws If any input does not reference assertTxHex * @throws If any referenced Assert output is missing * @throws If two inputs reference the same Assert output index */ export declare function buildChallengeAssertPsbt(params: ChallengeAssertParams): Promise; //# sourceMappingURL=challengeAssert.d.ts.map