import { Observable } from 'rxjs/Observable'; import { DialogWrapperComponent } from './dialog-wrapper.component'; import { DialogService, DialogOptions } from './dialog.service'; /** * Abstract dialog * @template T - dialog data; * @template T1 - dialog result */ export declare class DialogComponent { protected dialogService: DialogService; options: DialogOptions; /** * Observer to return result from dialog */ private observer; /** * Dialog result * @type {T1} */ protected result: T1; /** * Dialog wrapper (modal placeholder) */ wrapper: DialogWrapperComponent; /** * Constructor * @param {DialogService} dialogService - instance of DialogService */ constructor(dialogService: DialogService); /** * * @param {T} data * @return {Observable} */ fillData(data: any): Observable; /** * Closes dialog */ close(result?: T1): void; [key: string]: any; }