import { Constructor } from '@loopback/context'; import { GrpcSequenceInterface } from './grpc.sequence'; export declare namespace Config { interface Component { cwd?: string; /** * glob pattern for proto files, default to `**\/*proto` */ protoPattern?: string; /** * An array of glob patterns to ignore for proto files, * default to ['**\/node_modules\/**] */ protoIngores?: string[]; host?: string; port?: number; sequence?: Constructor; /** * Configuration for underlying grpc.Server */ options?: object; } interface Method { PROTO_NAME: string; PROTO_PACKAGE: string; SERVICE_NAME: string; METHOD_NAME: string; REQUEST_STREAM: boolean; RESPONSE_STREAM: boolean; } }