1 | import { DynamicModule } from '@nestjs/common';
|
2 | import { Module as ModuleClass } from '../injector/module';
|
3 | import { ModulesContainer } from '../injector/modules-container';
|
4 | import { Routes } from './interfaces';
|
5 | export declare const ROUTES: unique symbol;
|
6 | export declare const targetModulesByContainer: WeakMap<ModulesContainer, WeakSet<ModuleClass>>;
|
7 |
|
8 |
|
9 |
|
10 | export declare class RouterModule {
|
11 | private readonly modulesContainer;
|
12 | private readonly routes;
|
13 | constructor(modulesContainer: ModulesContainer, routes: Routes);
|
14 | static register(routes: Routes): DynamicModule;
|
15 | private deepCloneRoutes;
|
16 | private initialize;
|
17 | private registerModulePathMetadata;
|
18 | private updateTargetModulesCache;
|
19 | }
|