import Long from 'long'; import _m0 from 'protobufjs/minimal'; export declare const protobufPackage = "cosmos.base.reflection.v2alpha1"; /** Since: cosmos-sdk 0.43 */ /** AppDescriptor describes a cosmos-sdk based application */ export interface AppDescriptor { $type: 'cosmos.base.reflection.v2alpha1.AppDescriptor'; /** * AuthnDescriptor provides information on how to authenticate transactions on the application * NOTE: experimental and subject to change in future releases. */ authn?: AuthnDescriptor; /** chain provides the chain descriptor */ chain?: ChainDescriptor; /** codec provides metadata information regarding codec related types */ codec?: CodecDescriptor; /** configuration provides metadata information regarding the sdk.Config type */ configuration?: ConfigurationDescriptor; /** query_services provides metadata information regarding the available queriable endpoints */ queryServices?: QueryServicesDescriptor; /** tx provides metadata information regarding how to send transactions to the given application */ tx?: TxDescriptor; } /** TxDescriptor describes the accepted transaction type */ export interface TxDescriptor { $type: 'cosmos.base.reflection.v2alpha1.TxDescriptor'; /** * fullname is the protobuf fullname of the raw transaction type (for instance the tx.Tx type) * it is not meant to support polymorphism of transaction types, it is supposed to be used by * reflection clients to understand if they can handle a specific transaction type in an application. */ fullname: string; /** msgs lists the accepted application messages (sdk.Msg) */ msgs: MsgDescriptor[]; } /** * AuthnDescriptor provides information on how to sign transactions without relying * on the online RPCs GetTxMetadata and CombineUnsignedTxAndSignatures */ export interface AuthnDescriptor { $type: 'cosmos.base.reflection.v2alpha1.AuthnDescriptor'; /** sign_modes defines the supported signature algorithm */ signModes: SigningModeDescriptor[]; } /** * SigningModeDescriptor provides information on a signing flow of the application * NOTE(fdymylja): here we could go as far as providing an entire flow on how * to sign a message given a SigningModeDescriptor, but it's better to think about * this another time */ export interface SigningModeDescriptor { $type: 'cosmos.base.reflection.v2alpha1.SigningModeDescriptor'; /** name defines the unique name of the signing mode */ name: string; /** number is the unique int32 identifier for the sign_mode enum */ number: number; /** * authn_info_provider_method_fullname defines the fullname of the method to call to get * the metadata required to authenticate using the provided sign_modes */ authnInfoProviderMethodFullname: string; } /** ChainDescriptor describes chain information of the application */ export interface ChainDescriptor { $type: 'cosmos.base.reflection.v2alpha1.ChainDescriptor'; /** id is the chain id */ id: string; } /** CodecDescriptor describes the registered interfaces and provides metadata information on the types */ export interface CodecDescriptor { $type: 'cosmos.base.reflection.v2alpha1.CodecDescriptor'; /** interfaces is a list of the registerted interfaces descriptors */ interfaces: InterfaceDescriptor[]; } /** InterfaceDescriptor describes the implementation of an interface */ export interface InterfaceDescriptor { $type: 'cosmos.base.reflection.v2alpha1.InterfaceDescriptor'; /** fullname is the name of the interface */ fullname: string; /** * interface_accepting_messages contains information regarding the proto messages which contain the interface as * google.protobuf.Any field */ interfaceAcceptingMessages: InterfaceAcceptingMessageDescriptor[]; /** interface_implementers is a list of the descriptors of the interface implementers */ interfaceImplementers: InterfaceImplementerDescriptor[]; } /** InterfaceImplementerDescriptor describes an interface implementer */ export interface InterfaceImplementerDescriptor { $type: 'cosmos.base.reflection.v2alpha1.InterfaceImplementerDescriptor'; /** fullname is the protobuf queryable name of the interface implementer */ fullname: string; /** * type_url defines the type URL used when marshalling the type as any * this is required so we can provide type safe google.protobuf.Any marshalling and * unmarshalling, making sure that we don't accept just 'any' type * in our interface fields */ typeUrl: string; } /** * InterfaceAcceptingMessageDescriptor describes a protobuf message which contains * an interface represented as a google.protobuf.Any */ export interface InterfaceAcceptingMessageDescriptor { $type: 'cosmos.base.reflection.v2alpha1.InterfaceAcceptingMessageDescriptor'; /** fullname is the protobuf fullname of the type containing the interface */ fullname: string; /** * field_descriptor_names is a list of the protobuf name (not fullname) of the field * which contains the interface as google.protobuf.Any (the interface is the same, but * it can be in multiple fields of the same proto message) */ fieldDescriptorNames: string[]; } /** ConfigurationDescriptor contains metadata information on the sdk.Config */ export interface ConfigurationDescriptor { $type: 'cosmos.base.reflection.v2alpha1.ConfigurationDescriptor'; /** bech32_account_address_prefix is the account address prefix */ bech32AccountAddressPrefix: string; } /** MsgDescriptor describes a cosmos-sdk message that can be delivered with a transaction */ export interface MsgDescriptor { $type: 'cosmos.base.reflection.v2alpha1.MsgDescriptor'; /** msg_type_url contains the TypeURL of a sdk.Msg. */ msgTypeUrl: string; } /** GetAuthnDescriptorRequest is the request used for the GetAuthnDescriptor RPC */ export interface GetAuthnDescriptorRequest { $type: 'cosmos.base.reflection.v2alpha1.GetAuthnDescriptorRequest'; } /** GetAuthnDescriptorResponse is the response returned by the GetAuthnDescriptor RPC */ export interface GetAuthnDescriptorResponse { $type: 'cosmos.base.reflection.v2alpha1.GetAuthnDescriptorResponse'; /** authn describes how to authenticate to the application when sending transactions */ authn?: AuthnDescriptor; } /** GetChainDescriptorRequest is the request used for the GetChainDescriptor RPC */ export interface GetChainDescriptorRequest { $type: 'cosmos.base.reflection.v2alpha1.GetChainDescriptorRequest'; } /** GetChainDescriptorResponse is the response returned by the GetChainDescriptor RPC */ export interface GetChainDescriptorResponse { $type: 'cosmos.base.reflection.v2alpha1.GetChainDescriptorResponse'; /** chain describes application chain information */ chain?: ChainDescriptor; } /** GetCodecDescriptorRequest is the request used for the GetCodecDescriptor RPC */ export interface GetCodecDescriptorRequest { $type: 'cosmos.base.reflection.v2alpha1.GetCodecDescriptorRequest'; } /** GetCodecDescriptorResponse is the response returned by the GetCodecDescriptor RPC */ export interface GetCodecDescriptorResponse { $type: 'cosmos.base.reflection.v2alpha1.GetCodecDescriptorResponse'; /** codec describes the application codec such as registered interfaces and implementations */ codec?: CodecDescriptor; } /** GetConfigurationDescriptorRequest is the request used for the GetConfigurationDescriptor RPC */ export interface GetConfigurationDescriptorRequest { $type: 'cosmos.base.reflection.v2alpha1.GetConfigurationDescriptorRequest'; } /** GetConfigurationDescriptorResponse is the response returned by the GetConfigurationDescriptor RPC */ export interface GetConfigurationDescriptorResponse { $type: 'cosmos.base.reflection.v2alpha1.GetConfigurationDescriptorResponse'; /** config describes the application's sdk.Config */ config?: ConfigurationDescriptor; } /** GetQueryServicesDescriptorRequest is the request used for the GetQueryServicesDescriptor RPC */ export interface GetQueryServicesDescriptorRequest { $type: 'cosmos.base.reflection.v2alpha1.GetQueryServicesDescriptorRequest'; } /** GetQueryServicesDescriptorResponse is the response returned by the GetQueryServicesDescriptor RPC */ export interface GetQueryServicesDescriptorResponse { $type: 'cosmos.base.reflection.v2alpha1.GetQueryServicesDescriptorResponse'; /** queries provides information on the available queryable services */ queries?: QueryServicesDescriptor; } /** GetTxDescriptorRequest is the request used for the GetTxDescriptor RPC */ export interface GetTxDescriptorRequest { $type: 'cosmos.base.reflection.v2alpha1.GetTxDescriptorRequest'; } /** GetTxDescriptorResponse is the response returned by the GetTxDescriptor RPC */ export interface GetTxDescriptorResponse { $type: 'cosmos.base.reflection.v2alpha1.GetTxDescriptorResponse'; /** * tx provides information on msgs that can be forwarded to the application * alongside the accepted transaction protobuf type */ tx?: TxDescriptor; } /** QueryServicesDescriptor contains the list of cosmos-sdk queriable services */ export interface QueryServicesDescriptor { $type: 'cosmos.base.reflection.v2alpha1.QueryServicesDescriptor'; /** query_services is a list of cosmos-sdk QueryServiceDescriptor */ queryServices: QueryServiceDescriptor[]; } /** QueryServiceDescriptor describes a cosmos-sdk queryable service */ export interface QueryServiceDescriptor { $type: 'cosmos.base.reflection.v2alpha1.QueryServiceDescriptor'; /** fullname is the protobuf fullname of the service descriptor */ fullname: string; /** is_module describes if this service is actually exposed by an application's module */ isModule: boolean; /** methods provides a list of query service methods */ methods: QueryMethodDescriptor[]; } /** * QueryMethodDescriptor describes a queryable method of a query service * no other info is provided beside method name and tendermint queryable path * because it would be redundant with the grpc reflection service */ export interface QueryMethodDescriptor { $type: 'cosmos.base.reflection.v2alpha1.QueryMethodDescriptor'; /** name is the protobuf name (not fullname) of the method */ name: string; /** * full_query_path is the path that can be used to query * this method via tendermint abci.Query */ fullQueryPath: string; } export declare const AppDescriptor: { $type: "cosmos.base.reflection.v2alpha1.AppDescriptor"; encode(message: AppDescriptor, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): AppDescriptor; fromJSON(object: any): AppDescriptor; toJSON(message: AppDescriptor): unknown; fromPartial]: never; })[] & { [K_1 in Exclude]: never; }) | undefined; fullname?: string | undefined; } & { [K_2 in Exclude]: never; }) | undefined; authn?: ({ signModes?: { number?: number | undefined; name?: string | undefined; authnInfoProviderMethodFullname?: string | undefined; }[] | undefined; } & { signModes?: ({ number?: number | undefined; name?: string | undefined; authnInfoProviderMethodFullname?: string | undefined; }[] & ({ number?: number | undefined; name?: string | undefined; authnInfoProviderMethodFullname?: string | undefined; } & { number?: number | undefined; name?: string | undefined; authnInfoProviderMethodFullname?: string | undefined; } & { [K_3 in Exclude]: never; })[] & { [K_4 in Exclude]: never; }) | undefined; } & { [K_5 in Exclude]: never; }) | undefined; chain?: ({ id?: string | undefined; } & { id?: string | undefined; } & { [K_6 in Exclude]: never; }) | undefined; codec?: ({ interfaces?: { fullname?: string | undefined; interfaceAcceptingMessages?: { fullname?: string | undefined; fieldDescriptorNames?: string[] | undefined; }[] | undefined; interfaceImplementers?: { typeUrl?: string | undefined; fullname?: string | undefined; }[] | undefined; }[] | undefined; } & { interfaces?: ({ fullname?: string | undefined; interfaceAcceptingMessages?: { fullname?: string | undefined; fieldDescriptorNames?: string[] | undefined; }[] | undefined; interfaceImplementers?: { typeUrl?: string | undefined; fullname?: string | undefined; }[] | undefined; }[] & ({ fullname?: string | undefined; interfaceAcceptingMessages?: { fullname?: string | undefined; fieldDescriptorNames?: string[] | undefined; }[] | undefined; interfaceImplementers?: { typeUrl?: string | undefined; fullname?: string | undefined; }[] | undefined; } & { fullname?: string | undefined; interfaceAcceptingMessages?: ({ fullname?: string | undefined; fieldDescriptorNames?: string[] | undefined; }[] & ({ fullname?: string | undefined; fieldDescriptorNames?: string[] | undefined; } & { fullname?: string | undefined; fieldDescriptorNames?: (string[] & string[] & { [K_7 in Exclude]: never; }) | undefined; } & { [K_8 in Exclude]: never; })[] & { [K_9 in Exclude]: never; }) | undefined; interfaceImplementers?: ({ typeUrl?: string | undefined; fullname?: string | undefined; }[] & ({ typeUrl?: string | undefined; fullname?: string | undefined; } & { typeUrl?: string | undefined; fullname?: string | undefined; } & { [K_10 in Exclude]: never; })[] & { [K_11 in Exclude]: never; }) | undefined; } & { [K_12 in Exclude]: never; })[] & { [K_13 in Exclude]: never; }) | undefined; } & { [K_14 in Exclude]: never; }) | undefined; configuration?: ({ bech32AccountAddressPrefix?: string | undefined; } & { bech32AccountAddressPrefix?: string | undefined; } & { [K_15 in Exclude]: never; }) | undefined; queryServices?: ({ queryServices?: { fullname?: string | undefined; isModule?: boolean | undefined; methods?: { name?: string | undefined; fullQueryPath?: string | undefined; }[] | undefined; }[] | undefined; } & { queryServices?: ({ fullname?: string | undefined; isModule?: boolean | undefined; methods?: { name?: string | undefined; fullQueryPath?: string | undefined; }[] | undefined; }[] & ({ fullname?: string | undefined; isModule?: boolean | undefined; methods?: { name?: string | undefined; fullQueryPath?: string | undefined; }[] | undefined; } & { fullname?: string | undefined; isModule?: boolean | undefined; methods?: ({ name?: string | undefined; fullQueryPath?: string | undefined; }[] & ({ name?: string | undefined; fullQueryPath?: string | undefined; } & { name?: string | undefined; fullQueryPath?: string | undefined; } & { [K_16 in Exclude]: never; })[] & { [K_17 in Exclude]: never; }) | undefined; } & { [K_18 in Exclude]: never; })[] & { [K_19 in Exclude]: never; }) | undefined; } & { [K_20 in Exclude]: never; }) | undefined; } & { [K_21 in Exclude]: never; }>(object: I): AppDescriptor; }; export declare const TxDescriptor: { $type: "cosmos.base.reflection.v2alpha1.TxDescriptor"; encode(message: TxDescriptor, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): TxDescriptor; fromJSON(object: any): TxDescriptor; toJSON(message: TxDescriptor): unknown; fromPartial]: never; })[] & { [K_1 in Exclude]: never; }) | undefined; fullname?: string | undefined; } & { [K_2 in Exclude]: never; }>(object: I): TxDescriptor; }; export declare const AuthnDescriptor: { $type: "cosmos.base.reflection.v2alpha1.AuthnDescriptor"; encode(message: AuthnDescriptor, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): AuthnDescriptor; fromJSON(object: any): AuthnDescriptor; toJSON(message: AuthnDescriptor): unknown; fromPartial]: never; })[] & { [K_1 in Exclude]: never; }) | undefined; } & { [K_2 in Exclude]: never; }>(object: I): AuthnDescriptor; }; export declare const SigningModeDescriptor: { $type: "cosmos.base.reflection.v2alpha1.SigningModeDescriptor"; encode(message: SigningModeDescriptor, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): SigningModeDescriptor; fromJSON(object: any): SigningModeDescriptor; toJSON(message: SigningModeDescriptor): unknown; fromPartial]: never; }>(object: I): SigningModeDescriptor; }; export declare const ChainDescriptor: { $type: "cosmos.base.reflection.v2alpha1.ChainDescriptor"; encode(message: ChainDescriptor, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): ChainDescriptor; fromJSON(object: any): ChainDescriptor; toJSON(message: ChainDescriptor): unknown; fromPartial]: never; }>(object: I): ChainDescriptor; }; export declare const CodecDescriptor: { $type: "cosmos.base.reflection.v2alpha1.CodecDescriptor"; encode(message: CodecDescriptor, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): CodecDescriptor; fromJSON(object: any): CodecDescriptor; toJSON(message: CodecDescriptor): unknown; fromPartial]: never; }) | undefined; } & { [K_1 in Exclude]: never; })[] & { [K_2 in Exclude]: never; }) | undefined; interfaceImplementers?: ({ typeUrl?: string | undefined; fullname?: string | undefined; }[] & ({ typeUrl?: string | undefined; fullname?: string | undefined; } & { typeUrl?: string | undefined; fullname?: string | undefined; } & { [K_3 in Exclude]: never; })[] & { [K_4 in Exclude]: never; }) | undefined; } & { [K_5 in Exclude]: never; })[] & { [K_6 in Exclude]: never; }) | undefined; } & { [K_7 in Exclude]: never; }>(object: I): CodecDescriptor; }; export declare const InterfaceDescriptor: { $type: "cosmos.base.reflection.v2alpha1.InterfaceDescriptor"; encode(message: InterfaceDescriptor, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): InterfaceDescriptor; fromJSON(object: any): InterfaceDescriptor; toJSON(message: InterfaceDescriptor): unknown; fromPartial]: never; }) | undefined; } & { [K_1 in Exclude]: never; })[] & { [K_2 in Exclude]: never; }) | undefined; interfaceImplementers?: ({ typeUrl?: string | undefined; fullname?: string | undefined; }[] & ({ typeUrl?: string | undefined; fullname?: string | undefined; } & { typeUrl?: string | undefined; fullname?: string | undefined; } & { [K_3 in Exclude]: never; })[] & { [K_4 in Exclude]: never; }) | undefined; } & { [K_5 in Exclude]: never; }>(object: I): InterfaceDescriptor; }; export declare const InterfaceImplementerDescriptor: { $type: "cosmos.base.reflection.v2alpha1.InterfaceImplementerDescriptor"; encode(message: InterfaceImplementerDescriptor, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): InterfaceImplementerDescriptor; fromJSON(object: any): InterfaceImplementerDescriptor; toJSON(message: InterfaceImplementerDescriptor): unknown; fromPartial]: never; }>(object: I): InterfaceImplementerDescriptor; }; export declare const InterfaceAcceptingMessageDescriptor: { $type: "cosmos.base.reflection.v2alpha1.InterfaceAcceptingMessageDescriptor"; encode(message: InterfaceAcceptingMessageDescriptor, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): InterfaceAcceptingMessageDescriptor; fromJSON(object: any): InterfaceAcceptingMessageDescriptor; toJSON(message: InterfaceAcceptingMessageDescriptor): unknown; fromPartial]: never; }) | undefined; } & { [K_1 in Exclude]: never; }>(object: I): InterfaceAcceptingMessageDescriptor; }; export declare const ConfigurationDescriptor: { $type: "cosmos.base.reflection.v2alpha1.ConfigurationDescriptor"; encode(message: ConfigurationDescriptor, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): ConfigurationDescriptor; fromJSON(object: any): ConfigurationDescriptor; toJSON(message: ConfigurationDescriptor): unknown; fromPartial]: never; }>(object: I): ConfigurationDescriptor; }; export declare const MsgDescriptor: { $type: "cosmos.base.reflection.v2alpha1.MsgDescriptor"; encode(message: MsgDescriptor, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): MsgDescriptor; fromJSON(object: any): MsgDescriptor; toJSON(message: MsgDescriptor): unknown; fromPartial]: never; }>(object: I): MsgDescriptor; }; export declare const GetAuthnDescriptorRequest: { $type: "cosmos.base.reflection.v2alpha1.GetAuthnDescriptorRequest"; encode(_: GetAuthnDescriptorRequest, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): GetAuthnDescriptorRequest; fromJSON(_: any): GetAuthnDescriptorRequest; toJSON(_: GetAuthnDescriptorRequest): unknown; fromPartial]: never; }>(_: I): GetAuthnDescriptorRequest; }; export declare const GetAuthnDescriptorResponse: { $type: "cosmos.base.reflection.v2alpha1.GetAuthnDescriptorResponse"; encode(message: GetAuthnDescriptorResponse, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): GetAuthnDescriptorResponse; fromJSON(object: any): GetAuthnDescriptorResponse; toJSON(message: GetAuthnDescriptorResponse): unknown; fromPartial]: never; })[] & { [K_1 in Exclude]: never; }) | undefined; } & { [K_2 in Exclude]: never; }) | undefined; } & { [K_3 in Exclude]: never; }>(object: I): GetAuthnDescriptorResponse; }; export declare const GetChainDescriptorRequest: { $type: "cosmos.base.reflection.v2alpha1.GetChainDescriptorRequest"; encode(_: GetChainDescriptorRequest, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): GetChainDescriptorRequest; fromJSON(_: any): GetChainDescriptorRequest; toJSON(_: GetChainDescriptorRequest): unknown; fromPartial]: never; }>(_: I): GetChainDescriptorRequest; }; export declare const GetChainDescriptorResponse: { $type: "cosmos.base.reflection.v2alpha1.GetChainDescriptorResponse"; encode(message: GetChainDescriptorResponse, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): GetChainDescriptorResponse; fromJSON(object: any): GetChainDescriptorResponse; toJSON(message: GetChainDescriptorResponse): unknown; fromPartial]: never; }) | undefined; } & { [K_1 in Exclude]: never; }>(object: I): GetChainDescriptorResponse; }; export declare const GetCodecDescriptorRequest: { $type: "cosmos.base.reflection.v2alpha1.GetCodecDescriptorRequest"; encode(_: GetCodecDescriptorRequest, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): GetCodecDescriptorRequest; fromJSON(_: any): GetCodecDescriptorRequest; toJSON(_: GetCodecDescriptorRequest): unknown; fromPartial]: never; }>(_: I): GetCodecDescriptorRequest; }; export declare const GetCodecDescriptorResponse: { $type: "cosmos.base.reflection.v2alpha1.GetCodecDescriptorResponse"; encode(message: GetCodecDescriptorResponse, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): GetCodecDescriptorResponse; fromJSON(object: any): GetCodecDescriptorResponse; toJSON(message: GetCodecDescriptorResponse): unknown; fromPartial]: never; }) | undefined; } & { [K_1 in Exclude]: never; })[] & { [K_2 in Exclude]: never; }) | undefined; interfaceImplementers?: ({ typeUrl?: string | undefined; fullname?: string | undefined; }[] & ({ typeUrl?: string | undefined; fullname?: string | undefined; } & { typeUrl?: string | undefined; fullname?: string | undefined; } & { [K_3 in Exclude]: never; })[] & { [K_4 in Exclude]: never; }) | undefined; } & { [K_5 in Exclude]: never; })[] & { [K_6 in Exclude]: never; }) | undefined; } & { [K_7 in Exclude]: never; }) | undefined; } & { [K_8 in Exclude]: never; }>(object: I): GetCodecDescriptorResponse; }; export declare const GetConfigurationDescriptorRequest: { $type: "cosmos.base.reflection.v2alpha1.GetConfigurationDescriptorRequest"; encode(_: GetConfigurationDescriptorRequest, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): GetConfigurationDescriptorRequest; fromJSON(_: any): GetConfigurationDescriptorRequest; toJSON(_: GetConfigurationDescriptorRequest): unknown; fromPartial]: never; }>(_: I): GetConfigurationDescriptorRequest; }; export declare const GetConfigurationDescriptorResponse: { $type: "cosmos.base.reflection.v2alpha1.GetConfigurationDescriptorResponse"; encode(message: GetConfigurationDescriptorResponse, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): GetConfigurationDescriptorResponse; fromJSON(object: any): GetConfigurationDescriptorResponse; toJSON(message: GetConfigurationDescriptorResponse): unknown; fromPartial]: never; }) | undefined; } & { [K_1 in Exclude]: never; }>(object: I): GetConfigurationDescriptorResponse; }; export declare const GetQueryServicesDescriptorRequest: { $type: "cosmos.base.reflection.v2alpha1.GetQueryServicesDescriptorRequest"; encode(_: GetQueryServicesDescriptorRequest, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): GetQueryServicesDescriptorRequest; fromJSON(_: any): GetQueryServicesDescriptorRequest; toJSON(_: GetQueryServicesDescriptorRequest): unknown; fromPartial]: never; }>(_: I): GetQueryServicesDescriptorRequest; }; export declare const GetQueryServicesDescriptorResponse: { $type: "cosmos.base.reflection.v2alpha1.GetQueryServicesDescriptorResponse"; encode(message: GetQueryServicesDescriptorResponse, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): GetQueryServicesDescriptorResponse; fromJSON(object: any): GetQueryServicesDescriptorResponse; toJSON(message: GetQueryServicesDescriptorResponse): unknown; fromPartial]: never; })[] & { [K_1 in Exclude]: never; }) | undefined; } & { [K_2 in Exclude]: never; })[] & { [K_3 in Exclude]: never; }) | undefined; } & { [K_4 in Exclude]: never; }) | undefined; } & { [K_5 in Exclude]: never; }>(object: I): GetQueryServicesDescriptorResponse; }; export declare const GetTxDescriptorRequest: { $type: "cosmos.base.reflection.v2alpha1.GetTxDescriptorRequest"; encode(_: GetTxDescriptorRequest, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): GetTxDescriptorRequest; fromJSON(_: any): GetTxDescriptorRequest; toJSON(_: GetTxDescriptorRequest): unknown; fromPartial]: never; }>(_: I): GetTxDescriptorRequest; }; export declare const GetTxDescriptorResponse: { $type: "cosmos.base.reflection.v2alpha1.GetTxDescriptorResponse"; encode(message: GetTxDescriptorResponse, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): GetTxDescriptorResponse; fromJSON(object: any): GetTxDescriptorResponse; toJSON(message: GetTxDescriptorResponse): unknown; fromPartial]: never; })[] & { [K_1 in Exclude]: never; }) | undefined; fullname?: string | undefined; } & { [K_2 in Exclude]: never; }) | undefined; } & { [K_3 in Exclude]: never; }>(object: I): GetTxDescriptorResponse; }; export declare const QueryServicesDescriptor: { $type: "cosmos.base.reflection.v2alpha1.QueryServicesDescriptor"; encode(message: QueryServicesDescriptor, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): QueryServicesDescriptor; fromJSON(object: any): QueryServicesDescriptor; toJSON(message: QueryServicesDescriptor): unknown; fromPartial]: never; })[] & { [K_1 in Exclude]: never; }) | undefined; } & { [K_2 in Exclude]: never; })[] & { [K_3 in Exclude]: never; }) | undefined; } & { [K_4 in Exclude]: never; }>(object: I): QueryServicesDescriptor; }; export declare const QueryServiceDescriptor: { $type: "cosmos.base.reflection.v2alpha1.QueryServiceDescriptor"; encode(message: QueryServiceDescriptor, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): QueryServiceDescriptor; fromJSON(object: any): QueryServiceDescriptor; toJSON(message: QueryServiceDescriptor): unknown; fromPartial]: never; })[] & { [K_1 in Exclude]: never; }) | undefined; } & { [K_2 in Exclude]: never; }>(object: I): QueryServiceDescriptor; }; export declare const QueryMethodDescriptor: { $type: "cosmos.base.reflection.v2alpha1.QueryMethodDescriptor"; encode(message: QueryMethodDescriptor, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): QueryMethodDescriptor; fromJSON(object: any): QueryMethodDescriptor; toJSON(message: QueryMethodDescriptor): unknown; fromPartial]: never; }>(object: I): QueryMethodDescriptor; }; /** ReflectionService defines a service for application reflection. */ export interface ReflectionService { /** * GetAuthnDescriptor returns information on how to authenticate transactions in the application * NOTE: this RPC is still experimental and might be subject to breaking changes or removal in * future releases of the cosmos-sdk. */ GetAuthnDescriptor(request: GetAuthnDescriptorRequest): Promise; /** GetChainDescriptor returns the description of the chain */ GetChainDescriptor(request: GetChainDescriptorRequest): Promise; /** GetCodecDescriptor returns the descriptor of the codec of the application */ GetCodecDescriptor(request: GetCodecDescriptorRequest): Promise; /** GetConfigurationDescriptor returns the descriptor for the sdk.Config of the application */ GetConfigurationDescriptor(request: GetConfigurationDescriptorRequest): Promise; /** GetQueryServicesDescriptor returns the available gRPC queryable services of the application */ GetQueryServicesDescriptor(request: GetQueryServicesDescriptorRequest): Promise; /** GetTxDescriptor returns information on the used transaction object and available msgs that can be used */ GetTxDescriptor(request: GetTxDescriptorRequest): Promise; } export declare class ReflectionServiceClientImpl implements ReflectionService { private readonly rpc; constructor(rpc: Rpc); GetAuthnDescriptor(request: GetAuthnDescriptorRequest): Promise; GetChainDescriptor(request: GetChainDescriptorRequest): Promise; GetCodecDescriptor(request: GetCodecDescriptorRequest): Promise; GetConfigurationDescriptor(request: GetConfigurationDescriptorRequest): Promise; GetQueryServicesDescriptor(request: GetQueryServicesDescriptorRequest): Promise; GetTxDescriptor(request: GetTxDescriptorRequest): 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 {};