import { EpochInfo, type EpochInfoSDKType } from './genesis.js'; import { BinaryReader, BinaryWriter } from '../../../binary.js'; import { type JsonSafe } from '../../../json-safe.js'; /** * QueryEpochInfosRequest defines the gRPC request structure for * querying all epoch info. * @name QueryEpochInfosRequest * @package cosmos.epochs.v1beta1 * @see proto type: cosmos.epochs.v1beta1.QueryEpochInfosRequest */ export interface QueryEpochInfosRequest { } export interface QueryEpochInfosRequestProtoMsg { typeUrl: '/cosmos.epochs.v1beta1.QueryEpochInfosRequest'; value: Uint8Array; } /** * QueryEpochInfosRequest defines the gRPC request structure for * querying all epoch info. * @name QueryEpochInfosRequestSDKType * @package cosmos.epochs.v1beta1 * @see proto type: cosmos.epochs.v1beta1.QueryEpochInfosRequest */ export interface QueryEpochInfosRequestSDKType { } /** * QueryEpochInfosRequest defines the gRPC response structure for * querying all epoch info. * @name QueryEpochInfosResponse * @package cosmos.epochs.v1beta1 * @see proto type: cosmos.epochs.v1beta1.QueryEpochInfosResponse */ export interface QueryEpochInfosResponse { epochs: EpochInfo[]; } export interface QueryEpochInfosResponseProtoMsg { typeUrl: '/cosmos.epochs.v1beta1.QueryEpochInfosResponse'; value: Uint8Array; } /** * QueryEpochInfosRequest defines the gRPC response structure for * querying all epoch info. * @name QueryEpochInfosResponseSDKType * @package cosmos.epochs.v1beta1 * @see proto type: cosmos.epochs.v1beta1.QueryEpochInfosResponse */ export interface QueryEpochInfosResponseSDKType { epochs: EpochInfoSDKType[]; } /** * QueryCurrentEpochRequest defines the gRPC request structure for * querying an epoch by its identifier. * @name QueryCurrentEpochRequest * @package cosmos.epochs.v1beta1 * @see proto type: cosmos.epochs.v1beta1.QueryCurrentEpochRequest */ export interface QueryCurrentEpochRequest { identifier: string; } export interface QueryCurrentEpochRequestProtoMsg { typeUrl: '/cosmos.epochs.v1beta1.QueryCurrentEpochRequest'; value: Uint8Array; } /** * QueryCurrentEpochRequest defines the gRPC request structure for * querying an epoch by its identifier. * @name QueryCurrentEpochRequestSDKType * @package cosmos.epochs.v1beta1 * @see proto type: cosmos.epochs.v1beta1.QueryCurrentEpochRequest */ export interface QueryCurrentEpochRequestSDKType { identifier: string; } /** * QueryCurrentEpochResponse defines the gRPC response structure for * querying an epoch by its identifier. * @name QueryCurrentEpochResponse * @package cosmos.epochs.v1beta1 * @see proto type: cosmos.epochs.v1beta1.QueryCurrentEpochResponse */ export interface QueryCurrentEpochResponse { currentEpoch: bigint; } export interface QueryCurrentEpochResponseProtoMsg { typeUrl: '/cosmos.epochs.v1beta1.QueryCurrentEpochResponse'; value: Uint8Array; } /** * QueryCurrentEpochResponse defines the gRPC response structure for * querying an epoch by its identifier. * @name QueryCurrentEpochResponseSDKType * @package cosmos.epochs.v1beta1 * @see proto type: cosmos.epochs.v1beta1.QueryCurrentEpochResponse */ export interface QueryCurrentEpochResponseSDKType { current_epoch: bigint; } /** * QueryEpochInfosRequest defines the gRPC request structure for * querying all epoch info. * @name QueryEpochInfosRequest * @package cosmos.epochs.v1beta1 * @see proto type: cosmos.epochs.v1beta1.QueryEpochInfosRequest */ export declare const QueryEpochInfosRequest: { typeUrl: "/cosmos.epochs.v1beta1.QueryEpochInfosRequest"; aminoType: "cosmos-sdk/QueryEpochInfosRequest"; is(o: any): o is QueryEpochInfosRequest; isSDK(o: any): o is QueryEpochInfosRequestSDKType; encode(_: QueryEpochInfosRequest, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): QueryEpochInfosRequest; fromJSON(_: any): QueryEpochInfosRequest; toJSON(_: QueryEpochInfosRequest): JsonSafe; fromPartial(_: Partial): QueryEpochInfosRequest; fromProtoMsg(message: QueryEpochInfosRequestProtoMsg): QueryEpochInfosRequest; toProto(message: QueryEpochInfosRequest): Uint8Array; toProtoMsg(message: QueryEpochInfosRequest): QueryEpochInfosRequestProtoMsg; }; /** * QueryEpochInfosRequest defines the gRPC response structure for * querying all epoch info. * @name QueryEpochInfosResponse * @package cosmos.epochs.v1beta1 * @see proto type: cosmos.epochs.v1beta1.QueryEpochInfosResponse */ export declare const QueryEpochInfosResponse: { typeUrl: "/cosmos.epochs.v1beta1.QueryEpochInfosResponse"; aminoType: "cosmos-sdk/QueryEpochInfosResponse"; is(o: any): o is QueryEpochInfosResponse; isSDK(o: any): o is QueryEpochInfosResponseSDKType; encode(message: QueryEpochInfosResponse, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): QueryEpochInfosResponse; fromJSON(object: any): QueryEpochInfosResponse; toJSON(message: QueryEpochInfosResponse): JsonSafe; fromPartial(object: Partial): QueryEpochInfosResponse; fromProtoMsg(message: QueryEpochInfosResponseProtoMsg): QueryEpochInfosResponse; toProto(message: QueryEpochInfosResponse): Uint8Array; toProtoMsg(message: QueryEpochInfosResponse): QueryEpochInfosResponseProtoMsg; }; /** * QueryCurrentEpochRequest defines the gRPC request structure for * querying an epoch by its identifier. * @name QueryCurrentEpochRequest * @package cosmos.epochs.v1beta1 * @see proto type: cosmos.epochs.v1beta1.QueryCurrentEpochRequest */ export declare const QueryCurrentEpochRequest: { typeUrl: "/cosmos.epochs.v1beta1.QueryCurrentEpochRequest"; aminoType: "cosmos-sdk/QueryCurrentEpochRequest"; is(o: any): o is QueryCurrentEpochRequest; isSDK(o: any): o is QueryCurrentEpochRequestSDKType; encode(message: QueryCurrentEpochRequest, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): QueryCurrentEpochRequest; fromJSON(object: any): QueryCurrentEpochRequest; toJSON(message: QueryCurrentEpochRequest): JsonSafe; fromPartial(object: Partial): QueryCurrentEpochRequest; fromProtoMsg(message: QueryCurrentEpochRequestProtoMsg): QueryCurrentEpochRequest; toProto(message: QueryCurrentEpochRequest): Uint8Array; toProtoMsg(message: QueryCurrentEpochRequest): QueryCurrentEpochRequestProtoMsg; }; /** * QueryCurrentEpochResponse defines the gRPC response structure for * querying an epoch by its identifier. * @name QueryCurrentEpochResponse * @package cosmos.epochs.v1beta1 * @see proto type: cosmos.epochs.v1beta1.QueryCurrentEpochResponse */ export declare const QueryCurrentEpochResponse: { typeUrl: "/cosmos.epochs.v1beta1.QueryCurrentEpochResponse"; aminoType: "cosmos-sdk/QueryCurrentEpochResponse"; is(o: any): o is QueryCurrentEpochResponse; isSDK(o: any): o is QueryCurrentEpochResponseSDKType; encode(message: QueryCurrentEpochResponse, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): QueryCurrentEpochResponse; fromJSON(object: any): QueryCurrentEpochResponse; toJSON(message: QueryCurrentEpochResponse): JsonSafe; fromPartial(object: Partial): QueryCurrentEpochResponse; fromProtoMsg(message: QueryCurrentEpochResponseProtoMsg): QueryCurrentEpochResponse; toProto(message: QueryCurrentEpochResponse): Uint8Array; toProtoMsg(message: QueryCurrentEpochResponse): QueryCurrentEpochResponseProtoMsg; }; //# sourceMappingURL=query.d.ts.map