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