import { z } from 'zod'; import { CallData } from '@hyperlane-xyz/utils'; export declare function encodeIcaCalls(calls: CallData[], salt: string): string; export type RawCallData = { to: string; value?: string | number; data: string; }; export declare function normalizeCalls(calls: RawCallData[]): CallData[]; export declare function commitmentFromIcaCalls(calls: CallData[], salt: string): string; /** * Format of REVEAL message: * [ 0: 1] MessageType.REVEAL (uint8) * [ 1: 33] ICA ISM (bytes32) * [ 33: 65] Commitment (bytes32) */ export declare function commitmentFromRevealMessage(message: string): string; declare const PostCallsLegacySchema: z.ZodObject<{ calls: z.ZodArray; }, z.core.$strip>>; relayers: z.ZodArray; salt: z.ZodString; ismOverride: z.ZodOptional; originDomain: z.ZodNumber; commitmentDispatchTx: z.ZodString; }, z.core.$strip>; declare const PostCallsIcaSchema: z.ZodObject<{ calls: z.ZodArray; }, z.core.$strip>>; relayers: z.ZodArray; salt: z.ZodString; ismOverride: z.ZodOptional; originDomain: z.ZodNumber; destinationDomain: z.ZodNumber; owner: z.ZodString; userSalt: z.ZodOptional; }, z.core.$strip>; export declare const PostCallsSchema: z.ZodUnion; }, z.core.$strip>>; relayers: z.ZodArray; salt: z.ZodString; ismOverride: z.ZodOptional; originDomain: z.ZodNumber; destinationDomain: z.ZodNumber; owner: z.ZodString; userSalt: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ calls: z.ZodArray; }, z.core.$strip>>; relayers: z.ZodArray; salt: z.ZodString; ismOverride: z.ZodOptional; originDomain: z.ZodNumber; commitmentDispatchTx: z.ZodString; }, z.core.$strip>]>; export type PostCallsType = z.infer; export type PostCallsLegacyType = z.infer; export type PostCallsIcaType = z.infer; export declare function isPostCallsIca(data: PostCallsType): data is PostCallsIcaType; export {}; //# sourceMappingURL=icaCalls.d.ts.map