import * as _m0 from "protobufjs/minimal"; import { Rpc } from "../../../../helpers"; export declare const protobufPackage = "cosmos.base.reflection.v1beta1"; /** ListAllInterfacesRequest is the request type of the ListAllInterfaces RPC. */ export interface ListAllInterfacesRequest { } /** ListAllInterfacesRequest is the request type of the ListAllInterfaces RPC. */ export interface ListAllInterfacesRequestSDKType { } /** ListAllInterfacesResponse is the response type of the ListAllInterfaces RPC. */ export interface ListAllInterfacesResponse { /** interface_names is an array of all the registered interfaces. */ interfaceNames: string[]; } /** ListAllInterfacesResponse is the response type of the ListAllInterfaces RPC. */ export interface ListAllInterfacesResponseSDKType { interface_names: string[]; } /** * ListImplementationsRequest is the request type of the ListImplementations * RPC. */ export interface ListImplementationsRequest { /** interface_name defines the interface to query the implementations for. */ interfaceName: string; } /** * ListImplementationsRequest is the request type of the ListImplementations * RPC. */ export interface ListImplementationsRequestSDKType { interface_name: string; } /** * ListImplementationsResponse is the response type of the ListImplementations * RPC. */ export interface ListImplementationsResponse { implementationMessageNames: string[]; } /** * ListImplementationsResponse is the response type of the ListImplementations * RPC. */ export interface ListImplementationsResponseSDKType { implementation_message_names: string[]; } export declare const ListAllInterfacesRequest: { encode(_: ListAllInterfacesRequest, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): ListAllInterfacesRequest; fromJSON(_: any): ListAllInterfacesRequest; toJSON(_: ListAllInterfacesRequest): unknown; fromPartial, never>>(_: I): ListAllInterfacesRequest; fromSDK(_: ListAllInterfacesRequestSDKType): ListAllInterfacesRequest; toSDK(_: ListAllInterfacesRequest): ListAllInterfacesRequestSDKType; }; export declare const ListAllInterfacesResponse: { encode(message: ListAllInterfacesResponse, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): ListAllInterfacesResponse; fromJSON(object: any): ListAllInterfacesResponse; toJSON(message: ListAllInterfacesResponse): unknown; fromPartial, never>) | undefined; } & Record, never>>(object: I): ListAllInterfacesResponse; fromSDK(object: ListAllInterfacesResponseSDKType): ListAllInterfacesResponse; toSDK(message: ListAllInterfacesResponse): ListAllInterfacesResponseSDKType; }; export declare const ListImplementationsRequest: { encode(message: ListImplementationsRequest, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): ListImplementationsRequest; fromJSON(object: any): ListImplementationsRequest; toJSON(message: ListImplementationsRequest): unknown; fromPartial, never>>(object: I): ListImplementationsRequest; fromSDK(object: ListImplementationsRequestSDKType): ListImplementationsRequest; toSDK(message: ListImplementationsRequest): ListImplementationsRequestSDKType; }; export declare const ListImplementationsResponse: { encode(message: ListImplementationsResponse, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): ListImplementationsResponse; fromJSON(object: any): ListImplementationsResponse; toJSON(message: ListImplementationsResponse): unknown; fromPartial, never>) | undefined; } & Record, never>>(object: I): ListImplementationsResponse; fromSDK(object: ListImplementationsResponseSDKType): ListImplementationsResponse; toSDK(message: ListImplementationsResponse): ListImplementationsResponseSDKType; }; /** ReflectionService defines a service for interface reflection. */ export interface ReflectionService { /** * ListAllInterfaces lists all the interfaces registered in the interface * registry. */ ListAllInterfaces(request?: ListAllInterfacesRequest): Promise; /** * ListImplementations list all the concrete types that implement a given * interface. */ ListImplementations(request: ListImplementationsRequest): Promise; } export declare class ReflectionServiceClientImpl implements ReflectionService { private readonly rpc; constructor(rpc: Rpc); ListAllInterfaces(request?: ListAllInterfacesRequest): Promise; ListImplementations(request: ListImplementationsRequest): Promise; }