1 | import { Logger, LoggerService } from '@nestjs/common';
|
2 | import { GraphInspector } from '../inspector/graph-inspector';
|
3 | import { NestContainer } from './container';
|
4 | import { Injector } from './injector';
|
5 | import { Module } from './module';
|
6 | export declare class InstanceLoader<TInjector extends Injector = Injector> {
|
7 | protected readonly container: NestContainer;
|
8 | protected readonly injector: TInjector;
|
9 | protected readonly graphInspector: GraphInspector;
|
10 | private logger;
|
11 | constructor(container: NestContainer, injector: TInjector, graphInspector: GraphInspector, logger?: LoggerService);
|
12 | setLogger(logger: Logger): void;
|
13 | createInstancesOfDependencies(modules?: Map<string, Module>): Promise<void>;
|
14 | private createPrototypes;
|
15 | private createInstances;
|
16 | private createPrototypesOfProviders;
|
17 | private createInstancesOfProviders;
|
18 | private createPrototypesOfControllers;
|
19 | private createInstancesOfControllers;
|
20 | private createPrototypesOfInjectables;
|
21 | private createInstancesOfInjectables;
|
22 | private isModuleWhitelisted;
|
23 | }
|