import * as grpc from 'grpc'; /** * @interface GrpcSequenceInterface * @author Jonathan Casarrubias * @license MIT * @description Interface that describes a GRPC Sequence */ export interface GrpcSequenceInterface { unaryCall(request: grpc.ServerUnaryCall): Promise; } /** * @class GrpcSequence * @author Jonathan Casarrubias * @license MIT * @description GRPC Sequence */ export declare class GrpcSequence implements GrpcSequenceInterface { protected controller: { [method: string]: Function; }; protected method: string; constructor(controller: { [method: string]: Function; }, method: string); unaryCall(call: grpc.ServerUnaryCall): Promise; }