import { IdentifiedChannel, type IdentifiedChannelSDKType, PacketState, type PacketStateSDKType, Params, type ParamsSDKType } from './channel.js'; import { BinaryReader, BinaryWriter } from '../../../../binary.js'; import { type JsonSafe } from '../../../../json-safe.js'; /** GenesisState defines the ibc channel submodule's genesis state. */ export interface GenesisState { channels: IdentifiedChannel[]; acknowledgements: PacketState[]; commitments: PacketState[]; receipts: PacketState[]; sendSequences: PacketSequence[]; recvSequences: PacketSequence[]; ackSequences: PacketSequence[]; /** the sequence for the next generated channel identifier */ nextChannelSequence: bigint; params: Params; } export interface GenesisStateProtoMsg { typeUrl: '/ibc.core.channel.v1.GenesisState'; value: Uint8Array; } /** GenesisState defines the ibc channel submodule's genesis state. */ export interface GenesisStateSDKType { channels: IdentifiedChannelSDKType[]; acknowledgements: PacketStateSDKType[]; commitments: PacketStateSDKType[]; receipts: PacketStateSDKType[]; send_sequences: PacketSequenceSDKType[]; recv_sequences: PacketSequenceSDKType[]; ack_sequences: PacketSequenceSDKType[]; next_channel_sequence: bigint; params: ParamsSDKType; } /** * PacketSequence defines the genesis type necessary to retrieve and store * next send and receive sequences. */ export interface PacketSequence { portId: string; channelId: string; sequence: bigint; } export interface PacketSequenceProtoMsg { typeUrl: '/ibc.core.channel.v1.PacketSequence'; value: Uint8Array; } /** * PacketSequence defines the genesis type necessary to retrieve and store * next send and receive sequences. */ export interface PacketSequenceSDKType { port_id: string; channel_id: string; sequence: bigint; } export declare const GenesisState: { typeUrl: "/ibc.core.channel.v1.GenesisState"; encode(message: GenesisState, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): GenesisState; fromJSON(object: any): GenesisState; toJSON(message: GenesisState): JsonSafe; fromPartial(object: Partial): GenesisState; fromProtoMsg(message: GenesisStateProtoMsg): GenesisState; toProto(message: GenesisState): Uint8Array; toProtoMsg(message: GenesisState): GenesisStateProtoMsg; }; export declare const PacketSequence: { typeUrl: "/ibc.core.channel.v1.PacketSequence"; encode(message: PacketSequence, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): PacketSequence; fromJSON(object: any): PacketSequence; toJSON(message: PacketSequence): JsonSafe; fromPartial(object: Partial): PacketSequence; fromProtoMsg(message: PacketSequenceProtoMsg): PacketSequence; toProto(message: PacketSequence): Uint8Array; toProtoMsg(message: PacketSequence): PacketSequenceProtoMsg; }; //# sourceMappingURL=genesis.d.ts.map