import { Config } from "./config"; import Long from "long"; import _m0 from "protobufjs/minimal"; export declare const protobufPackage = "cosmos.app.v1alpha1"; /** QueryConfigRequest is the Query/Config request type. */ export interface QueryConfigRequest { } /** QueryConfigRequest is the Query/Config response type. */ export interface QueryConfigResponse { /** config is the current app config. */ config?: Config; } export declare const QueryConfigRequest: { encode(_: QueryConfigRequest, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): QueryConfigRequest; fromJSON(_: any): QueryConfigRequest; toJSON(_: QueryConfigRequest): unknown; fromPartial, never>>(_: I): QueryConfigRequest; }; export declare const QueryConfigResponse: { encode(message: QueryConfigResponse, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): QueryConfigResponse; fromJSON(object: any): QueryConfigResponse; toJSON(message: QueryConfigResponse): unknown; fromPartial, never>; golangBindings?: { interfaceType?: string; implementation?: string; }[] & ({ interfaceType?: string; implementation?: string; } & { interfaceType?: string; implementation?: string; } & Record, never>)[] & Record, never>; } & Record, never>)[] & Record, never>; golangBindings?: { interfaceType?: string; implementation?: string; }[] & ({ interfaceType?: string; implementation?: string; } & { interfaceType?: string; implementation?: string; } & Record, never>)[] & Record, never>; } & Record, never>; } & Record, never>>(object: I): QueryConfigResponse; }; /** Query is the app module query service. */ export interface Query { /** Config returns the current app config. */ Config(request: QueryConfigRequest): Promise; } export declare class QueryClientImpl implements Query { private readonly rpc; constructor(rpc: Rpc); Config(request: QueryConfigRequest): Promise; } interface Rpc { request(service: string, method: string, data: Uint8Array): Promise; } declare type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined; export declare type DeepPartial = T extends Builtin ? T : T extends Long ? string | number | Long : T extends Array ? Array> : T extends ReadonlyArray ? ReadonlyArray> : T extends {} ? { [K in keyof T]?: DeepPartial; } : Partial; declare type KeysOfUnion = T extends T ? keyof T : never; export declare type Exact = P extends Builtin ? P : P & { [K in keyof P]: Exact; } & Record>, never>; export {}; //# sourceMappingURL=query.d.ts.map