import type { ChannelCredentials } from '@grpc/grpc-js'; type DescriptorExtensionProto = string[] | { includeProtoRoots: string[]; filenames: string[]; }; /** * @param actionEndpoint * @param protoKey * @param credentials * @param grpcOptions * @param descriptorExtensionProto * @returns Promise. * use toDescriptor for use with protoLoader. * use toJSON for get a JSON descriptor. */ export declare function getCachedReflectionRoot(actionEndpoint: string, protoKey: string, credentials: ChannelCredentials, grpcOptions?: object, descriptorExtensionProto?: DescriptorExtensionProto): Promise; /** * @param actionEndpoint * @param protoKey * @param credentials * @param grpcOptions * @param addToCache * @returns Promise. * use toDescriptor for use with protoLoader. * use toJSON for get a JSON descriptor. */ export declare function getReflectionRoot(actionEndpoint: string, protoKey: string, credentials: ChannelCredentials, grpcOptions?: object, addToCache?: boolean): Promise; export {};