/// import { KeyCertPair, Server } from '@grpc/grpc-js'; import { BindingKey, Context } from '@loopback/core'; import { GrpcComponent } from './grpc.component'; import { GrpcServer } from './grpc.server'; import { GrpcComponentConfig, GrpcSequenceInterface } from './types'; export interface GrpcSecureOptions { rootCerts: Buffer; keyCertPairs: KeyCertPair[]; checkClientCertificate: boolean; } /** * Binding keys used by this component. */ export declare namespace GrpcBindings { const COMPONENT: BindingKey; const GRPC_SERVER: BindingKey; const SERVER: BindingKey; const SEQUENCE: BindingKey; const CONTROLLER: BindingKey<{ [method: string]: Function; }>; const METHOD_NAME: BindingKey; const PROTO_TS_GENERATOR: BindingKey; const CONTEXT: BindingKey; const CONFIG: BindingKey; const HOST: BindingKey; const PORT: BindingKey; const SECURE_OPTIONS: BindingKey; }