import { ApplicationRef, ComponentFactoryResolver, Injector } from '@angular/core'; import { Observable } from 'rxjs'; import { DynamicWindowConfig, DynamicWindowRef, LoadConfig } from '../interfaces'; import { ɵDynamicWindowReferencesService } from './dynamic-window-references.service'; import * as i0 from "@angular/core"; /** Allows open your component inside an OS-styled window **/ export declare class DynamicWindowService { private readonly document; private readonly injector; private readonly componentFactoryResolver; private readonly applicationRef; private readonly referencesService; /** Contains references to windows opened via the service */ get references$(): Observable; /** Contains references to windows opened via the service */ get references(): DynamicWindowRef[]; constructor(document: Document, injector: Injector, componentFactoryResolver: ComponentFactoryResolver, applicationRef: ApplicationRef, referencesService: ɵDynamicWindowReferencesService); /** Opens a window containing the given component */ open(loadConfig: LoadConfig, config?: DynamicWindowConfig): DynamicWindowRef; /** Closes all windows */ closeAll(): void; private createDynamicWindow; private createComponentRef; private appendWindowComponentToBody; private initWindowRefAfterClosedObserver; private applyDataForCreatedWindowInstance; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; }