import type { EvmAddress } from "./evm.js"; import { type ProtocolExecutionPlan } from "./protocol-plans.js"; export type PremiumCheckpointPlan = ProtocolExecutionPlan<"premium.checkpoint"> & { premiumEscrowAddress: EvmAddress; account: EvmAddress; }; export type PremiumClaimPlan = ProtocolExecutionPlan<"premium.claim"> & { premiumEscrowAddress: EvmAddress; recipient: EvmAddress; }; export type PremiumCheckpointedEvent = { account: EvmAddress; previousCoverage: bigint; currentCoverage: bigint; claimableAmount: bigint; exposureIntegral: bigint; totalCoverage: bigint; }; export type PremiumClaimedEvent = { account: EvmAddress; to: EvmAddress; amount: bigint; }; export type PremiumEscrowReceiptSummary = { checkpointed: PremiumCheckpointedEvent | null; claimed: PremiumClaimedEvent | null; }; export declare function buildPremiumCheckpointPlan(params: { network?: string; premiumEscrowAddress: string; account: string; }): PremiumCheckpointPlan; export declare function buildPremiumClaimPlan(params: { network?: string; premiumEscrowAddress: string; recipient: string; }): PremiumClaimPlan; export declare function decodePremiumEscrowReceipt(logs: readonly unknown[]): PremiumEscrowReceiptSummary; export declare function serializePremiumEscrowReceipt(summary: PremiumEscrowReceiptSummary): Record;