import type { EvmAddress, HexBytes32 } from "./evm.js"; import { type BigintLike, type ProtocolExecutionPlan } from "./protocol-plans.js"; export type RoundPrizeVaultClaimPlan = ProtocolExecutionPlan<"prize-vault.claim"> & { prizeVaultAddress: EvmAddress; submissionId: HexBytes32; }; export type RoundPrizeVaultDowngradePlan = ProtocolExecutionPlan<"prize-vault.downgrade"> & { prizeVaultAddress: EvmAddress; amount: string; }; export type RoundPrizeVaultClaimedEvent = { submissionId: HexBytes32; recipient: EvmAddress; amount: bigint; }; export type RoundPrizeVaultDowngradedEvent = { amount: bigint; }; export type RoundPrizeVaultReceiptSummary = { claimed: RoundPrizeVaultClaimedEvent | null; downgraded: RoundPrizeVaultDowngradedEvent | null; }; export declare function buildRoundPrizeVaultClaimPlan(params: { network?: string; prizeVaultAddress: string; submissionId: string; }): RoundPrizeVaultClaimPlan; export declare function buildRoundPrizeVaultDowngradePlan(params: { network?: string; prizeVaultAddress: string; amount: BigintLike; }): RoundPrizeVaultDowngradePlan; export declare function decodeRoundPrizeVaultReceipt(logs: readonly unknown[]): RoundPrizeVaultReceiptSummary; export declare function serializeRoundPrizeVaultReceipt(summary: RoundPrizeVaultReceiptSummary): Record;