import { ComponentRef } from '@angular/core'; import { BehaviorSubject, Observable, Subject } from 'rxjs'; import { DialogRemoteControl } from '../models'; import * as i0 from "@angular/core"; type RemoteControlType = DialogRemoteControl; export declare class StateManagementService { instanceStatesSubject: BehaviorSubject>; instanceStates$: Observable>; instances: Map>; private instanceCloseSubject; addInstance(id: string, componentRef: ComponentRef, remoteControl: RemoteControlType): void; instanceExists(id: string): boolean; getInstance(id: string): ComponentRef | undefined; deleteInstance(id: string): boolean; getDialogStates$(): Observable>; getDialogCloseSubject(): Subject<{ id: string; data?: any; }>; listenForClose(id: string): Observable; updateState(id: string, remoteControl: RemoteControlType): void; removeDialogState(id: string): void; sendCloseData(id: string, data?: any): void; closeEmmit(id: string, data?: any): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } export {};