import { ParamChange, ParamChangeAmino } from "./params"; import { BinaryReader, BinaryWriter } from "../../../binary"; import { TxRpc } from "../../../types"; export declare const protobufPackage = "cosmos.params.v1beta1"; /** QueryParamsRequest is request type for the Query/Params RPC method. */ export interface QueryParamsRequest { /** subspace defines the module to query the parameter for. */ subspace: string; /** key defines the key of the parameter in the subspace. */ key: string; } export interface QueryParamsRequestProtoMsg { typeUrl: "/cosmos.params.v1beta1.QueryParamsRequest"; value: Uint8Array; } /** QueryParamsRequest is request type for the Query/Params RPC method. */ export interface QueryParamsRequestAmino { /** subspace defines the module to query the parameter for. */ subspace?: string; /** key defines the key of the parameter in the subspace. */ key?: string; } export interface QueryParamsRequestAminoMsg { type: "cosmos-sdk/QueryParamsRequest"; value: QueryParamsRequestAmino; } /** QueryParamsResponse is response type for the Query/Params RPC method. */ export interface QueryParamsResponse { /** param defines the queried parameter. */ param: ParamChange | undefined; } export interface QueryParamsResponseProtoMsg { typeUrl: "/cosmos.params.v1beta1.QueryParamsResponse"; value: Uint8Array; } /** QueryParamsResponse is response type for the Query/Params RPC method. */ export interface QueryParamsResponseAmino { /** param defines the queried parameter. */ param?: ParamChangeAmino | undefined; } export interface QueryParamsResponseAminoMsg { type: "cosmos-sdk/QueryParamsResponse"; value: QueryParamsResponseAmino; } export declare const QueryParamsRequest: { typeUrl: string; aminoType: string; is(o: any): o is QueryParamsRequest; isAmino(o: any): o is QueryParamsRequestAmino; encode(message: QueryParamsRequest, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): QueryParamsRequest; fromJSON(object: any): QueryParamsRequest; toJSON(message: QueryParamsRequest): unknown; fromPartial(object: Partial): QueryParamsRequest; fromAmino(object: QueryParamsRequestAmino): QueryParamsRequest; toAmino(message: QueryParamsRequest): QueryParamsRequestAmino; fromAminoMsg(object: QueryParamsRequestAminoMsg): QueryParamsRequest; toAminoMsg(message: QueryParamsRequest): QueryParamsRequestAminoMsg; fromProtoMsg(message: QueryParamsRequestProtoMsg): QueryParamsRequest; toProto(message: QueryParamsRequest): Uint8Array; toProtoMsg(message: QueryParamsRequest): QueryParamsRequestProtoMsg; }; 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; fromJSON(object: any): QueryParamsResponse; toJSON(message: QueryParamsResponse): unknown; fromPartial(object: Partial): 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; }; /** Query defines the gRPC querier service. */ export interface Query { /** * Params queries a specific parameter of a module, given its subspace and * key. */ Params(request: QueryParamsRequest): Promise; } export declare class QueryClientImpl implements Query { private readonly rpc; constructor(rpc: TxRpc); Params(request: QueryParamsRequest): Promise; }