import { PageRequest, PageRequestSDKType, PageResponse, PageResponseSDKType } from "../../base/query/v1beta1/pagination"; import { Any, AnySDKType } from "../../../google/protobuf/any"; import { Params, ParamsSDKType } from "./auth"; import * as _m0 from "protobufjs/minimal"; import { DeepPartial } from "@osmonauts/helpers"; /** * QueryAccountsRequest is the request type for the Query/Accounts RPC method. * * Since: cosmos-sdk 0.43 */ export interface QueryAccountsRequest { /** pagination defines an optional pagination for the request. */ pagination?: PageRequest; } /** * QueryAccountsRequest is the request type for the Query/Accounts RPC method. * * Since: cosmos-sdk 0.43 */ export interface QueryAccountsRequestSDKType { /** pagination defines an optional pagination for the request. */ pagination?: PageRequestSDKType; } /** * QueryAccountsResponse is the response type for the Query/Accounts RPC method. * * Since: cosmos-sdk 0.43 */ export interface QueryAccountsResponse { /** accounts are the existing accounts */ accounts: Any[]; /** pagination defines the pagination in the response. */ pagination?: PageResponse; } /** * QueryAccountsResponse is the response type for the Query/Accounts RPC method. * * Since: cosmos-sdk 0.43 */ export interface QueryAccountsResponseSDKType { /** accounts are the existing accounts */ accounts: AnySDKType[]; /** pagination defines the pagination in the response. */ pagination?: PageResponseSDKType; } /** QueryAccountRequest is the request type for the Query/Account RPC method. */ export interface QueryAccountRequest { /** address defines the address to query for. */ address: string; } /** QueryAccountRequest is the request type for the Query/Account RPC method. */ export interface QueryAccountRequestSDKType { /** address defines the address to query for. */ address: string; } /** QueryAccountResponse is the response type for the Query/Account RPC method. */ export interface QueryAccountResponse { /** account defines the account of the corresponding address. */ account: Any; } /** QueryAccountResponse is the response type for the Query/Account RPC method. */ export interface QueryAccountResponseSDKType { /** account defines the account of the corresponding address. */ account: AnySDKType; } /** QueryParamsRequest is the request type for the Query/Params RPC method. */ export interface QueryParamsRequest { } /** QueryParamsRequest is the request type for the Query/Params RPC method. */ export interface QueryParamsRequestSDKType { } /** QueryParamsResponse is the response type for the Query/Params RPC method. */ export interface QueryParamsResponse { /** params defines the parameters of the module. */ params: Params; } /** QueryParamsResponse is the response type for the Query/Params RPC method. */ export interface QueryParamsResponseSDKType { /** params defines the parameters of the module. */ params: ParamsSDKType; } /** QueryModuleAccountByNameRequest is the request type for the Query/ModuleAccountByName RPC method. */ export interface QueryModuleAccountByNameRequest { name: string; } /** QueryModuleAccountByNameRequest is the request type for the Query/ModuleAccountByName RPC method. */ export interface QueryModuleAccountByNameRequestSDKType { name: string; } /** QueryModuleAccountByNameResponse is the response type for the Query/ModuleAccountByName RPC method. */ export interface QueryModuleAccountByNameResponse { account: Any; } /** QueryModuleAccountByNameResponse is the response type for the Query/ModuleAccountByName RPC method. */ export interface QueryModuleAccountByNameResponseSDKType { account: AnySDKType; } export declare const QueryAccountsRequest: { encode(message: QueryAccountsRequest, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): QueryAccountsRequest; fromPartial(object: DeepPartial): QueryAccountsRequest; }; export declare const QueryAccountsResponse: { encode(message: QueryAccountsResponse, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): QueryAccountsResponse; fromPartial(object: DeepPartial): QueryAccountsResponse; }; export declare const QueryAccountRequest: { encode(message: QueryAccountRequest, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): QueryAccountRequest; fromPartial(object: DeepPartial): QueryAccountRequest; }; export declare const QueryAccountResponse: { encode(message: QueryAccountResponse, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): QueryAccountResponse; fromPartial(object: DeepPartial): QueryAccountResponse; }; export declare const QueryParamsRequest: { encode(_: QueryParamsRequest, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): QueryParamsRequest; fromPartial(_: DeepPartial): QueryParamsRequest; }; export declare const QueryParamsResponse: { encode(message: QueryParamsResponse, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): QueryParamsResponse; fromPartial(object: DeepPartial): QueryParamsResponse; }; export declare const QueryModuleAccountByNameRequest: { encode(message: QueryModuleAccountByNameRequest, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): QueryModuleAccountByNameRequest; fromPartial(object: DeepPartial): QueryModuleAccountByNameRequest; }; export declare const QueryModuleAccountByNameResponse: { encode(message: QueryModuleAccountByNameResponse, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): QueryModuleAccountByNameResponse; fromPartial(object: DeepPartial): QueryModuleAccountByNameResponse; };