1 | import { PortalHost, Portal } from '../portal/portal';
|
2 | import { OverlayState } from './overlay-state';
|
3 |
|
4 |
|
5 |
|
6 |
|
7 | export declare class OverlayRef implements PortalHost {
|
8 | private _portalHost;
|
9 | private _pane;
|
10 | private _state;
|
11 | constructor(_portalHost: PortalHost, _pane: HTMLElement, _state: OverlayState);
|
12 | attach(portal: Portal<any>): any;
|
13 | detach(): Promise<any>;
|
14 | dispose(): void;
|
15 | hasAttached(): boolean;
|
16 | /** Gets the current state config of the overlay. */
|
17 | getState(): OverlayState;
|
18 | /** Updates the position of the overlay based on the position strategy. */
|
19 | updatePosition(): void;
|
20 | }
|