import { Rpc } from "../../../helpers"; import { QueryClient } from "@cosmjs/stargate"; import { QueryAccountsRequest, QueryAccountsResponse, QueryAccountRequest, QueryAccountResponse, QueryParamsRequest, QueryParamsResponse, QueryModuleAccountsRequest, QueryModuleAccountsResponse, Bech32PrefixRequest, Bech32PrefixResponse, AddressBytesToStringRequest, AddressBytesToStringResponse, AddressStringToBytesRequest, AddressStringToBytesResponse } from "./query"; /** Query defines the gRPC querier service. */ export interface Query { /** * Accounts returns all the existing accounts * * Since: cosmos-sdk 0.43 */ accounts(request?: QueryAccountsRequest): Promise; /** Account returns account details based on address. */ account(request: QueryAccountRequest): Promise; /** Params queries all parameters. */ params(request?: QueryParamsRequest): Promise; /** ModuleAccounts returns all the existing module accounts. */ moduleAccounts(request?: QueryModuleAccountsRequest): Promise; /** Bech32 queries bech32Prefix */ bech32Prefix(request?: Bech32PrefixRequest): Promise; /** AddressBytesToString converts Account Address bytes to string */ addressBytesToString(request: AddressBytesToStringRequest): Promise; /** AddressStringToBytes converts Address string to bytes */ addressStringToBytes(request: AddressStringToBytesRequest): Promise; } export declare class QueryClientImpl implements Query { private readonly rpc; constructor(rpc: Rpc); accounts(request?: QueryAccountsRequest): Promise; account(request: QueryAccountRequest): Promise; params(request?: QueryParamsRequest): Promise; moduleAccounts(request?: QueryModuleAccountsRequest): Promise; bech32Prefix(request?: Bech32PrefixRequest): Promise; addressBytesToString(request: AddressBytesToStringRequest): Promise; addressStringToBytes(request: AddressStringToBytesRequest): Promise; } export declare const createRpcQueryExtension: (base: QueryClient) => { accounts(request?: QueryAccountsRequest): Promise; account(request: QueryAccountRequest): Promise; params(request?: QueryParamsRequest): Promise; moduleAccounts(request?: QueryModuleAccountsRequest): Promise; bech32Prefix(request?: Bech32PrefixRequest): Promise; addressBytesToString(request: AddressBytesToStringRequest): Promise; addressStringToBytes(request: AddressStringToBytesRequest): Promise; };