import { Observable } from 'rxjs'; import { VNode } from '../dom'; import { Injector } from '../di'; import { RootLayoutCreationConfigArgs } from '../RootLayout'; import { DetachHost } from './DetachHost'; export interface DetachLoc { x: number; y: number; width: number; height: number; } export declare class DetachHandler { private _windowRef; private _injector; private _rootConfig; private _detachHost; private _child; private _renderer; private _vnode; private _onClose; private _onResize; private _onDestroy; private _onDetach; private _lastLoc; readonly onClose: Observable; readonly onResize: Observable; readonly onDestroy: Observable; readonly onDetach: Observable; constructor(_windowRef: Window, _injector: Injector, _rootConfig: RootLayoutCreationConfigArgs, _detachHost: DetachHost); readonly isDetached: boolean; readonly height: number; readonly width: number; render(node: VNode): void; getChild(): Window | null; getLoc(): Partial; detach(loc?: Partial): Promise; close(): void; destroy(): void; focus(): void; private _captureLoc; private _cleanUp; }