import { ComponentFactory, NgModuleRef, Type } from '@angular/core'; import { Lazy } from '@gewd/lazy/utils'; import { LazyModule } from '@gewd/lazy/contracts'; interface LoadedModule { ngModule: NgModuleRef; componentFactories: ComponentFactory[]; } export interface LazyModuleComponentConfig { load: Lazy>; loadedModule?: Promise; } export declare class DynamicLoaderRegistry { static readonly LazyComponents: { [key: string]: Lazy; }; static RegisterLazyComponent(componentName: string, lazyImport: Lazy): void; static readonly LazyModuleComponents: { [key: string]: LazyModuleComponentConfig; }; static RegisterLazyModuleComponent(moduleName: string, lazyImport: LazyModuleComponentConfig): void; } export {};