import { Injector, ViewContainerRef, ComponentFactoryResolver, ComponentRef } from '@angular/core'; import { ComponentType } from './common'; export declare class ContainerHostDirective { private viewContainerRef; private componentFactoryResolver; private disposeFn; constructor(viewContainerRef: ViewContainerRef, componentFactoryResolver: ComponentFactoryResolver); attachComponent(component: ComponentType, injector: Injector): ComponentRef; private setDisposeFn(fn); }