import { ConsensusParams } from "../../../tendermint/types/params"; import { BinaryReader, BinaryWriter } from "../../../binary"; import { JsonSafe } from "../../../json-safe"; import { DeepPartial, Exact, Rpc } from "../../../helpers"; export declare const protobufPackage = "cosmos.consensus.v1"; /** QueryParamsRequest defines the request type for querying x/consensus parameters. */ export interface QueryParamsRequest { } /** QueryParamsResponse defines the response type for querying x/consensus parameters. */ 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 declare const QueryParamsRequest: { typeUrl: string; encode(_: QueryParamsRequest, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): QueryParamsRequest; fromJSON(_: any): QueryParamsRequest; toJSON(_: QueryParamsRequest): JsonSafe; fromPartial, I>>(_: I): QueryParamsRequest; }; export declare const QueryParamsResponse: { typeUrl: string; encode(message: QueryParamsResponse, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): QueryParamsResponse; fromJSON(object: any): QueryParamsResponse; toJSON(message: QueryParamsResponse): JsonSafe; fromPartial, I>>(object: I): QueryParamsResponse; }; /** Query defines the gRPC querier service. */ export interface Query { /** Params queries the parameters of x/consensus module. */ Params(request?: QueryParamsRequest): Promise; } export declare class QueryClientImpl implements Query { private readonly rpc; constructor(rpc: Rpc); Params(request?: QueryParamsRequest): Promise; }