import { Any, type AnySDKType } from '../../../../google/protobuf/any.js'; import { BinaryReader, BinaryWriter } from '../../../../binary.js'; import { type JsonSafe } from '../../../../json-safe.js'; /** * Type defines a classification of message issued from a controller chain to its associated interchain accounts * host */ export declare enum Type { /** TYPE_UNSPECIFIED - Default zero value enumeration */ TYPE_UNSPECIFIED = 0, /** TYPE_EXECUTE_TX - Execute a transaction on an interchain accounts host chain */ TYPE_EXECUTE_TX = 1, UNRECOGNIZED = -1 } export declare const TypeSDKType: typeof Type; export declare function typeFromJSON(object: any): Type; export declare function typeToJSON(object: Type): string; /** InterchainAccountPacketData is comprised of a raw transaction, type of transaction and optional memo field. */ export interface InterchainAccountPacketData { type: Type; data: Uint8Array; memo: string; } export interface InterchainAccountPacketDataProtoMsg { typeUrl: '/ibc.applications.interchain_accounts.v1.InterchainAccountPacketData'; value: Uint8Array; } /** InterchainAccountPacketData is comprised of a raw transaction, type of transaction and optional memo field. */ export interface InterchainAccountPacketDataSDKType { type: Type; data: Uint8Array; memo: string; } /** CosmosTx contains a list of sdk.Msg's. It should be used when sending transactions to an SDK host chain. */ export interface CosmosTx { messages: Any[]; } export interface CosmosTxProtoMsg { typeUrl: '/ibc.applications.interchain_accounts.v1.CosmosTx'; value: Uint8Array; } /** CosmosTx contains a list of sdk.Msg's. It should be used when sending transactions to an SDK host chain. */ export interface CosmosTxSDKType { messages: AnySDKType[]; } export declare const InterchainAccountPacketData: { typeUrl: "/ibc.applications.interchain_accounts.v1.InterchainAccountPacketData"; encode(message: InterchainAccountPacketData, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): InterchainAccountPacketData; fromJSON(object: any): InterchainAccountPacketData; toJSON(message: InterchainAccountPacketData): JsonSafe; fromPartial(object: Partial): InterchainAccountPacketData; fromProtoMsg(message: InterchainAccountPacketDataProtoMsg): InterchainAccountPacketData; toProto(message: InterchainAccountPacketData): Uint8Array; toProtoMsg(message: InterchainAccountPacketData): InterchainAccountPacketDataProtoMsg; }; export declare const CosmosTx: { typeUrl: "/ibc.applications.interchain_accounts.v1.CosmosTx"; encode(message: CosmosTx, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): CosmosTx; fromJSON(object: any): CosmosTx; toJSON(message: CosmosTx): JsonSafe; fromPartial(object: Partial): CosmosTx; fromProtoMsg(message: CosmosTxProtoMsg): CosmosTx; toProto(message: CosmosTx): Uint8Array; toProtoMsg(message: CosmosTx): CosmosTxProtoMsg; }; //# sourceMappingURL=packet.d.ts.map