import { OverlayRef } from '@angular/cdk/overlay'; import { Observable } from 'rxjs'; import { DialogContainerComponent } from './dialog-container.component'; export declare class DialogRef { private overlayRef; containerInstance: DialogContainerComponent; /** Unique generated identifier for the dialog */ readonly id: string; /** The instance of component opened into the dialog. */ componentInstance: T; /** Subject for notifying that the dialog has finished opening. */ private afterOpened$; /** Subject for notifying that the dialog has finished closing. */ private afterClosed$; /** Subject for notifying that the dialog has started closing. */ private beforeClosed$; constructor(overlayRef: OverlayRef, containerInstance: DialogContainerComponent); /** * Close the dialog. * * @param result Result to return to the dialog opener. */ close(result?: any): void; /** * Get an observable that is notified when the dialog is finished opening. */ afterOpened(): Observable; /** * Get an observable that is notified when the dialog is finished closing. */ afterClosed(): Observable; /** * Get an observable that is notified when the dialog has started closing. */ beforeClosed(): Observable; }