import { BinaryReader, BinaryWriter } from "../../../binary.js"; import { DeepPartial } from "../../../helpers.js"; import { ConsensusParams, ConsensusParamsAmino } from "../../../tendermint/types/params.js"; //#region src/cosmos/consensus/v1/query.d.ts /** * QueryParamsRequest defines the request type for querying x/consensus parameters. * @name QueryParamsRequest * @package cosmos.consensus.v1 * @see proto type: cosmos.consensus.v1.QueryParamsRequest */ interface QueryParamsRequest {} interface QueryParamsRequestProtoMsg { typeUrl: "/cosmos.consensus.v1.QueryParamsRequest"; value: Uint8Array; } /** * QueryParamsRequest defines the request type for querying x/consensus parameters. * @name QueryParamsRequestAmino * @package cosmos.consensus.v1 * @see proto type: cosmos.consensus.v1.QueryParamsRequest */ interface QueryParamsRequestAmino {} interface QueryParamsRequestAminoMsg { type: "cosmos-sdk/QueryParamsRequest"; value: QueryParamsRequestAmino; } /** * QueryParamsResponse defines the response type for querying x/consensus parameters. * @name QueryParamsResponse * @package cosmos.consensus.v1 * @see proto type: cosmos.consensus.v1.QueryParamsResponse */ interface QueryParamsResponse { /** * params are the tendermint consensus params stored in the consensus module. * Please note that `params.version` is not populated in this response, it is * tracked separately in the x/upgrade module. */ params?: ConsensusParams; } interface QueryParamsResponseProtoMsg { typeUrl: "/cosmos.consensus.v1.QueryParamsResponse"; value: Uint8Array; } /** * QueryParamsResponse defines the response type for querying x/consensus parameters. * @name QueryParamsResponseAmino * @package cosmos.consensus.v1 * @see proto type: cosmos.consensus.v1.QueryParamsResponse */ interface QueryParamsResponseAmino { /** * params are the tendermint consensus params stored in the consensus module. * Please note that `params.version` is not populated in this response, it is * tracked separately in the x/upgrade module. */ params?: ConsensusParamsAmino; } interface QueryParamsResponseAminoMsg { type: "cosmos-sdk/QueryParamsResponse"; value: QueryParamsResponseAmino; } /** * QueryParamsRequest defines the request type for querying x/consensus parameters. * @name QueryParamsRequest * @package cosmos.consensus.v1 * @see proto type: cosmos.consensus.v1.QueryParamsRequest */ declare const QueryParamsRequest: { typeUrl: string; aminoType: string; is(o: any): o is QueryParamsRequest; isAmino(o: any): o is QueryParamsRequestAmino; encode(_: QueryParamsRequest, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): QueryParamsRequest; fromPartial(_: DeepPartial): QueryParamsRequest; fromAmino(_: QueryParamsRequestAmino): QueryParamsRequest; toAmino(_: QueryParamsRequest): QueryParamsRequestAmino; fromAminoMsg(object: QueryParamsRequestAminoMsg): QueryParamsRequest; toAminoMsg(message: QueryParamsRequest): QueryParamsRequestAminoMsg; fromProtoMsg(message: QueryParamsRequestProtoMsg): QueryParamsRequest; toProto(message: QueryParamsRequest): Uint8Array; toProtoMsg(message: QueryParamsRequest): QueryParamsRequestProtoMsg; registerTypeUrl(): void; }; /** * QueryParamsResponse defines the response type for querying x/consensus parameters. * @name QueryParamsResponse * @package cosmos.consensus.v1 * @see proto type: cosmos.consensus.v1.QueryParamsResponse */ declare const QueryParamsResponse: { typeUrl: string; aminoType: string; is(o: any): o is QueryParamsResponse; isAmino(o: any): o is QueryParamsResponseAmino; encode(message: QueryParamsResponse, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): QueryParamsResponse; fromPartial(object: DeepPartial): QueryParamsResponse; fromAmino(object: QueryParamsResponseAmino): QueryParamsResponse; toAmino(message: QueryParamsResponse): QueryParamsResponseAmino; fromAminoMsg(object: QueryParamsResponseAminoMsg): QueryParamsResponse; toAminoMsg(message: QueryParamsResponse): QueryParamsResponseAminoMsg; fromProtoMsg(message: QueryParamsResponseProtoMsg): QueryParamsResponse; toProto(message: QueryParamsResponse): Uint8Array; toProtoMsg(message: QueryParamsResponse): QueryParamsResponseProtoMsg; registerTypeUrl(): void; }; //#endregion export { QueryParamsRequest, QueryParamsRequestAmino, QueryParamsRequestAminoMsg, QueryParamsRequestProtoMsg, QueryParamsResponse, QueryParamsResponseAmino, QueryParamsResponseAminoMsg, QueryParamsResponseProtoMsg };