import { z } from 'zod'; /** * Schema for fee token approval configuration. * Used to pre-approve ERC-20 fee tokens for hooks (e.g., IGP inside aggregation hooks). */ export declare const FeeTokenApprovalSchema: z.ZodObject<{ /** ERC-20 fee token address */ feeToken: z.ZodString; /** Hook address to approve (e.g., IGP inside StaticAggregationHook) */ hook: z.ZodString; }, "strip", z.ZodTypeAny, { hook: string; feeToken: string; }, { hook: string; feeToken: string; }>; export type FeeTokenApproval = z.infer; export declare const IcaRouterConfigSchema: z.ZodObject<{ owner: z.ZodString; ownerOverrides: z.ZodOptional>; } & { mailbox: z.ZodString; hook: z.ZodOptional>; } & { type: z.ZodLiteral<"protocolFee">; beneficiary: z.ZodString; maxProtocolFee: z.ZodString; protocolFee: z.ZodString; }, "strip", z.ZodTypeAny, { type: "protocolFee"; owner: string; protocolFee: string; beneficiary: string; maxProtocolFee: string; ownerOverrides?: Record | undefined; }, { type: "protocolFee"; owner: string; protocolFee: string; beneficiary: string; maxProtocolFee: string; ownerOverrides?: Record | undefined; }>, z.ZodObject<{ owner: z.ZodString; ownerOverrides: z.ZodOptional>; } & { paused: z.ZodBoolean; } & { type: z.ZodLiteral<"pausableHook">; }, "strip", z.ZodTypeAny, { type: "pausableHook"; owner: string; paused: boolean; ownerOverrides?: Record | undefined; }, { type: "pausableHook"; owner: string; paused: boolean; ownerOverrides?: Record | undefined; }>, z.ZodObject<{ owner: z.ZodString; ownerOverrides: z.ZodOptional>; } & { type: z.ZodLiteral<"opStackHook">; nativeBridge: z.ZodString; destinationChain: z.ZodString; }, "strip", z.ZodTypeAny, { type: "opStackHook"; owner: string; nativeBridge: string; destinationChain: string; ownerOverrides?: Record | undefined; }, { type: "opStackHook"; owner: string; nativeBridge: string; destinationChain: string; ownerOverrides?: Record | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"merkleTreeHook">; }, "strip", z.ZodTypeAny, { type: "merkleTreeHook"; }, { type: "merkleTreeHook"; }>, z.ZodObject<{ owner: z.ZodString; ownerOverrides: z.ZodOptional>; } & { type: z.ZodLiteral<"interchainGasPaymaster">; beneficiary: z.ZodString; oracleKey: z.ZodString; overhead: z.ZodRecord; oracleConfig: z.ZodRecord; } & { typicalCost: z.ZodOptional>; }, "strip", z.ZodTypeAny, { gasPrice: string; tokenExchangeRate: string; tokenDecimals?: number | undefined; typicalCost?: { handleGasAmount: number; totalGasAmount: number; totalUsdCost: number; } | undefined; }, { gasPrice: string; tokenExchangeRate: string; tokenDecimals?: number | undefined; typicalCost?: { handleGasAmount: number; totalGasAmount: number; totalUsdCost: number; } | undefined; }>>; }, "strip", z.ZodTypeAny, { type: "interchainGasPaymaster"; owner: string; beneficiary: string; oracleKey: string; overhead: Record; oracleConfig: Record; ownerOverrides?: Record | undefined; }, { type: "interchainGasPaymaster"; owner: string; beneficiary: string; oracleKey: string; overhead: Record; oracleConfig: Record; ownerOverrides?: Record | undefined; }>, z.ZodType, z.ZodType, z.ZodType, z.ZodType, z.ZodObject<{ type: z.ZodLiteral<"arbL2ToL1Hook">; arbSys: z.ZodString; bridge: z.ZodOptional; destinationChain: z.ZodString; childHook: z.ZodLazy>; }, "strip", z.ZodTypeAny, { type: "arbL2ToL1Hook"; destinationChain: string; arbSys: string; bridge?: string | undefined; childHook?: any; }, { type: "arbL2ToL1Hook"; destinationChain: string; arbSys: string; bridge?: string | undefined; childHook?: any; }>, z.ZodObject<{ type: z.ZodLiteral<"defaultHook">; }, "strip", z.ZodTypeAny, { type: "defaultHook"; }, { type: "defaultHook"; }>, z.ZodObject<{ type: z.ZodLiteral<"ccipHook">; destinationChain: z.ZodString; }, "strip", z.ZodTypeAny, { type: "ccipHook"; destinationChain: string; }, { type: "ccipHook"; destinationChain: string; }>, z.ZodObject<{ type: z.ZodLiteral<"unknownHook">; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"unknownHook">; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"unknownHook">; }, z.ZodTypeAny, "passthrough">>]>>; interchainSecurityModule: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "testIsm"; }, { type: "testIsm"; }>, z.ZodObject<{ type: z.ZodLiteral<"opStackIsm">; origin: z.ZodString; nativeBridge: z.ZodString; }, "strip", z.ZodTypeAny, { type: "opStackIsm"; nativeBridge: string; origin: string; }, { type: "opStackIsm"; nativeBridge: string; origin: string; }>, z.ZodIntersection>; } & { paused: z.ZodBoolean; }, "strip", z.ZodTypeAny, { owner: string; paused: boolean; ownerOverrides?: Record | undefined; }, { owner: string; paused: boolean; ownerOverrides?: Record | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"pausableIsm">; }, "strip", z.ZodTypeAny, { type: "pausableIsm"; }, { type: "pausableIsm"; }>>, z.ZodObject<{ type: z.ZodLiteral<"trustedRelayerIsm">; relayer: z.ZodString; }, "strip", z.ZodTypeAny, { type: "trustedRelayerIsm"; relayer: string; }, { type: "trustedRelayerIsm"; relayer: string; }>, z.ZodObject<{ type: z.ZodLiteral<"ccipIsm">; originChain: z.ZodString; }, "strip", z.ZodTypeAny, { type: "ccipIsm"; originChain: string; }, { type: "ccipIsm"; originChain: string; }>, z.ZodIntersection; threshold: z.ZodNumber; }, "strip", z.ZodTypeAny, { threshold: number; validators: string[]; }, { threshold: number; validators: string[]; }>, z.ZodObject<{ type: z.ZodUnion<[z.ZodLiteral<"merkleRootMultisigIsm">, z.ZodLiteral<"messageIdMultisigIsm">, z.ZodLiteral<"storageMerkleRootMultisigIsm">, z.ZodLiteral<"storageMessageIdMultisigIsm">]>; }, "strip", z.ZodTypeAny, { type: "merkleRootMultisigIsm" | "messageIdMultisigIsm" | "storageMerkleRootMultisigIsm" | "storageMessageIdMultisigIsm"; }, { type: "merkleRootMultisigIsm" | "messageIdMultisigIsm" | "storageMerkleRootMultisigIsm" | "storageMessageIdMultisigIsm"; }>>, z.ZodIntersection, "many">; thresholdWeight: z.ZodNumber; }, "strip", z.ZodTypeAny, { validators: { signingAddress: string; weight: number; }[]; thresholdWeight: number; }, { validators: { signingAddress: string; weight: number; }[]; thresholdWeight: number; }>, z.ZodObject<{ type: z.ZodUnion<[z.ZodLiteral<"weightedMerkleRootMultisigIsm">, z.ZodLiteral<"weightedMessageIdMultisigIsm">]>; }, "strip", z.ZodTypeAny, { type: "weightedMerkleRootMultisigIsm" | "weightedMessageIdMultisigIsm"; }, { type: "weightedMerkleRootMultisigIsm" | "weightedMessageIdMultisigIsm"; }>>, z.ZodType, z.ZodType, z.ZodObject<{ type: z.ZodLiteral<"arbL2ToL1Ism">; bridge: z.ZodString; }, "strip", z.ZodTypeAny, { type: "arbL2ToL1Ism"; bridge: string; }, { type: "arbL2ToL1Ism"; bridge: string; }>, z.ZodObject<{ owner: z.ZodString; ownerOverrides: z.ZodOptional>; } & { type: z.ZodLiteral<"offchainLookupIsm">; urls: z.ZodArray; }, "strip", z.ZodTypeAny, { type: "offchainLookupIsm"; owner: string; urls: string[]; ownerOverrides?: Record | undefined; }, { type: "offchainLookupIsm"; owner: string; urls: string[]; ownerOverrides?: Record | undefined; }>, z.ZodObject<{ owner: z.ZodString; ownerOverrides: z.ZodOptional>; } & { type: z.ZodLiteral<"interchainAccountRouting">; isms: z.ZodRecord; }, "strip", z.ZodTypeAny, { type: "interchainAccountRouting"; owner: string; isms: Record; ownerOverrides?: Record | undefined; }, { type: "interchainAccountRouting"; owner: string; isms: Record; ownerOverrides?: Record | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"unknownIsm">; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"unknownIsm">; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"unknownIsm">; }, z.ZodTypeAny, "passthrough">>]>>; } & { foreignDeployment: z.ZodOptional; } & { remoteRouters: z.ZodOptional, z.ZodObject<{ address: z.ZodString; }, "strip", z.ZodTypeAny, { address: string; }, { address: string; }>>>; proxyAdmin: z.ZodOptional>; } & { address: z.ZodOptional; }, "strip", z.ZodTypeAny, { owner: string; address?: string | undefined; ownerOverrides?: Record | undefined; }, { owner: string; address?: string | undefined; ownerOverrides?: Record | undefined; }>>; tokenFee: z.ZodOptional, z.ZodString]>, bigint, string | number | bigint>>; halfAmount: z.ZodOptional, z.ZodString]>, bigint, string | number | bigint>>; type: z.ZodLiteral; bps: z.ZodOptional, z.ZodString]>, bigint, string | number | bigint>>; }, "strip", z.ZodTypeAny, { type: import("../index.js").TokenFeeType.LinearFee; owner: string; maxFee?: bigint | undefined; halfAmount?: bigint | undefined; bps?: bigint | undefined; }, { type: import("../index.js").TokenFeeType.LinearFee; owner: string; maxFee?: string | number | bigint | undefined; halfAmount?: string | number | bigint | undefined; bps?: string | number | bigint | undefined; }>, { type: import("../index.js").TokenFeeType.LinearFee; owner: string; maxFee?: bigint | undefined; halfAmount?: bigint | undefined; bps?: bigint | undefined; }, { type: import("../index.js").TokenFeeType.LinearFee; owner: string; maxFee?: string | number | bigint | undefined; halfAmount?: string | number | bigint | undefined; bps?: string | number | bigint | undefined; }>, { bps: bigint; type: import("../index.js").TokenFeeType.LinearFee; owner: string; maxFee?: bigint | undefined; halfAmount?: bigint | undefined; }, { type: import("../index.js").TokenFeeType.LinearFee; owner: string; maxFee?: string | number | bigint | undefined; halfAmount?: string | number | bigint | undefined; bps?: string | number | bigint | undefined; }>, z.ZodEffects; maxFee: z.ZodEffects, z.ZodString]>, bigint, string | number | bigint>; halfAmount: z.ZodEffects, z.ZodString]>, bigint, string | number | bigint>; }, "strip", z.ZodTypeAny, { type: import("../index.js").TokenFeeType.ProgressiveFee; owner: string; maxFee: bigint; halfAmount: bigint; }, { type: import("../index.js").TokenFeeType.ProgressiveFee; owner: string; maxFee: string | number | bigint; halfAmount: string | number | bigint; }>, { type: import("../index.js").TokenFeeType.ProgressiveFee; owner: string; maxFee: bigint; halfAmount: bigint; }, { type: import("../index.js").TokenFeeType.ProgressiveFee; owner: string; maxFee: string | number | bigint; halfAmount: string | number | bigint; }>, z.ZodEffects; maxFee: z.ZodEffects, z.ZodString]>, bigint, string | number | bigint>; halfAmount: z.ZodEffects, z.ZodString]>, bigint, string | number | bigint>; }, "strip", z.ZodTypeAny, { type: import("../index.js").TokenFeeType.RegressiveFee; owner: string; maxFee: bigint; halfAmount: bigint; }, { type: import("../index.js").TokenFeeType.RegressiveFee; owner: string; maxFee: string | number | bigint; halfAmount: string | number | bigint; }>, { type: import("../index.js").TokenFeeType.RegressiveFee; owner: string; maxFee: bigint; halfAmount: bigint; }, { type: import("../index.js").TokenFeeType.RegressiveFee; owner: string; maxFee: string | number | bigint; halfAmount: string | number | bigint; }>, z.ZodObject<{ owner: z.ZodString; } & { type: z.ZodLiteral; feeContracts: z.ZodOptional>>>; }, "strip", z.ZodTypeAny, { type: import("../index.js").TokenFeeType.RoutingFee; owner: string; feeContracts?: Record | undefined; }, { type: import("../index.js").TokenFeeType.RoutingFee; owner: string; feeContracts?: Record | undefined; }>]>>; } & { commitmentIsm: z.ZodObject<{ owner: z.ZodString; ownerOverrides: z.ZodOptional>; } & { type: z.ZodLiteral<"offchainLookupIsm">; urls: z.ZodArray; }, "strip", z.ZodTypeAny, { type: "offchainLookupIsm"; owner: string; urls: string[]; ownerOverrides?: Record | undefined; }, { type: "offchainLookupIsm"; owner: string; urls: string[]; ownerOverrides?: Record | undefined; }>; /** * Optional: Pre-approve fee tokens for hooks. * Use this when the ICA router will be used with ERC-20 fee tokens and * aggregation hooks containing an IGP as a child hook. */ feeTokenApprovals: z.ZodOptional, "many">>; }, "strip", z.ZodTypeAny, { owner: string; mailbox: string; commitmentIsm: { type: "offchainLookupIsm"; owner: string; urls: string[]; ownerOverrides?: Record | undefined; }; ownerOverrides?: Record | undefined; proxyAdmin?: { owner: string; address?: string | undefined; ownerOverrides?: Record | undefined; } | undefined; hook?: string | { type: "merkleTreeHook"; } | { type: "interchainGasPaymaster"; owner: string; beneficiary: string; oracleKey: string; overhead: Record; oracleConfig: Record; ownerOverrides?: Record | undefined; } | { type: "protocolFee"; owner: string; protocolFee: string; beneficiary: string; maxProtocolFee: string; ownerOverrides?: Record | undefined; } | { type: "pausableHook"; owner: string; paused: boolean; ownerOverrides?: Record | undefined; } | { type: "opStackHook"; owner: string; nativeBridge: string; destinationChain: string; ownerOverrides?: Record | undefined; } | { type: "arbL2ToL1Hook"; destinationChain: string; arbSys: string; bridge?: string | undefined; childHook?: any; } | { type: "defaultHook"; } | { type: "ccipHook"; destinationChain: string; } | import("../index.js").DomainRoutingHookConfig | import("../index.js").FallbackRoutingHookConfig | import("../hook/types.js").AmountRoutingHookConfig | import("../index.js").AggregationHookConfig | z.objectOutputType<{ type: z.ZodLiteral<"unknownHook">; }, z.ZodTypeAny, "passthrough"> | undefined; interchainSecurityModule?: string | ({ threshold: number; validators: string[]; } & { type: "merkleRootMultisigIsm" | "messageIdMultisigIsm" | "storageMerkleRootMultisigIsm" | "storageMessageIdMultisigIsm"; }) | ({ validators: { signingAddress: string; weight: number; }[]; thresholdWeight: number; } & { type: "weightedMerkleRootMultisigIsm" | "weightedMessageIdMultisigIsm"; }) | { type: "testIsm"; } | ({ owner: string; paused: boolean; ownerOverrides?: Record | undefined; } & { type: "pausableIsm"; }) | { type: "opStackIsm"; nativeBridge: string; origin: string; } | { type: "trustedRelayerIsm"; relayer: string; } | { type: "ccipIsm"; originChain: string; } | { type: "arbL2ToL1Ism"; bridge: string; } | { type: "offchainLookupIsm"; owner: string; urls: string[]; ownerOverrides?: Record | undefined; } | import("../ism/types.js").RoutingIsmConfig | import("../ism/types.js").AggregationIsmConfig | z.objectOutputType<{ type: z.ZodLiteral<"unknownIsm">; }, z.ZodTypeAny, "passthrough"> | undefined; foreignDeployment?: string | undefined; remoteRouters?: Record | undefined; tokenFee?: { bps: bigint; type: import("../index.js").TokenFeeType.LinearFee; owner: string; maxFee?: bigint | undefined; halfAmount?: bigint | undefined; } | { type: import("../index.js").TokenFeeType.ProgressiveFee; owner: string; maxFee: bigint; halfAmount: bigint; } | { type: import("../index.js").TokenFeeType.RegressiveFee; owner: string; maxFee: bigint; halfAmount: bigint; } | { type: import("../index.js").TokenFeeType.RoutingFee; owner: string; feeContracts?: Record | undefined; } | undefined; feeTokenApprovals?: { hook: string; feeToken: string; }[] | undefined; }, { owner: string; mailbox: string; commitmentIsm: { type: "offchainLookupIsm"; owner: string; urls: string[]; ownerOverrides?: Record | undefined; }; ownerOverrides?: Record | undefined; proxyAdmin?: { owner: string; address?: string | undefined; ownerOverrides?: Record | undefined; } | undefined; hook?: string | { type: "merkleTreeHook"; } | { type: "interchainGasPaymaster"; owner: string; beneficiary: string; oracleKey: string; overhead: Record; oracleConfig: Record; ownerOverrides?: Record | undefined; } | { type: "protocolFee"; owner: string; protocolFee: string; beneficiary: string; maxProtocolFee: string; ownerOverrides?: Record | undefined; } | { type: "pausableHook"; owner: string; paused: boolean; ownerOverrides?: Record | undefined; } | { type: "opStackHook"; owner: string; nativeBridge: string; destinationChain: string; ownerOverrides?: Record | undefined; } | { type: "arbL2ToL1Hook"; destinationChain: string; arbSys: string; bridge?: string | undefined; childHook?: any; } | { type: "defaultHook"; } | { type: "ccipHook"; destinationChain: string; } | import("../index.js").DomainRoutingHookConfig | import("../index.js").FallbackRoutingHookConfig | import("../hook/types.js").AmountRoutingHookConfig | import("../index.js").AggregationHookConfig | z.objectInputType<{ type: z.ZodLiteral<"unknownHook">; }, z.ZodTypeAny, "passthrough"> | undefined; interchainSecurityModule?: string | ({ threshold: number; validators: string[]; } & { type: "merkleRootMultisigIsm" | "messageIdMultisigIsm" | "storageMerkleRootMultisigIsm" | "storageMessageIdMultisigIsm"; }) | ({ validators: { signingAddress: string; weight: number; }[]; thresholdWeight: number; } & { type: "weightedMerkleRootMultisigIsm" | "weightedMessageIdMultisigIsm"; }) | { type: "testIsm"; } | ({ owner: string; paused: boolean; ownerOverrides?: Record | undefined; } & { type: "pausableIsm"; }) | { type: "opStackIsm"; nativeBridge: string; origin: string; } | { type: "trustedRelayerIsm"; relayer: string; } | { type: "ccipIsm"; originChain: string; } | { type: "arbL2ToL1Ism"; bridge: string; } | { type: "offchainLookupIsm"; owner: string; urls: string[]; ownerOverrides?: Record | undefined; } | { type: "interchainAccountRouting"; owner: string; isms: Record; ownerOverrides?: Record | undefined; } | import("../ism/types.js").RoutingIsmConfig | import("../ism/types.js").AggregationIsmConfig | z.objectInputType<{ type: z.ZodLiteral<"unknownIsm">; }, z.ZodTypeAny, "passthrough"> | undefined; foreignDeployment?: string | undefined; remoteRouters?: Record | undefined; tokenFee?: { type: import("../index.js").TokenFeeType.LinearFee; owner: string; maxFee?: string | number | bigint | undefined; halfAmount?: string | number | bigint | undefined; bps?: string | number | bigint | undefined; } | { type: import("../index.js").TokenFeeType.ProgressiveFee; owner: string; maxFee: string | number | bigint; halfAmount: string | number | bigint; } | { type: import("../index.js").TokenFeeType.RegressiveFee; owner: string; maxFee: string | number | bigint; halfAmount: string | number | bigint; } | { type: import("../index.js").TokenFeeType.RoutingFee; owner: string; feeContracts?: Record | undefined; } | undefined; feeTokenApprovals?: { hook: string; feeToken: string; }[] | undefined; }>; export type IcaRouterConfig = z.infer; export declare const DerivedIcaRouterConfigSchema: z.ZodObject<{ owner: z.ZodString; ownerOverrides: z.ZodOptional>; } & { mailbox: z.ZodString; hook: z.ZodOptional>; } & { type: z.ZodLiteral<"protocolFee">; beneficiary: z.ZodString; maxProtocolFee: z.ZodString; protocolFee: z.ZodString; }, "strip", z.ZodTypeAny, { type: "protocolFee"; owner: string; protocolFee: string; beneficiary: string; maxProtocolFee: string; ownerOverrides?: Record | undefined; }, { type: "protocolFee"; owner: string; protocolFee: string; beneficiary: string; maxProtocolFee: string; ownerOverrides?: Record | undefined; }>, z.ZodObject<{ owner: z.ZodString; ownerOverrides: z.ZodOptional>; } & { paused: z.ZodBoolean; } & { type: z.ZodLiteral<"pausableHook">; }, "strip", z.ZodTypeAny, { type: "pausableHook"; owner: string; paused: boolean; ownerOverrides?: Record | undefined; }, { type: "pausableHook"; owner: string; paused: boolean; ownerOverrides?: Record | undefined; }>, z.ZodObject<{ owner: z.ZodString; ownerOverrides: z.ZodOptional>; } & { type: z.ZodLiteral<"opStackHook">; nativeBridge: z.ZodString; destinationChain: z.ZodString; }, "strip", z.ZodTypeAny, { type: "opStackHook"; owner: string; nativeBridge: string; destinationChain: string; ownerOverrides?: Record | undefined; }, { type: "opStackHook"; owner: string; nativeBridge: string; destinationChain: string; ownerOverrides?: Record | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"merkleTreeHook">; }, "strip", z.ZodTypeAny, { type: "merkleTreeHook"; }, { type: "merkleTreeHook"; }>, z.ZodObject<{ owner: z.ZodString; ownerOverrides: z.ZodOptional>; } & { type: z.ZodLiteral<"interchainGasPaymaster">; beneficiary: z.ZodString; oracleKey: z.ZodString; overhead: z.ZodRecord; oracleConfig: z.ZodRecord; } & { typicalCost: z.ZodOptional>; }, "strip", z.ZodTypeAny, { gasPrice: string; tokenExchangeRate: string; tokenDecimals?: number | undefined; typicalCost?: { handleGasAmount: number; totalGasAmount: number; totalUsdCost: number; } | undefined; }, { gasPrice: string; tokenExchangeRate: string; tokenDecimals?: number | undefined; typicalCost?: { handleGasAmount: number; totalGasAmount: number; totalUsdCost: number; } | undefined; }>>; }, "strip", z.ZodTypeAny, { type: "interchainGasPaymaster"; owner: string; beneficiary: string; oracleKey: string; overhead: Record; oracleConfig: Record; ownerOverrides?: Record | undefined; }, { type: "interchainGasPaymaster"; owner: string; beneficiary: string; oracleKey: string; overhead: Record; oracleConfig: Record; ownerOverrides?: Record | undefined; }>, z.ZodType, z.ZodType, z.ZodType, z.ZodType, z.ZodObject<{ type: z.ZodLiteral<"arbL2ToL1Hook">; arbSys: z.ZodString; bridge: z.ZodOptional; destinationChain: z.ZodString; childHook: z.ZodLazy>; }, "strip", z.ZodTypeAny, { type: "arbL2ToL1Hook"; destinationChain: string; arbSys: string; bridge?: string | undefined; childHook?: any; }, { type: "arbL2ToL1Hook"; destinationChain: string; arbSys: string; bridge?: string | undefined; childHook?: any; }>, z.ZodObject<{ type: z.ZodLiteral<"defaultHook">; }, "strip", z.ZodTypeAny, { type: "defaultHook"; }, { type: "defaultHook"; }>, z.ZodObject<{ type: z.ZodLiteral<"ccipHook">; destinationChain: z.ZodString; }, "strip", z.ZodTypeAny, { type: "ccipHook"; destinationChain: string; }, { type: "ccipHook"; destinationChain: string; }>, z.ZodObject<{ type: z.ZodLiteral<"unknownHook">; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"unknownHook">; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"unknownHook">; }, z.ZodTypeAny, "passthrough">>]>>; interchainSecurityModule: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "testIsm"; }, { type: "testIsm"; }>, z.ZodObject<{ type: z.ZodLiteral<"opStackIsm">; origin: z.ZodString; nativeBridge: z.ZodString; }, "strip", z.ZodTypeAny, { type: "opStackIsm"; nativeBridge: string; origin: string; }, { type: "opStackIsm"; nativeBridge: string; origin: string; }>, z.ZodIntersection>; } & { paused: z.ZodBoolean; }, "strip", z.ZodTypeAny, { owner: string; paused: boolean; ownerOverrides?: Record | undefined; }, { owner: string; paused: boolean; ownerOverrides?: Record | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"pausableIsm">; }, "strip", z.ZodTypeAny, { type: "pausableIsm"; }, { type: "pausableIsm"; }>>, z.ZodObject<{ type: z.ZodLiteral<"trustedRelayerIsm">; relayer: z.ZodString; }, "strip", z.ZodTypeAny, { type: "trustedRelayerIsm"; relayer: string; }, { type: "trustedRelayerIsm"; relayer: string; }>, z.ZodObject<{ type: z.ZodLiteral<"ccipIsm">; originChain: z.ZodString; }, "strip", z.ZodTypeAny, { type: "ccipIsm"; originChain: string; }, { type: "ccipIsm"; originChain: string; }>, z.ZodIntersection; threshold: z.ZodNumber; }, "strip", z.ZodTypeAny, { threshold: number; validators: string[]; }, { threshold: number; validators: string[]; }>, z.ZodObject<{ type: z.ZodUnion<[z.ZodLiteral<"merkleRootMultisigIsm">, z.ZodLiteral<"messageIdMultisigIsm">, z.ZodLiteral<"storageMerkleRootMultisigIsm">, z.ZodLiteral<"storageMessageIdMultisigIsm">]>; }, "strip", z.ZodTypeAny, { type: "merkleRootMultisigIsm" | "messageIdMultisigIsm" | "storageMerkleRootMultisigIsm" | "storageMessageIdMultisigIsm"; }, { type: "merkleRootMultisigIsm" | "messageIdMultisigIsm" | "storageMerkleRootMultisigIsm" | "storageMessageIdMultisigIsm"; }>>, z.ZodIntersection, "many">; thresholdWeight: z.ZodNumber; }, "strip", z.ZodTypeAny, { validators: { signingAddress: string; weight: number; }[]; thresholdWeight: number; }, { validators: { signingAddress: string; weight: number; }[]; thresholdWeight: number; }>, z.ZodObject<{ type: z.ZodUnion<[z.ZodLiteral<"weightedMerkleRootMultisigIsm">, z.ZodLiteral<"weightedMessageIdMultisigIsm">]>; }, "strip", z.ZodTypeAny, { type: "weightedMerkleRootMultisigIsm" | "weightedMessageIdMultisigIsm"; }, { type: "weightedMerkleRootMultisigIsm" | "weightedMessageIdMultisigIsm"; }>>, z.ZodType, z.ZodType, z.ZodObject<{ type: z.ZodLiteral<"arbL2ToL1Ism">; bridge: z.ZodString; }, "strip", z.ZodTypeAny, { type: "arbL2ToL1Ism"; bridge: string; }, { type: "arbL2ToL1Ism"; bridge: string; }>, z.ZodObject<{ owner: z.ZodString; ownerOverrides: z.ZodOptional>; } & { type: z.ZodLiteral<"offchainLookupIsm">; urls: z.ZodArray; }, "strip", z.ZodTypeAny, { type: "offchainLookupIsm"; owner: string; urls: string[]; ownerOverrides?: Record | undefined; }, { type: "offchainLookupIsm"; owner: string; urls: string[]; ownerOverrides?: Record | undefined; }>, z.ZodObject<{ owner: z.ZodString; ownerOverrides: z.ZodOptional>; } & { type: z.ZodLiteral<"interchainAccountRouting">; isms: z.ZodRecord; }, "strip", z.ZodTypeAny, { type: "interchainAccountRouting"; owner: string; isms: Record; ownerOverrides?: Record | undefined; }, { type: "interchainAccountRouting"; owner: string; isms: Record; ownerOverrides?: Record | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"unknownIsm">; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"unknownIsm">; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"unknownIsm">; }, z.ZodTypeAny, "passthrough">>]>>; } & { foreignDeployment: z.ZodOptional; } & { remoteRouters: z.ZodOptional, z.ZodObject<{ address: z.ZodString; }, "strip", z.ZodTypeAny, { address: string; }, { address: string; }>>>; proxyAdmin: z.ZodOptional>; } & { address: z.ZodOptional; }, "strip", z.ZodTypeAny, { owner: string; address?: string | undefined; ownerOverrides?: Record | undefined; }, { owner: string; address?: string | undefined; ownerOverrides?: Record | undefined; }>>; tokenFee: z.ZodOptional, z.ZodString]>, bigint, string | number | bigint>>; halfAmount: z.ZodOptional, z.ZodString]>, bigint, string | number | bigint>>; type: z.ZodLiteral; bps: z.ZodOptional, z.ZodString]>, bigint, string | number | bigint>>; }, "strip", z.ZodTypeAny, { type: import("../index.js").TokenFeeType.LinearFee; owner: string; maxFee?: bigint | undefined; halfAmount?: bigint | undefined; bps?: bigint | undefined; }, { type: import("../index.js").TokenFeeType.LinearFee; owner: string; maxFee?: string | number | bigint | undefined; halfAmount?: string | number | bigint | undefined; bps?: string | number | bigint | undefined; }>, { type: import("../index.js").TokenFeeType.LinearFee; owner: string; maxFee?: bigint | undefined; halfAmount?: bigint | undefined; bps?: bigint | undefined; }, { type: import("../index.js").TokenFeeType.LinearFee; owner: string; maxFee?: string | number | bigint | undefined; halfAmount?: string | number | bigint | undefined; bps?: string | number | bigint | undefined; }>, { bps: bigint; type: import("../index.js").TokenFeeType.LinearFee; owner: string; maxFee?: bigint | undefined; halfAmount?: bigint | undefined; }, { type: import("../index.js").TokenFeeType.LinearFee; owner: string; maxFee?: string | number | bigint | undefined; halfAmount?: string | number | bigint | undefined; bps?: string | number | bigint | undefined; }>, z.ZodEffects; maxFee: z.ZodEffects, z.ZodString]>, bigint, string | number | bigint>; halfAmount: z.ZodEffects, z.ZodString]>, bigint, string | number | bigint>; }, "strip", z.ZodTypeAny, { type: import("../index.js").TokenFeeType.ProgressiveFee; owner: string; maxFee: bigint; halfAmount: bigint; }, { type: import("../index.js").TokenFeeType.ProgressiveFee; owner: string; maxFee: string | number | bigint; halfAmount: string | number | bigint; }>, { type: import("../index.js").TokenFeeType.ProgressiveFee; owner: string; maxFee: bigint; halfAmount: bigint; }, { type: import("../index.js").TokenFeeType.ProgressiveFee; owner: string; maxFee: string | number | bigint; halfAmount: string | number | bigint; }>, z.ZodEffects; maxFee: z.ZodEffects, z.ZodString]>, bigint, string | number | bigint>; halfAmount: z.ZodEffects, z.ZodString]>, bigint, string | number | bigint>; }, "strip", z.ZodTypeAny, { type: import("../index.js").TokenFeeType.RegressiveFee; owner: string; maxFee: bigint; halfAmount: bigint; }, { type: import("../index.js").TokenFeeType.RegressiveFee; owner: string; maxFee: string | number | bigint; halfAmount: string | number | bigint; }>, { type: import("../index.js").TokenFeeType.RegressiveFee; owner: string; maxFee: bigint; halfAmount: bigint; }, { type: import("../index.js").TokenFeeType.RegressiveFee; owner: string; maxFee: string | number | bigint; halfAmount: string | number | bigint; }>, z.ZodObject<{ owner: z.ZodString; } & { type: z.ZodLiteral; feeContracts: z.ZodOptional>>>; }, "strip", z.ZodTypeAny, { type: import("../index.js").TokenFeeType.RoutingFee; owner: string; feeContracts?: Record | undefined; }, { type: import("../index.js").TokenFeeType.RoutingFee; owner: string; feeContracts?: Record | undefined; }>]>>; } & { commitmentIsm: z.ZodObject<{ owner: z.ZodString; ownerOverrides: z.ZodOptional>; } & { type: z.ZodLiteral<"offchainLookupIsm">; urls: z.ZodArray; }, "strip", z.ZodTypeAny, { type: "offchainLookupIsm"; owner: string; urls: string[]; ownerOverrides?: Record | undefined; }, { type: "offchainLookupIsm"; owner: string; urls: string[]; ownerOverrides?: Record | undefined; }>; /** * Optional: Pre-approve fee tokens for hooks. * Use this when the ICA router will be used with ERC-20 fee tokens and * aggregation hooks containing an IGP as a child hook. */ feeTokenApprovals: z.ZodOptional, "many">>; } & { address: z.ZodString; }, "strip", z.ZodTypeAny, { address: string; owner: string; mailbox: string; commitmentIsm: { type: "offchainLookupIsm"; owner: string; urls: string[]; ownerOverrides?: Record | undefined; }; ownerOverrides?: Record | undefined; proxyAdmin?: { owner: string; address?: string | undefined; ownerOverrides?: Record | undefined; } | undefined; hook?: string | { type: "merkleTreeHook"; } | { type: "interchainGasPaymaster"; owner: string; beneficiary: string; oracleKey: string; overhead: Record; oracleConfig: Record; ownerOverrides?: Record | undefined; } | { type: "protocolFee"; owner: string; protocolFee: string; beneficiary: string; maxProtocolFee: string; ownerOverrides?: Record | undefined; } | { type: "pausableHook"; owner: string; paused: boolean; ownerOverrides?: Record | undefined; } | { type: "opStackHook"; owner: string; nativeBridge: string; destinationChain: string; ownerOverrides?: Record | undefined; } | { type: "arbL2ToL1Hook"; destinationChain: string; arbSys: string; bridge?: string | undefined; childHook?: any; } | { type: "defaultHook"; } | { type: "ccipHook"; destinationChain: string; } | import("../index.js").DomainRoutingHookConfig | import("../index.js").FallbackRoutingHookConfig | import("../hook/types.js").AmountRoutingHookConfig | import("../index.js").AggregationHookConfig | z.objectOutputType<{ type: z.ZodLiteral<"unknownHook">; }, z.ZodTypeAny, "passthrough"> | undefined; interchainSecurityModule?: string | ({ threshold: number; validators: string[]; } & { type: "merkleRootMultisigIsm" | "messageIdMultisigIsm" | "storageMerkleRootMultisigIsm" | "storageMessageIdMultisigIsm"; }) | ({ validators: { signingAddress: string; weight: number; }[]; thresholdWeight: number; } & { type: "weightedMerkleRootMultisigIsm" | "weightedMessageIdMultisigIsm"; }) | { type: "testIsm"; } | ({ owner: string; paused: boolean; ownerOverrides?: Record | undefined; } & { type: "pausableIsm"; }) | { type: "opStackIsm"; nativeBridge: string; origin: string; } | { type: "trustedRelayerIsm"; relayer: string; } | { type: "ccipIsm"; originChain: string; } | { type: "arbL2ToL1Ism"; bridge: string; } | { type: "offchainLookupIsm"; owner: string; urls: string[]; ownerOverrides?: Record | undefined; } | import("../ism/types.js").RoutingIsmConfig | import("../ism/types.js").AggregationIsmConfig | z.objectOutputType<{ type: z.ZodLiteral<"unknownIsm">; }, z.ZodTypeAny, "passthrough"> | undefined; foreignDeployment?: string | undefined; remoteRouters?: Record | undefined; tokenFee?: { bps: bigint; type: import("../index.js").TokenFeeType.LinearFee; owner: string; maxFee?: bigint | undefined; halfAmount?: bigint | undefined; } | { type: import("../index.js").TokenFeeType.ProgressiveFee; owner: string; maxFee: bigint; halfAmount: bigint; } | { type: import("../index.js").TokenFeeType.RegressiveFee; owner: string; maxFee: bigint; halfAmount: bigint; } | { type: import("../index.js").TokenFeeType.RoutingFee; owner: string; feeContracts?: Record | undefined; } | undefined; feeTokenApprovals?: { hook: string; feeToken: string; }[] | undefined; }, { address: string; owner: string; mailbox: string; commitmentIsm: { type: "offchainLookupIsm"; owner: string; urls: string[]; ownerOverrides?: Record | undefined; }; ownerOverrides?: Record | undefined; proxyAdmin?: { owner: string; address?: string | undefined; ownerOverrides?: Record | undefined; } | undefined; hook?: string | { type: "merkleTreeHook"; } | { type: "interchainGasPaymaster"; owner: string; beneficiary: string; oracleKey: string; overhead: Record; oracleConfig: Record; ownerOverrides?: Record | undefined; } | { type: "protocolFee"; owner: string; protocolFee: string; beneficiary: string; maxProtocolFee: string; ownerOverrides?: Record | undefined; } | { type: "pausableHook"; owner: string; paused: boolean; ownerOverrides?: Record | undefined; } | { type: "opStackHook"; owner: string; nativeBridge: string; destinationChain: string; ownerOverrides?: Record | undefined; } | { type: "arbL2ToL1Hook"; destinationChain: string; arbSys: string; bridge?: string | undefined; childHook?: any; } | { type: "defaultHook"; } | { type: "ccipHook"; destinationChain: string; } | import("../index.js").DomainRoutingHookConfig | import("../index.js").FallbackRoutingHookConfig | import("../hook/types.js").AmountRoutingHookConfig | import("../index.js").AggregationHookConfig | z.objectInputType<{ type: z.ZodLiteral<"unknownHook">; }, z.ZodTypeAny, "passthrough"> | undefined; interchainSecurityModule?: string | ({ threshold: number; validators: string[]; } & { type: "merkleRootMultisigIsm" | "messageIdMultisigIsm" | "storageMerkleRootMultisigIsm" | "storageMessageIdMultisigIsm"; }) | ({ validators: { signingAddress: string; weight: number; }[]; thresholdWeight: number; } & { type: "weightedMerkleRootMultisigIsm" | "weightedMessageIdMultisigIsm"; }) | { type: "testIsm"; } | ({ owner: string; paused: boolean; ownerOverrides?: Record | undefined; } & { type: "pausableIsm"; }) | { type: "opStackIsm"; nativeBridge: string; origin: string; } | { type: "trustedRelayerIsm"; relayer: string; } | { type: "ccipIsm"; originChain: string; } | { type: "arbL2ToL1Ism"; bridge: string; } | { type: "offchainLookupIsm"; owner: string; urls: string[]; ownerOverrides?: Record | undefined; } | { type: "interchainAccountRouting"; owner: string; isms: Record; ownerOverrides?: Record | undefined; } | import("../ism/types.js").RoutingIsmConfig | import("../ism/types.js").AggregationIsmConfig | z.objectInputType<{ type: z.ZodLiteral<"unknownIsm">; }, z.ZodTypeAny, "passthrough"> | undefined; foreignDeployment?: string | undefined; remoteRouters?: Record | undefined; tokenFee?: { type: import("../index.js").TokenFeeType.LinearFee; owner: string; maxFee?: string | number | bigint | undefined; halfAmount?: string | number | bigint | undefined; bps?: string | number | bigint | undefined; } | { type: import("../index.js").TokenFeeType.ProgressiveFee; owner: string; maxFee: string | number | bigint; halfAmount: string | number | bigint; } | { type: import("../index.js").TokenFeeType.RegressiveFee; owner: string; maxFee: string | number | bigint; halfAmount: string | number | bigint; } | { type: import("../index.js").TokenFeeType.RoutingFee; owner: string; feeContracts?: Record | undefined; } | undefined; feeTokenApprovals?: { hook: string; feeToken: string; }[] | undefined; }>; export type DerivedIcaRouterConfig = z.infer; //# sourceMappingURL=types.d.ts.map