/** * ChallengeAssert output connector — the script that output 0 of every * ChallengeAssertX/Y transaction pays to. * * A depositor pre-signing NoPayout commits to that output (NoPayout spends it * as inputs 1 and 2), so the scriptPubKey returned here is what a VP-supplied * ChallengeAssert must carry before the depositor signs. The NoPayout leaf in * this tree is the only place the ChallengeAssert timelock is enforced. * * @see vault-wasm src/dispatch/challenge_assert_output_connector.rs */ import type * as VaultWasm from '../dist/generated/vault_wasm.js'; import type { ChallengeAssertOutputConnectorParams } from './types.js'; /** * Loads the wasm-bindgen surface. The browser and Node entries each pass * their own loader, so this surface has one implementation. */ type GetWasmBindings = () => Promise; export declare function createChallengeAssertOutputConnectorApi(getWasmBindings: GetWasmBindings): { /** * Get the scriptPubKey (hex) of the ChallengeAssert output connector. * * @param params - Claimer, challenger, timelock, the challenger's output * label hashes and the network * @returns P2TR scriptPubKey, hex encoded * @throws If an input is malformed, the version is unsupported, or WASM * returns anything other than a P2TR scriptPubKey */ getChallengeAssertOutputScriptPubKey(params: ChallengeAssertOutputConnectorParams): Promise; }; export {}; //# sourceMappingURL=challengeAssertOutputConnector.d.ts.map