import { InjectionToken, NgModuleFactory, NgModuleFactoryLoader, ViewContainerRef, NgModuleRef, Type, TemplateRef, ComponentFactoryResolver, Compiler } from '@angular/core'; import { ModuleConfig, ILoadableRootOptions } from './loadable.config'; export declare const LOADABLE_CONFIG: InjectionToken; export declare const LOADABLE_ROOT_OPTIONS: InjectionToken; export declare class LoadableService { private loader; private cfr; private compiler; modules: ModuleConfig[]; constructor(loader: NgModuleFactoryLoader, cfr: ComponentFactoryResolver, compiler: Compiler); addConfig(config: ModuleConfig[]): void; getModule(module: string): ModuleConfig; getModulePath(module: string): string | import("./loadable.config").FunctionReturningPromise; preload(module: string): Promise>; preloadAll(modules?: string[]): Promise[]>; _renderVCR(mr: NgModuleRef | Type | TemplateRef, vcr: ViewContainerRef): import("@angular/core").EmbeddedViewRef | import("@angular/core").ComponentRef; }