import * as grpc from 'grpc'; export interface GrpcSequenceInterface { wrapUnaryCall(call: grpc.ServerUnaryCall): Promise; wrapClientStreamingCall(call: grpc.ServerReadableStream): Promise; wrapServerStreamingCall(call: grpc.ServerWriteableStream): void; wrapBidiStreamingCall(call: grpc.ServerDuplexStream): void; } export declare class GrpcSequence implements GrpcSequenceInterface { protected controller: { [method: string]: Function; }; protected method: string; constructor(controller: { [method: string]: Function; }, method: string); wrapUnaryCall(call: grpc.ServerUnaryCall): Promise; wrapClientStreamingCall(call: grpc.ServerReadableStream): Promise; wrapServerStreamingCall(call: grpc.ServerWriteableStream): void; wrapBidiStreamingCall(call: grpc.ServerDuplexStream): void; }