import { ConsensusParams, ConsensusParamsAmino } from "../../../tendermint/types/params"; import { BinaryReader, BinaryWriter } from "../../../binary"; import { DeepPartial } from "../../../helpers"; /** * QueryParamsRequest defines the request type for querying x/consensus parameters. * @name QueryParamsRequest * @package cosmos.consensus.v1 * @see proto type: cosmos.consensus.v1.QueryParamsRequest */ export interface QueryParamsRequest { } export 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 */ export interface QueryParamsRequestAmino { } export 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 */ export 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; } export 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 */ export 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; } export 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 */ export 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 */ export 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; };