import { OnDestroy, OnChanges, SimpleChanges, EventEmitter, TemplateRef, ViewContainerRef } from '@angular/core';
import { NgTemplateOutlet } from '@angular/common';
import { TeleportService } from './teleport.service';
export declare class PortalDirective extends NgTemplateOutlet implements OnDestroy, OnChanges {
    private teleport;
    private host;
    private name$;
    private firstChange;
    private sub;
    /** The portal name */
    set name(name: string);
    /** The portal context */
    ngTemplateOutletContext: Object | null;
    /** The actual template in use. NOTE for this event to bind correclty the directive must be used in its de-sugared form */
    template: EventEmitter<TemplateRef<Object>>;
    /** True then the portal is active  */
    active: EventEmitter<boolean>;
    /** Optional data passed along from the TeleportDirective back to the Portal */
    data: EventEmitter<any>;
    constructor(teleport: TeleportService, host: TemplateRef<Object | null>, container: ViewContainerRef);
    private changeTemplate;
    ngOnChanges(changes: SimpleChanges): void;
    ngOnDestroy(): void;
}
