UNPKG

@yandex-cloud/nodejs-sdk

Version:
11 lines (10 loc) 510 B
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 {};