/** * @license * Copyright Google Inc. All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ import { Compiler, InjectionToken, Injector, NgModuleFactoryLoader } from '@angular/core'; import { Observable } from 'rxjs/Observable'; import { LoadedRouterConfig, Route } from './config'; /** * @docsNotRequired * @experimental */ export declare const ROUTES: InjectionToken; export declare class RouterConfigLoader { private loader; private compiler; private onLoadStartListener; private onLoadEndListener; constructor(loader: NgModuleFactoryLoader, compiler: Compiler, onLoadStartListener?: (r: Route) => void, onLoadEndListener?: (r: Route) => void); load(parentInjector: Injector, route: Route): Observable; private loadModuleFactory(loadChildren); }