import { ApplicationRef, ComponentFactoryResolver, ComponentRef, Injector, NgZone, Renderer2, TemplateRef, ViewContainerRef, ViewRef } from '@angular/core'; import { Observable } from 'rxjs'; export declare class ContentRef { nodes: any[]; viewRef?: ViewRef; componentRef?: ComponentRef; constructor(nodes: any[], viewRef?: ViewRef, componentRef?: ComponentRef); } export declare class PopupService { private _type; private _injector; private _viewContainerRef; private _renderer; private _ngZone; private _componentFactoryResolver; private _applicationRef; private _windowRef; private _contentRef; constructor(_type: any, _injector: Injector, _viewContainerRef: ViewContainerRef, _renderer: Renderer2, _ngZone: NgZone, _componentFactoryResolver: ComponentFactoryResolver, _applicationRef: ApplicationRef); open(content?: string | TemplateRef, context?: any, animation?: boolean): { windowRef: ComponentRef; transition$: Observable; }; close(animation?: boolean): Observable; private _getContentRef; }