import { type Hex } from 'ox'; import * as z from 'zod/mini'; import type * as App from '../../../App.js'; import * as Response from '../../../internal/Response.js'; import * as Schema from '../../../internal/Schema.js'; /** Zod schemas owned by Zone handlers. */ export declare namespace schema { /** Schemas for the listZoneWithdrawals operation. */ namespace listZoneWithdrawals { /** Path parameters for a Zone withdrawal list request. */ const Params: z.ZodMiniObject<{ senderTag: z.ZodMiniPipe, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>; }, z.core.$strip>; /** Query parameters for a Zone withdrawal list request. */ const Query: z.ZodMiniObject<{ chainId: z.ZodMiniPipe, z.ZodMiniTransform<4217 | 42431, "mainnet" | "testnet">>, z.ZodMiniPipe, z.ZodMiniTransform>]>, z.ZodMiniNumber>; }, z.core.$strict>; /** Indexed Zone withdrawal after parent-chain processing. */ const Withdrawal: z.ZodMiniObject<{ blockNumber: z.ZodMiniNumber; id: z.ZodMiniString; logIndex: z.ZodMiniNumber; status: z.ZodMiniEnum<{ completed: "completed"; failed: "failed"; }>; transactionHash: z.ZodMiniPipe, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>; zoneStatus: z.ZodMiniEnum<{ completed: "completed"; pending: "pending"; }>; }, z.core.$strip>; /** Non-paginated list of indexed Zone withdrawal outcomes. */ const Response: z.ZodMiniObject<{ data: z.ZodMiniArray; id: z.ZodMiniString; logIndex: z.ZodMiniNumber; status: z.ZodMiniEnum<{ completed: "completed"; failed: "failed"; }>; transactionHash: z.ZodMiniPipe, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>; zoneStatus: z.ZodMiniEnum<{ completed: "completed"; pending: "pending"; }>; }, z.core.$strip>>; }, z.core.$strip>; } } /** Creates Zone handlers. */ export declare function zones(): import("hono/hono-base").HonoBase; /** * Resolves indexed `WithdrawalProcessed` rows into public withdrawal outcomes * and rejects malformed upstream data. */ export declare function resolveWithdrawalProcessed(options: resolveWithdrawalProcessed.Options): z.output; export declare namespace resolveWithdrawalProcessed { /** Inputs for resolving indexed Zone withdrawal processing rows. */ type Options = { /** Configured ZonePortal address on the parent Tempo chain. */ portal: z.output; /** Matching raw TIDX log rows ordered by parent-chain position. */ rows: readonly Record[]; /** Sender tag supplied by the caller. */ senderTag: Hex.Hex; /** Latest parent-chain block the originating Zone proved it imported. */ tempoBlockNumber: bigint; }; } //# sourceMappingURL=zones.d.ts.map