import type { PrepareRedeemTransactionParams, RedeemContext, RelayerFeeAuthorization, RedeemTransaction } from "./types.js"; import type { BurnArtifacts } from "../../types.js"; /** * Prepare a redeem transaction from a collected redeem context. * * @remarks * - If there is exactly one eligible event, a single teleport proof is generated. * - If there are multiple eligible events, a batch (Nova + Decider) proof is generated. * - The returned object contains pure data (`address`, `abi`, `functionName`, `args`) * suitable for passing directly to `writeContract`. * * @throws {Error} If no eligible events exist. * @throws {Error} If batch redeem is needed but no decider client is provided. */ export declare function prepareRedeemTransaction(params: PrepareRedeemTransactionParams): Promise; /** * Build a batch redeem transaction from pre-computed proof bytes. * * Pure function: converts decider proof bytes to hex, assembles the GeneralRecipient, * and returns a transaction struct ready for `writeContract`. * * Use this when the caller needs to control the Nova → UI update → Decider * sequence themselves (e.g. to update progress UI between proof steps). */ export declare function buildBatchRedeemTransaction(params: { redeemContext: RedeemContext; burn: BurnArtifacts; deciderProof: Uint8Array; relayerFeeAuth?: RelayerFeeAuthorization; }): RedeemTransaction; //# sourceMappingURL=redeemTransaction.d.ts.map