/**
* @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 { ComponentFactoryResolver, ComponentRef, EventEmitter, Injector, OnDestroy, ResolvedReflectiveProvider, ViewContainerRef } from '@angular/core';
import { RouterOutletMap } from '../router_outlet_map';
import { ActivatedRoute } from '../router_state';
/**
* @whatItDoes Acts as a placeholder that Angular dynamically fills based on the current router
* state.
*
* @howToUse
*
* ```
*
*
*
* ```
*
* A router outlet will emit an activate event any time a new component is being instantiated,
* and a deactivate event when it is being destroyed.
*
* ```
*
* ```
* @ngModule RouterModule
*
* @stable
*/
export declare class RouterOutlet implements OnDestroy {
private parentOutletMap;
private location;
private resolver;
private name;
private activated;
private _activatedRoute;
outletMap: RouterOutletMap;
activateEvents: EventEmitter;
deactivateEvents: EventEmitter;
constructor(parentOutletMap: RouterOutletMap, location: ViewContainerRef, resolver: ComponentFactoryResolver, name: string);
ngOnDestroy(): void;
/** @deprecated since v4 **/
readonly locationInjector: Injector;
/** @deprecated since v4 **/
readonly locationFactoryResolver: ComponentFactoryResolver;
readonly isActivated: boolean;
readonly component: Object;
readonly activatedRoute: ActivatedRoute;
detach(): ComponentRef;
attach(ref: ComponentRef, activatedRoute: ActivatedRoute): void;
deactivate(): void;
/** @deprecated since v4, use {@link #activateWith} */
activate(activatedRoute: ActivatedRoute, resolver: ComponentFactoryResolver, injector: Injector, providers: ResolvedReflectiveProvider[], outletMap: RouterOutletMap): void;
activateWith(activatedRoute: ActivatedRoute, resolver: ComponentFactoryResolver | null, outletMap: RouterOutletMap): void;
}