import { Order, Counterparty } from '../../channel/v1/channel'; import Long from 'long'; import _m0 from 'protobufjs/minimal'; export declare const protobufPackage = "ibc.core.port.v1"; /** QueryAppVersionRequest is the request type for the Query/AppVersion RPC method */ export interface QueryAppVersionRequest { $type: 'ibc.core.port.v1.QueryAppVersionRequest'; /** port unique identifier */ portId: string; /** connection unique identifier */ connectionId: string; /** whether the channel is ordered or unordered */ ordering: Order; /** counterparty channel end */ counterparty?: Counterparty; /** proposed version */ proposedVersion: string; } /** QueryAppVersionResponse is the response type for the Query/AppVersion RPC method. */ export interface QueryAppVersionResponse { $type: 'ibc.core.port.v1.QueryAppVersionResponse'; /** port id associated with the request identifiers */ portId: string; /** supported app version */ version: string; } export declare const QueryAppVersionRequest: { $type: "ibc.core.port.v1.QueryAppVersionRequest"; encode(message: QueryAppVersionRequest, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): QueryAppVersionRequest; fromJSON(object: any): QueryAppVersionRequest; toJSON(message: QueryAppVersionRequest): unknown; fromPartial]: never; }) | undefined; connectionId?: string | undefined; proposedVersion?: string | undefined; } & { [K_1 in Exclude]: never; }>(object: I): QueryAppVersionRequest; }; export declare const QueryAppVersionResponse: { $type: "ibc.core.port.v1.QueryAppVersionResponse"; encode(message: QueryAppVersionResponse, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): QueryAppVersionResponse; fromJSON(object: any): QueryAppVersionResponse; toJSON(message: QueryAppVersionResponse): unknown; fromPartial]: never; }>(object: I): QueryAppVersionResponse; }; /** Query defines the gRPC querier service */ export interface Query { /** AppVersion queries an IBC Port and determines the appropriate application version to be used */ AppVersion(request: QueryAppVersionRequest): Promise; } export declare class QueryClientImpl implements Query { private readonly rpc; constructor(rpc: Rpc); AppVersion(request: QueryAppVersionRequest): 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 Exclude]?: 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; } & { [K in Exclude | '$type'>]: never; }; export {};