UNPKG

@hyperlane-xyz/sdk

Version:

The official SDK for the Hyperlane Network

1,153 lines 47.5 kB
import { z } from 'zod'; export declare const IcaRouterConfigSchema: z.ZodObject<{ owner: z.ZodString; ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>; proxyAdmin: z.ZodOptional<z.ZodObject<{ owner: z.ZodString; ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>; address: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { owner: string; ownerOverrides?: Record<string, string> | undefined; address?: string | undefined; }, { owner: string; ownerOverrides?: Record<string, string> | undefined; address?: string | undefined; }>>; mailbox: z.ZodString; hook: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{ owner: z.ZodString; ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>; type: z.ZodLiteral<import("../index.js").HookType.PROTOCOL_FEE>; beneficiary: z.ZodString; maxProtocolFee: z.ZodString; protocolFee: z.ZodString; }, "strip", z.ZodTypeAny, { type: import("../index.js").HookType.PROTOCOL_FEE; owner: string; protocolFee: string; beneficiary: string; maxProtocolFee: string; ownerOverrides?: Record<string, string> | undefined; }, { type: import("../index.js").HookType.PROTOCOL_FEE; owner: string; protocolFee: string; beneficiary: string; maxProtocolFee: string; ownerOverrides?: Record<string, string> | undefined; }>, z.ZodObject<{ owner: z.ZodString; ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>; paused: z.ZodBoolean; type: z.ZodLiteral<import("../index.js").HookType.PAUSABLE>; }, "strip", z.ZodTypeAny, { type: import("../index.js").HookType.PAUSABLE; owner: string; paused: boolean; ownerOverrides?: Record<string, string> | undefined; }, { type: import("../index.js").HookType.PAUSABLE; owner: string; paused: boolean; ownerOverrides?: Record<string, string> | undefined; }>, z.ZodObject<{ owner: z.ZodString; ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>; type: z.ZodLiteral<import("../index.js").HookType.OP_STACK>; nativeBridge: z.ZodString; destinationChain: z.ZodString; }, "strip", z.ZodTypeAny, { type: import("../index.js").HookType.OP_STACK; owner: string; nativeBridge: string; destinationChain: string; ownerOverrides?: Record<string, string> | undefined; }, { type: import("../index.js").HookType.OP_STACK; owner: string; nativeBridge: string; destinationChain: string; ownerOverrides?: Record<string, string> | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<import("../index.js").HookType.MERKLE_TREE>; }, "strip", z.ZodTypeAny, { type: import("../index.js").HookType.MERKLE_TREE; }, { type: import("../index.js").HookType.MERKLE_TREE; }>, z.ZodObject<{ owner: z.ZodString; ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>; type: z.ZodLiteral<import("../index.js").HookType.INTERCHAIN_GAS_PAYMASTER>; beneficiary: z.ZodString; oracleKey: z.ZodString; overhead: z.ZodRecord<z.ZodString, z.ZodNumber>; oracleConfig: z.ZodRecord<z.ZodString, z.ZodObject<{ gasPrice: z.ZodString; tokenExchangeRate: z.ZodString; tokenDecimals: z.ZodOptional<z.ZodNumber>; typicalCost: z.ZodOptional<z.ZodObject<{ handleGasAmount: z.ZodNumber; totalGasAmount: z.ZodNumber; totalUsdCost: z.ZodNumber; }, "strip", z.ZodTypeAny, { handleGasAmount: number; totalGasAmount: number; totalUsdCost: number; }, { handleGasAmount: number; totalGasAmount: number; totalUsdCost: number; }>>; }, "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: import("../index.js").HookType.INTERCHAIN_GAS_PAYMASTER; owner: string; beneficiary: string; oracleKey: string; overhead: Record<string, number>; oracleConfig: Record<string, { gasPrice: string; tokenExchangeRate: string; tokenDecimals?: number | undefined; typicalCost?: { handleGasAmount: number; totalGasAmount: number; totalUsdCost: number; } | undefined; }>; ownerOverrides?: Record<string, string> | undefined; }, { type: import("../index.js").HookType.INTERCHAIN_GAS_PAYMASTER; owner: string; beneficiary: string; oracleKey: string; overhead: Record<string, number>; oracleConfig: Record<string, { gasPrice: string; tokenExchangeRate: string; tokenDecimals?: number | undefined; typicalCost?: { handleGasAmount: number; totalGasAmount: number; totalUsdCost: number; } | undefined; }>; ownerOverrides?: Record<string, string> | undefined; }>, z.ZodType<import("../index.js").DomainRoutingHookConfig, z.ZodTypeDef, import("../index.js").DomainRoutingHookConfig>, z.ZodType<import("../index.js").FallbackRoutingHookConfig, z.ZodTypeDef, import("../index.js").FallbackRoutingHookConfig>, z.ZodType<import("../hook/types.js").AmountRoutingHookConfig, z.ZodTypeDef, import("../hook/types.js").AmountRoutingHookConfig>, z.ZodType<import("../index.js").AggregationHookConfig, z.ZodTypeDef, import("../index.js").AggregationHookConfig>, z.ZodObject<{ type: z.ZodLiteral<import("../index.js").HookType.ARB_L2_TO_L1>; arbSys: z.ZodString; bridge: z.ZodOptional<z.ZodString>; destinationChain: z.ZodString; childHook: z.ZodLazy<z.ZodType<any, z.ZodTypeDef, any>>; }, "strip", z.ZodTypeAny, { type: import("../index.js").HookType.ARB_L2_TO_L1; destinationChain: string; arbSys: string; bridge?: string | undefined; childHook?: any; }, { type: import("../index.js").HookType.ARB_L2_TO_L1; destinationChain: string; arbSys: string; bridge?: string | undefined; childHook?: any; }>, z.ZodObject<{ type: z.ZodLiteral<import("../index.js").HookType.MAILBOX_DEFAULT>; }, "strip", z.ZodTypeAny, { type: import("../index.js").HookType.MAILBOX_DEFAULT; }, { type: import("../index.js").HookType.MAILBOX_DEFAULT; }>, z.ZodObject<{ type: z.ZodLiteral<import("../index.js").HookType.CCIP>; destinationChain: z.ZodString; }, "strip", z.ZodTypeAny, { type: import("../index.js").HookType.CCIP; destinationChain: string; }, { type: import("../index.js").HookType.CCIP; destinationChain: string; }>]>>; interchainSecurityModule: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{ type: z.ZodLiteral<import("../ism/types.js").IsmType.TEST_ISM>; }, "strip", z.ZodTypeAny, { type: import("../ism/types.js").IsmType.TEST_ISM; }, { type: import("../ism/types.js").IsmType.TEST_ISM; }>, z.ZodObject<{ type: z.ZodLiteral<import("../ism/types.js").IsmType.OP_STACK>; origin: z.ZodString; nativeBridge: z.ZodString; }, "strip", z.ZodTypeAny, { type: import("../ism/types.js").IsmType.OP_STACK; nativeBridge: string; origin: string; }, { type: import("../ism/types.js").IsmType.OP_STACK; nativeBridge: string; origin: string; }>, z.ZodIntersection<z.ZodObject<{ owner: z.ZodString; ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>; paused: z.ZodBoolean; }, "strip", z.ZodTypeAny, { owner: string; paused: boolean; ownerOverrides?: Record<string, string> | undefined; }, { owner: string; paused: boolean; ownerOverrides?: Record<string, string> | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<import("../ism/types.js").IsmType.PAUSABLE>; }, "strip", z.ZodTypeAny, { type: import("../ism/types.js").IsmType.PAUSABLE; }, { type: import("../ism/types.js").IsmType.PAUSABLE; }>>, z.ZodObject<{ type: z.ZodLiteral<import("../ism/types.js").IsmType.TRUSTED_RELAYER>; relayer: z.ZodString; }, "strip", z.ZodTypeAny, { type: import("../ism/types.js").IsmType.TRUSTED_RELAYER; relayer: string; }, { type: import("../ism/types.js").IsmType.TRUSTED_RELAYER; relayer: string; }>, z.ZodObject<{ type: z.ZodLiteral<import("../ism/types.js").IsmType.CCIP>; originChain: z.ZodString; }, "strip", z.ZodTypeAny, { type: import("../ism/types.js").IsmType.CCIP; originChain: string; }, { type: import("../ism/types.js").IsmType.CCIP; originChain: string; }>, z.ZodIntersection<z.ZodObject<{ validators: z.ZodArray<z.ZodString, "many">; threshold: z.ZodNumber; }, "strip", z.ZodTypeAny, { threshold: number; validators: string[]; }, { threshold: number; validators: string[]; }>, z.ZodObject<{ type: z.ZodUnion<[z.ZodLiteral<import("../ism/types.js").IsmType.MERKLE_ROOT_MULTISIG>, z.ZodLiteral<import("../ism/types.js").IsmType.MESSAGE_ID_MULTISIG>, z.ZodLiteral<import("../ism/types.js").IsmType.STORAGE_MERKLE_ROOT_MULTISIG>, z.ZodLiteral<import("../ism/types.js").IsmType.STORAGE_MESSAGE_ID_MULTISIG>]>; }, "strip", z.ZodTypeAny, { type: import("../ism/types.js").IsmType.MERKLE_ROOT_MULTISIG | import("../ism/types.js").IsmType.MESSAGE_ID_MULTISIG | import("../ism/types.js").IsmType.STORAGE_MERKLE_ROOT_MULTISIG | import("../ism/types.js").IsmType.STORAGE_MESSAGE_ID_MULTISIG; }, { type: import("../ism/types.js").IsmType.MERKLE_ROOT_MULTISIG | import("../ism/types.js").IsmType.MESSAGE_ID_MULTISIG | import("../ism/types.js").IsmType.STORAGE_MERKLE_ROOT_MULTISIG | import("../ism/types.js").IsmType.STORAGE_MESSAGE_ID_MULTISIG; }>>, z.ZodIntersection<z.ZodObject<{ validators: z.ZodArray<z.ZodObject<{ signingAddress: z.ZodString; weight: z.ZodNumber; }, "strip", z.ZodTypeAny, { signingAddress: string; weight: number; }, { signingAddress: string; weight: number; }>, "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<import("../ism/types.js").IsmType.WEIGHTED_MERKLE_ROOT_MULTISIG>, z.ZodLiteral<import("../ism/types.js").IsmType.WEIGHTED_MESSAGE_ID_MULTISIG>]>; }, "strip", z.ZodTypeAny, { type: import("../ism/types.js").IsmType.WEIGHTED_MERKLE_ROOT_MULTISIG | import("../ism/types.js").IsmType.WEIGHTED_MESSAGE_ID_MULTISIG; }, { type: import("../ism/types.js").IsmType.WEIGHTED_MERKLE_ROOT_MULTISIG | import("../ism/types.js").IsmType.WEIGHTED_MESSAGE_ID_MULTISIG; }>>, z.ZodType<import("../ism/types.js").RoutingIsmConfig, z.ZodTypeDef, import("../ism/types.js").RoutingIsmConfig>, z.ZodType<import("../ism/types.js").AggregationIsmConfig, z.ZodTypeDef, import("../ism/types.js").AggregationIsmConfig>, z.ZodObject<{ type: z.ZodLiteral<import("../ism/types.js").IsmType.ARB_L2_TO_L1>; bridge: z.ZodString; }, "strip", z.ZodTypeAny, { type: import("../ism/types.js").IsmType.ARB_L2_TO_L1; bridge: string; }, { type: import("../ism/types.js").IsmType.ARB_L2_TO_L1; bridge: string; }>, z.ZodObject<{ owner: z.ZodString; ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>; type: z.ZodLiteral<import("../ism/types.js").IsmType.OFFCHAIN_LOOKUP>; urls: z.ZodArray<z.ZodString, "many">; }, "strip", z.ZodTypeAny, { type: import("../ism/types.js").IsmType.OFFCHAIN_LOOKUP; owner: string; urls: string[]; ownerOverrides?: Record<string, string> | undefined; }, { type: import("../ism/types.js").IsmType.OFFCHAIN_LOOKUP; owner: string; urls: string[]; ownerOverrides?: Record<string, string> | undefined; }>, z.ZodObject<{ owner: z.ZodString; ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>; type: z.ZodLiteral<import("../ism/types.js").IsmType.INTERCHAIN_ACCOUNT_ROUTING>; isms: z.ZodRecord<z.ZodString, z.ZodString>; }, "strip", z.ZodTypeAny, { type: import("../ism/types.js").IsmType.INTERCHAIN_ACCOUNT_ROUTING; owner: string; isms: Record<string, string>; ownerOverrides?: Record<string, string> | undefined; }, { type: import("../ism/types.js").IsmType.INTERCHAIN_ACCOUNT_ROUTING; owner: string; isms: Record<string, string>; ownerOverrides?: Record<string, string> | undefined; }>]>>; foreignDeployment: z.ZodOptional<z.ZodString>; remoteRouters: z.ZodOptional<z.ZodRecord<z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodObject<{ address: z.ZodString; }, "strip", z.ZodTypeAny, { address: string; }, { address: string; }>>>; commitmentIsm: z.ZodObject<{ owner: z.ZodString; ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>; type: z.ZodLiteral<import("../ism/types.js").IsmType.OFFCHAIN_LOOKUP>; urls: z.ZodArray<z.ZodString, "many">; }, "strip", z.ZodTypeAny, { type: import("../ism/types.js").IsmType.OFFCHAIN_LOOKUP; owner: string; urls: string[]; ownerOverrides?: Record<string, string> | undefined; }, { type: import("../ism/types.js").IsmType.OFFCHAIN_LOOKUP; owner: string; urls: string[]; ownerOverrides?: Record<string, string> | undefined; }>; }, "strip", z.ZodTypeAny, { owner: string; mailbox: string; commitmentIsm: { type: import("../ism/types.js").IsmType.OFFCHAIN_LOOKUP; owner: string; urls: string[]; ownerOverrides?: Record<string, string> | undefined; }; ownerOverrides?: Record<string, string> | undefined; proxyAdmin?: { owner: string; ownerOverrides?: Record<string, string> | undefined; address?: string | undefined; } | undefined; hook?: string | { type: import("../index.js").HookType.MERKLE_TREE; } | { type: import("../index.js").HookType.INTERCHAIN_GAS_PAYMASTER; owner: string; beneficiary: string; oracleKey: string; overhead: Record<string, number>; oracleConfig: Record<string, { gasPrice: string; tokenExchangeRate: string; tokenDecimals?: number | undefined; typicalCost?: { handleGasAmount: number; totalGasAmount: number; totalUsdCost: number; } | undefined; }>; ownerOverrides?: Record<string, string> | undefined; } | { type: import("../index.js").HookType.PROTOCOL_FEE; owner: string; protocolFee: string; beneficiary: string; maxProtocolFee: string; ownerOverrides?: Record<string, string> | undefined; } | { type: import("../index.js").HookType.PAUSABLE; owner: string; paused: boolean; ownerOverrides?: Record<string, string> | undefined; } | { type: import("../index.js").HookType.OP_STACK; owner: string; nativeBridge: string; destinationChain: string; ownerOverrides?: Record<string, string> | undefined; } | { type: import("../index.js").HookType.ARB_L2_TO_L1; destinationChain: string; arbSys: string; bridge?: string | undefined; childHook?: any; } | { type: import("../index.js").HookType.MAILBOX_DEFAULT; } | { type: import("../index.js").HookType.CCIP; destinationChain: string; } | import("../index.js").DomainRoutingHookConfig | import("../index.js").FallbackRoutingHookConfig | import("../hook/types.js").AmountRoutingHookConfig | import("../index.js").AggregationHookConfig | undefined; interchainSecurityModule?: string | ({ threshold: number; validators: string[]; } & { type: import("../ism/types.js").IsmType.MERKLE_ROOT_MULTISIG | import("../ism/types.js").IsmType.MESSAGE_ID_MULTISIG | import("../ism/types.js").IsmType.STORAGE_MERKLE_ROOT_MULTISIG | import("../ism/types.js").IsmType.STORAGE_MESSAGE_ID_MULTISIG; }) | ({ validators: { signingAddress: string; weight: number; }[]; thresholdWeight: number; } & { type: import("../ism/types.js").IsmType.WEIGHTED_MERKLE_ROOT_MULTISIG | import("../ism/types.js").IsmType.WEIGHTED_MESSAGE_ID_MULTISIG; }) | { type: import("../ism/types.js").IsmType.TEST_ISM; } | ({ owner: string; paused: boolean; ownerOverrides?: Record<string, string> | undefined; } & { type: import("../ism/types.js").IsmType.PAUSABLE; }) | { type: import("../ism/types.js").IsmType.OP_STACK; nativeBridge: string; origin: string; } | { type: import("../ism/types.js").IsmType.TRUSTED_RELAYER; relayer: string; } | { type: import("../ism/types.js").IsmType.CCIP; originChain: string; } | { type: import("../ism/types.js").IsmType.ARB_L2_TO_L1; bridge: string; } | { type: import("../ism/types.js").IsmType.OFFCHAIN_LOOKUP; owner: string; urls: string[]; ownerOverrides?: Record<string, string> | undefined; } | import("../ism/types.js").RoutingIsmConfig | import("../ism/types.js").AggregationIsmConfig | undefined; foreignDeployment?: string | undefined; remoteRouters?: Record<string | number, { address: string; }> | undefined; }, { owner: string; mailbox: string; commitmentIsm: { type: import("../ism/types.js").IsmType.OFFCHAIN_LOOKUP; owner: string; urls: string[]; ownerOverrides?: Record<string, string> | undefined; }; ownerOverrides?: Record<string, string> | undefined; proxyAdmin?: { owner: string; ownerOverrides?: Record<string, string> | undefined; address?: string | undefined; } | undefined; hook?: string | { type: import("../index.js").HookType.MERKLE_TREE; } | { type: import("../index.js").HookType.INTERCHAIN_GAS_PAYMASTER; owner: string; beneficiary: string; oracleKey: string; overhead: Record<string, number>; oracleConfig: Record<string, { gasPrice: string; tokenExchangeRate: string; tokenDecimals?: number | undefined; typicalCost?: { handleGasAmount: number; totalGasAmount: number; totalUsdCost: number; } | undefined; }>; ownerOverrides?: Record<string, string> | undefined; } | { type: import("../index.js").HookType.PROTOCOL_FEE; owner: string; protocolFee: string; beneficiary: string; maxProtocolFee: string; ownerOverrides?: Record<string, string> | undefined; } | { type: import("../index.js").HookType.PAUSABLE; owner: string; paused: boolean; ownerOverrides?: Record<string, string> | undefined; } | { type: import("../index.js").HookType.OP_STACK; owner: string; nativeBridge: string; destinationChain: string; ownerOverrides?: Record<string, string> | undefined; } | { type: import("../index.js").HookType.ARB_L2_TO_L1; destinationChain: string; arbSys: string; bridge?: string | undefined; childHook?: any; } | { type: import("../index.js").HookType.MAILBOX_DEFAULT; } | { type: import("../index.js").HookType.CCIP; destinationChain: string; } | import("../index.js").DomainRoutingHookConfig | import("../index.js").FallbackRoutingHookConfig | import("../hook/types.js").AmountRoutingHookConfig | import("../index.js").AggregationHookConfig | undefined; interchainSecurityModule?: string | ({ threshold: number; validators: string[]; } & { type: import("../ism/types.js").IsmType.MERKLE_ROOT_MULTISIG | import("../ism/types.js").IsmType.MESSAGE_ID_MULTISIG | import("../ism/types.js").IsmType.STORAGE_MERKLE_ROOT_MULTISIG | import("../ism/types.js").IsmType.STORAGE_MESSAGE_ID_MULTISIG; }) | ({ validators: { signingAddress: string; weight: number; }[]; thresholdWeight: number; } & { type: import("../ism/types.js").IsmType.WEIGHTED_MERKLE_ROOT_MULTISIG | import("../ism/types.js").IsmType.WEIGHTED_MESSAGE_ID_MULTISIG; }) | { type: import("../ism/types.js").IsmType.TEST_ISM; } | ({ owner: string; paused: boolean; ownerOverrides?: Record<string, string> | undefined; } & { type: import("../ism/types.js").IsmType.PAUSABLE; }) | { type: import("../ism/types.js").IsmType.OP_STACK; nativeBridge: string; origin: string; } | { type: import("../ism/types.js").IsmType.TRUSTED_RELAYER; relayer: string; } | { type: import("../ism/types.js").IsmType.CCIP; originChain: string; } | { type: import("../ism/types.js").IsmType.ARB_L2_TO_L1; bridge: string; } | { type: import("../ism/types.js").IsmType.OFFCHAIN_LOOKUP; owner: string; urls: string[]; ownerOverrides?: Record<string, string> | undefined; } | { type: import("../ism/types.js").IsmType.INTERCHAIN_ACCOUNT_ROUTING; owner: string; isms: Record<string, string>; ownerOverrides?: Record<string, string> | undefined; } | import("../ism/types.js").RoutingIsmConfig | import("../ism/types.js").AggregationIsmConfig | undefined; foreignDeployment?: string | undefined; remoteRouters?: Record<string | number, { address: string; }> | undefined; }>; export type IcaRouterConfig = z.infer<typeof IcaRouterConfigSchema>; export declare const DerivedIcaRouterConfigSchema: z.ZodObject<{ owner: z.ZodString; ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>; proxyAdmin: z.ZodOptional<z.ZodObject<{ owner: z.ZodString; ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>; address: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { owner: string; ownerOverrides?: Record<string, string> | undefined; address?: string | undefined; }, { owner: string; ownerOverrides?: Record<string, string> | undefined; address?: string | undefined; }>>; mailbox: z.ZodString; hook: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{ owner: z.ZodString; ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>; type: z.ZodLiteral<import("../index.js").HookType.PROTOCOL_FEE>; beneficiary: z.ZodString; maxProtocolFee: z.ZodString; protocolFee: z.ZodString; }, "strip", z.ZodTypeAny, { type: import("../index.js").HookType.PROTOCOL_FEE; owner: string; protocolFee: string; beneficiary: string; maxProtocolFee: string; ownerOverrides?: Record<string, string> | undefined; }, { type: import("../index.js").HookType.PROTOCOL_FEE; owner: string; protocolFee: string; beneficiary: string; maxProtocolFee: string; ownerOverrides?: Record<string, string> | undefined; }>, z.ZodObject<{ owner: z.ZodString; ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>; paused: z.ZodBoolean; type: z.ZodLiteral<import("../index.js").HookType.PAUSABLE>; }, "strip", z.ZodTypeAny, { type: import("../index.js").HookType.PAUSABLE; owner: string; paused: boolean; ownerOverrides?: Record<string, string> | undefined; }, { type: import("../index.js").HookType.PAUSABLE; owner: string; paused: boolean; ownerOverrides?: Record<string, string> | undefined; }>, z.ZodObject<{ owner: z.ZodString; ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>; type: z.ZodLiteral<import("../index.js").HookType.OP_STACK>; nativeBridge: z.ZodString; destinationChain: z.ZodString; }, "strip", z.ZodTypeAny, { type: import("../index.js").HookType.OP_STACK; owner: string; nativeBridge: string; destinationChain: string; ownerOverrides?: Record<string, string> | undefined; }, { type: import("../index.js").HookType.OP_STACK; owner: string; nativeBridge: string; destinationChain: string; ownerOverrides?: Record<string, string> | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<import("../index.js").HookType.MERKLE_TREE>; }, "strip", z.ZodTypeAny, { type: import("../index.js").HookType.MERKLE_TREE; }, { type: import("../index.js").HookType.MERKLE_TREE; }>, z.ZodObject<{ owner: z.ZodString; ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>; type: z.ZodLiteral<import("../index.js").HookType.INTERCHAIN_GAS_PAYMASTER>; beneficiary: z.ZodString; oracleKey: z.ZodString; overhead: z.ZodRecord<z.ZodString, z.ZodNumber>; oracleConfig: z.ZodRecord<z.ZodString, z.ZodObject<{ gasPrice: z.ZodString; tokenExchangeRate: z.ZodString; tokenDecimals: z.ZodOptional<z.ZodNumber>; typicalCost: z.ZodOptional<z.ZodObject<{ handleGasAmount: z.ZodNumber; totalGasAmount: z.ZodNumber; totalUsdCost: z.ZodNumber; }, "strip", z.ZodTypeAny, { handleGasAmount: number; totalGasAmount: number; totalUsdCost: number; }, { handleGasAmount: number; totalGasAmount: number; totalUsdCost: number; }>>; }, "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: import("../index.js").HookType.INTERCHAIN_GAS_PAYMASTER; owner: string; beneficiary: string; oracleKey: string; overhead: Record<string, number>; oracleConfig: Record<string, { gasPrice: string; tokenExchangeRate: string; tokenDecimals?: number | undefined; typicalCost?: { handleGasAmount: number; totalGasAmount: number; totalUsdCost: number; } | undefined; }>; ownerOverrides?: Record<string, string> | undefined; }, { type: import("../index.js").HookType.INTERCHAIN_GAS_PAYMASTER; owner: string; beneficiary: string; oracleKey: string; overhead: Record<string, number>; oracleConfig: Record<string, { gasPrice: string; tokenExchangeRate: string; tokenDecimals?: number | undefined; typicalCost?: { handleGasAmount: number; totalGasAmount: number; totalUsdCost: number; } | undefined; }>; ownerOverrides?: Record<string, string> | undefined; }>, z.ZodType<import("../index.js").DomainRoutingHookConfig, z.ZodTypeDef, import("../index.js").DomainRoutingHookConfig>, z.ZodType<import("../index.js").FallbackRoutingHookConfig, z.ZodTypeDef, import("../index.js").FallbackRoutingHookConfig>, z.ZodType<import("../hook/types.js").AmountRoutingHookConfig, z.ZodTypeDef, import("../hook/types.js").AmountRoutingHookConfig>, z.ZodType<import("../index.js").AggregationHookConfig, z.ZodTypeDef, import("../index.js").AggregationHookConfig>, z.ZodObject<{ type: z.ZodLiteral<import("../index.js").HookType.ARB_L2_TO_L1>; arbSys: z.ZodString; bridge: z.ZodOptional<z.ZodString>; destinationChain: z.ZodString; childHook: z.ZodLazy<z.ZodType<any, z.ZodTypeDef, any>>; }, "strip", z.ZodTypeAny, { type: import("../index.js").HookType.ARB_L2_TO_L1; destinationChain: string; arbSys: string; bridge?: string | undefined; childHook?: any; }, { type: import("../index.js").HookType.ARB_L2_TO_L1; destinationChain: string; arbSys: string; bridge?: string | undefined; childHook?: any; }>, z.ZodObject<{ type: z.ZodLiteral<import("../index.js").HookType.MAILBOX_DEFAULT>; }, "strip", z.ZodTypeAny, { type: import("../index.js").HookType.MAILBOX_DEFAULT; }, { type: import("../index.js").HookType.MAILBOX_DEFAULT; }>, z.ZodObject<{ type: z.ZodLiteral<import("../index.js").HookType.CCIP>; destinationChain: z.ZodString; }, "strip", z.ZodTypeAny, { type: import("../index.js").HookType.CCIP; destinationChain: string; }, { type: import("../index.js").HookType.CCIP; destinationChain: string; }>]>>; interchainSecurityModule: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{ type: z.ZodLiteral<import("../ism/types.js").IsmType.TEST_ISM>; }, "strip", z.ZodTypeAny, { type: import("../ism/types.js").IsmType.TEST_ISM; }, { type: import("../ism/types.js").IsmType.TEST_ISM; }>, z.ZodObject<{ type: z.ZodLiteral<import("../ism/types.js").IsmType.OP_STACK>; origin: z.ZodString; nativeBridge: z.ZodString; }, "strip", z.ZodTypeAny, { type: import("../ism/types.js").IsmType.OP_STACK; nativeBridge: string; origin: string; }, { type: import("../ism/types.js").IsmType.OP_STACK; nativeBridge: string; origin: string; }>, z.ZodIntersection<z.ZodObject<{ owner: z.ZodString; ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>; paused: z.ZodBoolean; }, "strip", z.ZodTypeAny, { owner: string; paused: boolean; ownerOverrides?: Record<string, string> | undefined; }, { owner: string; paused: boolean; ownerOverrides?: Record<string, string> | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<import("../ism/types.js").IsmType.PAUSABLE>; }, "strip", z.ZodTypeAny, { type: import("../ism/types.js").IsmType.PAUSABLE; }, { type: import("../ism/types.js").IsmType.PAUSABLE; }>>, z.ZodObject<{ type: z.ZodLiteral<import("../ism/types.js").IsmType.TRUSTED_RELAYER>; relayer: z.ZodString; }, "strip", z.ZodTypeAny, { type: import("../ism/types.js").IsmType.TRUSTED_RELAYER; relayer: string; }, { type: import("../ism/types.js").IsmType.TRUSTED_RELAYER; relayer: string; }>, z.ZodObject<{ type: z.ZodLiteral<import("../ism/types.js").IsmType.CCIP>; originChain: z.ZodString; }, "strip", z.ZodTypeAny, { type: import("../ism/types.js").IsmType.CCIP; originChain: string; }, { type: import("../ism/types.js").IsmType.CCIP; originChain: string; }>, z.ZodIntersection<z.ZodObject<{ validators: z.ZodArray<z.ZodString, "many">; threshold: z.ZodNumber; }, "strip", z.ZodTypeAny, { threshold: number; validators: string[]; }, { threshold: number; validators: string[]; }>, z.ZodObject<{ type: z.ZodUnion<[z.ZodLiteral<import("../ism/types.js").IsmType.MERKLE_ROOT_MULTISIG>, z.ZodLiteral<import("../ism/types.js").IsmType.MESSAGE_ID_MULTISIG>, z.ZodLiteral<import("../ism/types.js").IsmType.STORAGE_MERKLE_ROOT_MULTISIG>, z.ZodLiteral<import("../ism/types.js").IsmType.STORAGE_MESSAGE_ID_MULTISIG>]>; }, "strip", z.ZodTypeAny, { type: import("../ism/types.js").IsmType.MERKLE_ROOT_MULTISIG | import("../ism/types.js").IsmType.MESSAGE_ID_MULTISIG | import("../ism/types.js").IsmType.STORAGE_MERKLE_ROOT_MULTISIG | import("../ism/types.js").IsmType.STORAGE_MESSAGE_ID_MULTISIG; }, { type: import("../ism/types.js").IsmType.MERKLE_ROOT_MULTISIG | import("../ism/types.js").IsmType.MESSAGE_ID_MULTISIG | import("../ism/types.js").IsmType.STORAGE_MERKLE_ROOT_MULTISIG | import("../ism/types.js").IsmType.STORAGE_MESSAGE_ID_MULTISIG; }>>, z.ZodIntersection<z.ZodObject<{ validators: z.ZodArray<z.ZodObject<{ signingAddress: z.ZodString; weight: z.ZodNumber; }, "strip", z.ZodTypeAny, { signingAddress: string; weight: number; }, { signingAddress: string; weight: number; }>, "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<import("../ism/types.js").IsmType.WEIGHTED_MERKLE_ROOT_MULTISIG>, z.ZodLiteral<import("../ism/types.js").IsmType.WEIGHTED_MESSAGE_ID_MULTISIG>]>; }, "strip", z.ZodTypeAny, { type: import("../ism/types.js").IsmType.WEIGHTED_MERKLE_ROOT_MULTISIG | import("../ism/types.js").IsmType.WEIGHTED_MESSAGE_ID_MULTISIG; }, { type: import("../ism/types.js").IsmType.WEIGHTED_MERKLE_ROOT_MULTISIG | import("../ism/types.js").IsmType.WEIGHTED_MESSAGE_ID_MULTISIG; }>>, z.ZodType<import("../ism/types.js").RoutingIsmConfig, z.ZodTypeDef, import("../ism/types.js").RoutingIsmConfig>, z.ZodType<import("../ism/types.js").AggregationIsmConfig, z.ZodTypeDef, import("../ism/types.js").AggregationIsmConfig>, z.ZodObject<{ type: z.ZodLiteral<import("../ism/types.js").IsmType.ARB_L2_TO_L1>; bridge: z.ZodString; }, "strip", z.ZodTypeAny, { type: import("../ism/types.js").IsmType.ARB_L2_TO_L1; bridge: string; }, { type: import("../ism/types.js").IsmType.ARB_L2_TO_L1; bridge: string; }>, z.ZodObject<{ owner: z.ZodString; ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>; type: z.ZodLiteral<import("../ism/types.js").IsmType.OFFCHAIN_LOOKUP>; urls: z.ZodArray<z.ZodString, "many">; }, "strip", z.ZodTypeAny, { type: import("../ism/types.js").IsmType.OFFCHAIN_LOOKUP; owner: string; urls: string[]; ownerOverrides?: Record<string, string> | undefined; }, { type: import("../ism/types.js").IsmType.OFFCHAIN_LOOKUP; owner: string; urls: string[]; ownerOverrides?: Record<string, string> | undefined; }>, z.ZodObject<{ owner: z.ZodString; ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>; type: z.ZodLiteral<import("../ism/types.js").IsmType.INTERCHAIN_ACCOUNT_ROUTING>; isms: z.ZodRecord<z.ZodString, z.ZodString>; }, "strip", z.ZodTypeAny, { type: import("../ism/types.js").IsmType.INTERCHAIN_ACCOUNT_ROUTING; owner: string; isms: Record<string, string>; ownerOverrides?: Record<string, string> | undefined; }, { type: import("../ism/types.js").IsmType.INTERCHAIN_ACCOUNT_ROUTING; owner: string; isms: Record<string, string>; ownerOverrides?: Record<string, string> | undefined; }>]>>; foreignDeployment: z.ZodOptional<z.ZodString>; remoteRouters: z.ZodOptional<z.ZodRecord<z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodObject<{ address: z.ZodString; }, "strip", z.ZodTypeAny, { address: string; }, { address: string; }>>>; commitmentIsm: z.ZodObject<{ owner: z.ZodString; ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>; type: z.ZodLiteral<import("../ism/types.js").IsmType.OFFCHAIN_LOOKUP>; urls: z.ZodArray<z.ZodString, "many">; }, "strip", z.ZodTypeAny, { type: import("../ism/types.js").IsmType.OFFCHAIN_LOOKUP; owner: string; urls: string[]; ownerOverrides?: Record<string, string> | undefined; }, { type: import("../ism/types.js").IsmType.OFFCHAIN_LOOKUP; owner: string; urls: string[]; ownerOverrides?: Record<string, string> | undefined; }>; address: z.ZodString; }, "strip", z.ZodTypeAny, { address: string; owner: string; mailbox: string; commitmentIsm: { type: import("../ism/types.js").IsmType.OFFCHAIN_LOOKUP; owner: string; urls: string[]; ownerOverrides?: Record<string, string> | undefined; }; ownerOverrides?: Record<string, string> | undefined; proxyAdmin?: { owner: string; ownerOverrides?: Record<string, string> | undefined; address?: string | undefined; } | undefined; hook?: string | { type: import("../index.js").HookType.MERKLE_TREE; } | { type: import("../index.js").HookType.INTERCHAIN_GAS_PAYMASTER; owner: string; beneficiary: string; oracleKey: string; overhead: Record<string, number>; oracleConfig: Record<string, { gasPrice: string; tokenExchangeRate: string; tokenDecimals?: number | undefined; typicalCost?: { handleGasAmount: number; totalGasAmount: number; totalUsdCost: number; } | undefined; }>; ownerOverrides?: Record<string, string> | undefined; } | { type: import("../index.js").HookType.PROTOCOL_FEE; owner: string; protocolFee: string; beneficiary: string; maxProtocolFee: string; ownerOverrides?: Record<string, string> | undefined; } | { type: import("../index.js").HookType.PAUSABLE; owner: string; paused: boolean; ownerOverrides?: Record<string, string> | undefined; } | { type: import("../index.js").HookType.OP_STACK; owner: string; nativeBridge: string; destinationChain: string; ownerOverrides?: Record<string, string> | undefined; } | { type: import("../index.js").HookType.ARB_L2_TO_L1; destinationChain: string; arbSys: string; bridge?: string | undefined; childHook?: any; } | { type: import("../index.js").HookType.MAILBOX_DEFAULT; } | { type: import("../index.js").HookType.CCIP; destinationChain: string; } | import("../index.js").DomainRoutingHookConfig | import("../index.js").FallbackRoutingHookConfig | import("../hook/types.js").AmountRoutingHookConfig | import("../index.js").AggregationHookConfig | undefined; interchainSecurityModule?: string | ({ threshold: number; validators: string[]; } & { type: import("../ism/types.js").IsmType.MERKLE_ROOT_MULTISIG | import("../ism/types.js").IsmType.MESSAGE_ID_MULTISIG | import("../ism/types.js").IsmType.STORAGE_MERKLE_ROOT_MULTISIG | import("../ism/types.js").IsmType.STORAGE_MESSAGE_ID_MULTISIG; }) | ({ validators: { signingAddress: string; weight: number; }[]; thresholdWeight: number; } & { type: import("../ism/types.js").IsmType.WEIGHTED_MERKLE_ROOT_MULTISIG | import("../ism/types.js").IsmType.WEIGHTED_MESSAGE_ID_MULTISIG; }) | { type: import("../ism/types.js").IsmType.TEST_ISM; } | ({ owner: string; paused: boolean; ownerOverrides?: Record<string, string> | undefined; } & { type: import("../ism/types.js").IsmType.PAUSABLE; }) | { type: import("../ism/types.js").IsmType.OP_STACK; nativeBridge: string; origin: string; } | { type: import("../ism/types.js").IsmType.TRUSTED_RELAYER; relayer: string; } | { type: import("../ism/types.js").IsmType.CCIP; originChain: string; } | { type: import("../ism/types.js").IsmType.ARB_L2_TO_L1; bridge: string; } | { type: import("../ism/types.js").IsmType.OFFCHAIN_LOOKUP; owner: string; urls: string[]; ownerOverrides?: Record<string, string> | undefined; } | import("../ism/types.js").RoutingIsmConfig | import("../ism/types.js").AggregationIsmConfig | undefined; foreignDeployment?: string | undefined; remoteRouters?: Record<string | number, { address: string; }> | undefined; }, { address: string; owner: string; mailbox: string; commitmentIsm: { type: import("../ism/types.js").IsmType.OFFCHAIN_LOOKUP; owner: string; urls: string[]; ownerOverrides?: Record<string, string> | undefined; }; ownerOverrides?: Record<string, string> | undefined; proxyAdmin?: { owner: string; ownerOverrides?: Record<string, string> | undefined; address?: string | undefined; } | undefined; hook?: string | { type: import("../index.js").HookType.MERKLE_TREE; } | { type: import("../index.js").HookType.INTERCHAIN_GAS_PAYMASTER; owner: string; beneficiary: string; oracleKey: string; overhead: Record<string, number>; oracleConfig: Record<string, { gasPrice: string; tokenExchangeRate: string; tokenDecimals?: number | undefined; typicalCost?: { handleGasAmount: number; totalGasAmount: number; totalUsdCost: number; } | undefined; }>; ownerOverrides?: Record<string, string> | undefined; } | { type: import("../index.js").HookType.PROTOCOL_FEE; owner: string; protocolFee: string; beneficiary: string; maxProtocolFee: string; ownerOverrides?: Record<string, string> | undefined; } | { type: import("../index.js").HookType.PAUSABLE; owner: string; paused: boolean; ownerOverrides?: Record<string, string> | undefined; } | { type: import("../index.js").HookType.OP_STACK; owner: string; nativeBridge: string; destinationChain: string; ownerOverrides?: Record<string, string> | undefined; } | { type: import("../index.js").HookType.ARB_L2_TO_L1; destinationChain: string; arbSys: string; bridge?: string | undefined; childHook?: any; } | { type: import("../index.js").HookType.MAILBOX_DEFAULT; } | { type: import("../index.js").HookType.CCIP; destinationChain: string; } | import("../index.js").DomainRoutingHookConfig | import("../index.js").FallbackRoutingHookConfig | import("../hook/types.js").AmountRoutingHookConfig | import("../index.js").AggregationHookConfig | undefined; interchainSecurityModule?: string | ({ threshold: number; validators: string[]; } & { type: import("../ism/types.js").IsmType.MERKLE_ROOT_MULTISIG | import("../ism/types.js").IsmType.MESSAGE_ID_MULTISIG | import("../ism/types.js").IsmType.STORAGE_MERKLE_ROOT_MULTISIG | import("../ism/types.js").IsmType.STORAGE_MESSAGE_ID_MULTISIG; }) | ({ validators: { signingAddress: string; weight: number; }[]; thresholdWeight: number; } & { type: import("../ism/types.js").IsmType.WEIGHTED_MERKLE_ROOT_MULTISIG | import("../ism/types.js").IsmType.WEIGHTED_MESSAGE_ID_MULTISIG; }) | { type: import("../ism/types.js").IsmType.TEST_ISM; } | ({ owner: string; paused: boolean; ownerOverrides?: Record<string, string> | undefined; } & { type: import("../ism/types.js").IsmType.PAUSABLE; }) | { type: import("../ism/types.js").IsmType.OP_STACK; nativeBridge: string; origin: string; } | { type: import("../ism/types.js").IsmType.TRUSTED_RELAYER; relayer: string; } | { type: import("../ism/types.js").IsmType.CCIP; originChain: string; } | { type: import("../ism/types.js").IsmType.ARB_L2_TO_L1; bridge: string; } | { type: import("../ism/types.js").IsmType.OFFCHAIN_LOOKUP; owner: string; urls: string[]; ownerOverrides?: Record<string, string> | undefined; } | { type: import("../ism/types.js").IsmType.INTERCHAIN_ACCOUNT_ROUTING; owner: string; isms: Record<string, string>; ownerOverrides?: Record<string, string> | undefined; } | import("../ism/types.js").RoutingIsmConfig | import("../ism/types.js").AggregationIsmConfig | undefined; foreignDeployment?: string | undefined; remoteRouters?: Record<string | number, { address: string; }> | undefined; }>; export type DerivedIcaRouterConfig = z.infer<typeof DerivedIcaRouterConfigSchema>; //# sourceMappingURL=types.d.ts.map