1 | import { Controller } from '@nestjs/common/interfaces/controllers/controller.interface';
|
2 | import { NestApplicationContextOptions } from '@nestjs/common/interfaces/nest-application-context-options.interface';
|
3 | import { ApplicationConfig } from '@nestjs/core/application-config';
|
4 | import { NestContainer } from '@nestjs/core/injector/container';
|
5 | import { InstanceWrapper } from '@nestjs/core/injector/instance-wrapper';
|
6 | import { GraphInspector } from '@nestjs/core/inspector/graph-inspector';
|
7 | import { CustomTransportStrategy } from './interfaces';
|
8 | import { Server } from './server/server';
|
9 | export declare class MicroservicesModule<TAppOptions extends NestApplicationContextOptions = NestApplicationContextOptions> {
|
10 | private readonly clientsContainer;
|
11 | private listenersController;
|
12 | private appOptions;
|
13 | register(container: NestContainer, graphInspector: GraphInspector, config: ApplicationConfig, options: TAppOptions): void;
|
14 | setupListeners(container: NestContainer, server: Server & CustomTransportStrategy): void;
|
15 | setupClients(container: NestContainer): void;
|
16 | bindListeners(controllers: Map<string | symbol | Function, InstanceWrapper<Controller>>, server: Server & CustomTransportStrategy, moduleName: string): void;
|
17 | bindClients(items: Map<string | symbol | Function, InstanceWrapper<unknown>>): void;
|
18 | close(): Promise<void>;
|
19 | }
|