import Long from "long"; import * as _m0 from "protobufjs/minimal"; export declare const protobufPackage = "akash.icaauth"; /** QueryInterchainAccountFromAddressRequest is the request type for the Query/InterchainAccountAddress RPC */ export interface QueryInterchainAccountFromAddressRequest { $type: "akash.icaauth.QueryInterchainAccountFromAddressRequest"; owner: string; connectionId: string; } /** QueryInterchainAccountFromAddressResponse the response type for the Query/InterchainAccountAddress RPC */ export interface QueryInterchainAccountFromAddressResponse { $type: "akash.icaauth.QueryInterchainAccountFromAddressResponse"; interchainAccountAddress: string; } export declare const QueryInterchainAccountFromAddressRequest: { $type: "akash.icaauth.QueryInterchainAccountFromAddressRequest"; encode(message: QueryInterchainAccountFromAddressRequest, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): QueryInterchainAccountFromAddressRequest; fromJSON(object: any): QueryInterchainAccountFromAddressRequest; toJSON(message: QueryInterchainAccountFromAddressRequest): unknown; fromPartial, I>>(object: I): QueryInterchainAccountFromAddressRequest; }; export declare const QueryInterchainAccountFromAddressResponse: { $type: "akash.icaauth.QueryInterchainAccountFromAddressResponse"; encode(message: QueryInterchainAccountFromAddressResponse, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): QueryInterchainAccountFromAddressResponse; fromJSON(object: any): QueryInterchainAccountFromAddressResponse; toJSON(message: QueryInterchainAccountFromAddressResponse): unknown; fromPartial, I>>(object: I): QueryInterchainAccountFromAddressResponse; }; /** Query defines the gRPC querier service. */ export interface Query { /** QueryInterchainAccountFromAddress returns the interchain account for given owner address on a given connection pair */ InterchainAccountFromAddress(request: QueryInterchainAccountFromAddressRequest): Promise; } export declare class QueryClientImpl implements Query { private readonly rpc; constructor(rpc: Rpc); InterchainAccountFromAddress(request: QueryInterchainAccountFromAddressRequest): Promise; } interface Rpc { request(service: string, method: string, data: Uint8Array): 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 Array ? Array> : T extends ReadonlyArray ? ReadonlyArray> : T extends {} ? { [K in Exclude]?: DeepPartial; } : Partial; type KeysOfUnion = T extends T ? keyof T : never; export type Exact = P extends Builtin ? P : P & { [K in keyof P]: Exact; } & Record | "$type">, never>; export {};