import { BinaryReader, BinaryWriter } from "../../../../binary.js"; import { DeepPartial } from "../../../../helpers.js"; import { ConnectionPaths, ConnectionPathsAmino, IdentifiedConnection, IdentifiedConnectionAmino, Params, ParamsAmino } from "./connection.js"; //#region src/ibc/core/connection/v1/genesis.d.ts /** * GenesisState defines the ibc connection submodule's genesis state. * @name GenesisState * @package ibc.core.connection.v1 * @see proto type: ibc.core.connection.v1.GenesisState */ interface GenesisState { connections: IdentifiedConnection[]; clientConnectionPaths: ConnectionPaths[]; /** * the sequence for the next generated connection identifier */ nextConnectionSequence: bigint; params: Params; } interface GenesisStateProtoMsg { typeUrl: "/ibc.core.connection.v1.GenesisState"; value: Uint8Array; } /** * GenesisState defines the ibc connection submodule's genesis state. * @name GenesisStateAmino * @package ibc.core.connection.v1 * @see proto type: ibc.core.connection.v1.GenesisState */ interface GenesisStateAmino { connections: IdentifiedConnectionAmino[]; client_connection_paths: ConnectionPathsAmino[]; /** * the sequence for the next generated connection identifier */ next_connection_sequence: string; params: ParamsAmino; } interface GenesisStateAminoMsg { type: "cosmos-sdk/GenesisState"; value: GenesisStateAmino; } /** * GenesisState defines the ibc connection submodule's genesis state. * @name GenesisState * @package ibc.core.connection.v1 * @see proto type: ibc.core.connection.v1.GenesisState */ declare const GenesisState: { typeUrl: string; aminoType: string; is(o: any): o is GenesisState; isAmino(o: any): o is GenesisStateAmino; encode(message: GenesisState, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): GenesisState; fromPartial(object: DeepPartial): GenesisState; fromAmino(object: GenesisStateAmino): GenesisState; toAmino(message: GenesisState): GenesisStateAmino; fromAminoMsg(object: GenesisStateAminoMsg): GenesisState; toAminoMsg(message: GenesisState): GenesisStateAminoMsg; fromProtoMsg(message: GenesisStateProtoMsg): GenesisState; toProto(message: GenesisState): Uint8Array; toProtoMsg(message: GenesisState): GenesisStateProtoMsg; registerTypeUrl(): void; }; //#endregion export { GenesisState, GenesisStateAmino, GenesisStateAminoMsg, GenesisStateProtoMsg };