import { DBClient } from './db/DB'; import { ServiceType } from './common'; export interface GrpcClientCfg { name?: string; host?: string; port?: number; type: ServiceType; } export declare function createGrpcClient(cfg: GrpcClientCfg): DBClient; export declare function initGrpcClientsFromConfig(currPkgName: string, config: any): {} | undefined; export declare function $grpc(name: string): DBClient;