import { AfterViewInit, ApplicationRef, ComponentFactoryResolver, Injector, OnDestroy } from '@angular/core'; export declare class PortalComponent implements AfterViewInit, OnDestroy { private componentFactoryResolver; private injector; private appRef; selector: string; private portal; private host; constructor(componentFactoryResolver: ComponentFactoryResolver, injector: Injector, appRef: ApplicationRef); ngAfterViewInit(): void; attach(element: Element): void; ngOnDestroy(): void; }