import { Reader, Writer } from 'protobufjs/minimal'; /** * ListAllInterfacesRequest is the request type of the ListAllInterfaces RPC. */ export interface ListAllInterfacesRequest { } /** * ListAllInterfacesResponse is the response type of the ListAllInterfaces RPC. */ export interface ListAllInterfacesResponse { /** * interface_names is an array of all the registered interfaces. */ interfaceNames: 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; } /** * ListImplementationsResponse is the response type of the ListImplementations * RPC. */ export interface ListImplementationsResponse { implementationMessageNames: string[]; } /** * 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; } interface Rpc { request(service: string, method: string, data: Uint8Array): Promise; } export declare const protobufPackage = "cosmos.base.reflection.v1beta1"; export declare const ListAllInterfacesRequest: { encode(_: ListAllInterfacesRequest, writer?: Writer): Writer; decode(input: Uint8Array | Reader, length?: number | undefined): ListAllInterfacesRequest; fromJSON(_: any): ListAllInterfacesRequest; fromPartial(_: DeepPartial): ListAllInterfacesRequest; toJSON(_: ListAllInterfacesRequest): unknown; }; export declare const ListAllInterfacesResponse: { encode(message: ListAllInterfacesResponse, writer?: Writer): Writer; decode(input: Uint8Array | Reader, length?: number | undefined): ListAllInterfacesResponse; fromJSON(object: any): ListAllInterfacesResponse; fromPartial(object: DeepPartial): ListAllInterfacesResponse; toJSON(message: ListAllInterfacesResponse): unknown; }; export declare const ListImplementationsRequest: { encode(message: ListImplementationsRequest, writer?: Writer): Writer; decode(input: Uint8Array | Reader, length?: number | undefined): ListImplementationsRequest; fromJSON(object: any): ListImplementationsRequest; fromPartial(object: DeepPartial): ListImplementationsRequest; toJSON(message: ListImplementationsRequest): unknown; }; export declare const ListImplementationsResponse: { encode(message: ListImplementationsResponse, writer?: Writer): Writer; decode(input: Uint8Array | Reader, length?: number | undefined): ListImplementationsResponse; fromJSON(object: any): ListImplementationsResponse; fromPartial(object: DeepPartial): ListImplementationsResponse; toJSON(message: ListImplementationsResponse): unknown; }; declare type Builtin = Date | Function | Uint8Array | string | number | undefined; export declare type DeepPartial = T extends Builtin ? T : T extends Array ? Array> : T extends ReadonlyArray ? ReadonlyArray> : T extends {} ? { [K in keyof T]?: DeepPartial; } : Partial; export {};