import * as z from 'zod/mini'; /** Zod schemas owned by funding actions. */ export declare namespace schema { /** One unsigned EVM call, in the exchange quote API's call shape. */ const Call: z.ZodMiniObject<{ data: z.ZodMiniString; to: z.ZodMiniString; value: z.ZodMiniString; }, z.core.$strip>; /** Ordered unsigned EVM calls the caller signs and submits on the source chain. */ const EvmCalls: z.ZodMiniObject<{ calls: z.ZodMiniArray; to: z.ZodMiniString; value: z.ZodMiniString; }, z.core.$strip>>; type: z.ZodMiniLiteral<"evm:calls">; }, z.core.$strip>; /** Executable source-chain action attached to a creation response. */ const Action: z.ZodMiniDiscriminatedUnion<[z.ZodMiniObject<{ calls: z.ZodMiniArray; to: z.ZodMiniString; value: z.ZodMiniString; }, z.core.$strip>>; type: z.ZodMiniLiteral<"evm:calls">; }, z.core.$strip>], "type">; } /** One unsigned EVM call (see {@link schema.Call}). */ export type Call = z.output; /** Ordered unsigned EVM calls (see {@link schema.EvmCalls}). */ export type EvmCalls = z.output; /** Executable source-chain action (see {@link schema.Action}). */ export type Action = z.output; /** One exact native-value allowance established by provider-specific validation. */ export type NativeValue = { /** Contract that may receive the native value. */ to: string; /** Exact native value allowed, as a JSON-RPC quantity. */ value: string; }; /** * Validates prepared EVM calls before persistence. Token calls, approval * targets, spenders, amounts, selectors, and native value must match the route. */ export declare function validateEvmCalls(options: validateEvmCalls.Options): void; export declare namespace validateEvmCalls { /** Expected route terms the calls must stay bounded to. */ type Options = { /** The prepared action to validate. */ action: EvmCalls; /** Exact native values established by provider-specific validation. */ nativeValues?: readonly NativeValue[] | undefined; /** Source amount in base units. */ sourceAmount: string; /** Source token contract address. */ sourceTokenAddress: string; }; } /** Error thrown when a provider returns an action outside the route's bounds. */ export declare class InvalidActionError extends Error { name: string; } //# sourceMappingURL=Action.d.ts.map