@yandex-cloud/nodejs-sdk
Version:
Yandex.Cloud NodeJS SDK
11 lines (10 loc) • 510 B
TypeScript
import { ServiceDefinition } from '@grpc/grpc-js';
import { GeneratedServiceClientCtor } from './types';
interface ServiceEndpoint {
serviceIds: string[];
endpoint: string;
}
declare type ServiceEndpointsList = ServiceEndpoint[];
export declare const SERVICE_ENDPOINTS_LIST: ServiceEndpointsList;
export declare const getServiceClientEndpoint: <T extends ServiceDefinition<import("@grpc/grpc-js").UntypedServiceImplementation>>(generatedClientCtor: GeneratedServiceClientCtor<T>) => string;
export {};