import { grpc } from "@improbable-eng/grpc-web"; import Long from "long"; import _m0 from "protobufjs/minimal"; import { Params } from "./controller"; export declare const protobufPackage = "ibc.applications.interchain_accounts.controller.v1"; /** QueryInterchainAccountRequest is the request type for the Query/InterchainAccount RPC method. */ export interface QueryInterchainAccountRequest { owner: string; connectionId: string; } /** QueryInterchainAccountResponse the response type for the Query/InterchainAccount RPC method. */ export interface QueryInterchainAccountResponse { address: string; } /** QueryParamsRequest is the request type for the Query/Params RPC method. */ export interface QueryParamsRequest { } /** QueryParamsResponse is the response type for the Query/Params RPC method. */ export interface QueryParamsResponse { /** params defines the parameters of the module. */ params: Params | undefined; } export declare const QueryInterchainAccountRequest: { encode(message: QueryInterchainAccountRequest, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): QueryInterchainAccountRequest; fromJSON(object: any): QueryInterchainAccountRequest; toJSON(message: QueryInterchainAccountRequest): unknown; create(base?: DeepPartial): QueryInterchainAccountRequest; fromPartial(object: DeepPartial): QueryInterchainAccountRequest; }; export declare const QueryInterchainAccountResponse: { encode(message: QueryInterchainAccountResponse, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): QueryInterchainAccountResponse; fromJSON(object: any): QueryInterchainAccountResponse; toJSON(message: QueryInterchainAccountResponse): unknown; create(base?: DeepPartial): QueryInterchainAccountResponse; fromPartial(object: DeepPartial): QueryInterchainAccountResponse; }; export declare const QueryParamsRequest: { encode(_: QueryParamsRequest, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): QueryParamsRequest; fromJSON(_: any): QueryParamsRequest; toJSON(_: QueryParamsRequest): unknown; create(base?: DeepPartial): QueryParamsRequest; fromPartial(_: DeepPartial): QueryParamsRequest; }; export declare const QueryParamsResponse: { encode(message: QueryParamsResponse, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): QueryParamsResponse; fromJSON(object: any): QueryParamsResponse; toJSON(message: QueryParamsResponse): unknown; create(base?: DeepPartial): QueryParamsResponse; fromPartial(object: DeepPartial): QueryParamsResponse; }; /** Query provides defines the gRPC querier service. */ export interface Query { /** InterchainAccount returns the interchain account address for a given owner address on a given connection */ InterchainAccount(request: DeepPartial, metadata?: grpc.Metadata): Promise; /** Params queries all parameters of the ICA controller submodule. */ Params(request: DeepPartial, metadata?: grpc.Metadata): Promise; } export declare class QueryClientImpl implements Query { private readonly rpc; constructor(rpc: Rpc); InterchainAccount(request: DeepPartial, metadata?: grpc.Metadata): Promise; Params(request: DeepPartial, metadata?: grpc.Metadata): Promise; } export declare const QueryDesc: { serviceName: string; }; export declare const QueryInterchainAccountDesc: UnaryMethodDefinitionish; export declare const QueryParamsDesc: UnaryMethodDefinitionish; interface UnaryMethodDefinitionishR extends grpc.UnaryMethodDefinition { requestStream: any; responseStream: any; } type UnaryMethodDefinitionish = UnaryMethodDefinitionishR; interface Rpc { unary(methodDesc: T, request: any, metadata: grpc.Metadata | undefined): Promise; } export declare class GrpcWebImpl { private host; private options; constructor(host: string, options: { transport?: grpc.TransportFactory; debug?: boolean; metadata?: grpc.Metadata; upStreamRetryCodes?: number[]; }); unary(methodDesc: T, _request: any, metadata: grpc.Metadata | undefined): Promise; } type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined; export type DeepPartial = T extends Builtin ? T : T extends Long ? string | number | Long : T extends globalThis.Array ? globalThis.Array> : T extends ReadonlyArray ? ReadonlyArray> : T extends {} ? { [K in keyof T]?: DeepPartial; } : Partial; export declare class GrpcWebError extends globalThis.Error { code: grpc.Code; metadata: grpc.Metadata; constructor(message: string, code: grpc.Code, metadata: grpc.Metadata); } export {};