///
import { ComponentFactoryResolver, ViewContainerRef, OnDestroy } from '@angular/core';
import { Portal, TemplatePortal, BasePortalHost } from './portal';
export declare class ClPortalHostDirective extends BasePortalHost implements OnDestroy {
private _componentFactoryResolver;
private _viewContainerRef;
/** The attached portal. */
private _portal;
constructor(_componentFactoryResolver: ComponentFactoryResolver, _viewContainerRef: ViewContainerRef);
/** Portal associated with the Portal host. */
portal: Portal;
ngOnDestroy(): void;
/**
* Attach the given TemplatePortal to this PortlHost as an embedded View.
* @param portal Portal to be attached.
*/
attachTemplatePortal(portal: TemplatePortal): Map;
/** Detaches the currently attached Portal (if there is one) and attaches the given Portal. */
private _replaceAttachedPortal(p);
}