import { OverlayRef } from '@angular/cdk/overlay'; import { Observable } from 'rxjs'; import { Location } from '@angular/common'; import { DialogPosition } from './grit-overlay-config'; import { GritOverlayContainer } from './grit-overlay-container'; export declare class GritOverlayRef { private _overlayRef; _containerInstance: GritOverlayContainer; readonly id: string; componentInstance: T; disableClose: boolean | undefined; private readonly _afterOpened; private readonly _afterClosed; private readonly _beforeClosed; private _result; private _closeFallbackTimeout; constructor(_overlayRef: OverlayRef, _containerInstance: GritOverlayContainer, _location?: Location, id?: string); close(dialogResult?: R): void; /** * Gets an observable that is notified when the dialog is finished opening. */ afterOpened(): Observable; /** * Gets an observable that is notified when the dialog is finished closing. */ afterClosed(): Observable; /** * Gets an observable that is notified when the dialog has started closing. */ beforeClosed(): Observable; /** * Gets an observable that emits when the overlay's backdrop has been clicked. */ backdropClick(): Observable; /** * Gets an observable that emits when keydown events are targeted on the overlay. */ keydownEvents(): Observable; updatePosition(position?: DialogPosition): this; updateSize(width?: string, height?: string): this; addPanelClass(classes: string | string[]): this; removePanelClass(classes: string | string[]): this; afterOpen(): Observable; beforeClose(): Observable; private _getPositionStrategy; }