import { ApplicationLogger } from '../../../helpers'; import { ChannelCredentials } from '@grpc/grpc-js'; import { Constructor } from '@loopback/core'; import { Connector } from '@loopback/repository'; import { TGrpcServiceClient } from '../common'; import { GrpcClient } from '../helpers'; export interface IGrpcConnectorOptions { host: string; port: string | number; credentials: ChannelCredentials; serviceClassResolver: () => Constructor; } export declare class GrpcConnector implements Connector { name: string; host: string; port: string | number; credentials: ChannelCredentials; serviceClassResolver: () => Constructor; protected logger: ApplicationLogger; grpcClient: GrpcClient; constructor(opts: IGrpcConnectorOptions); binding(): void; connect(): Promise; disconnect(): Promise; ping(): Promise; execute(method: string, parameters: any[]): Promise; } //# sourceMappingURL=grpc.connector.d.ts.map