import { TemplateRef } from '@angular/core'; import { ComponentType } from '@angular/cdk/portal'; import { Observable } from 'rxjs'; import { TranslateService } from '@ngx-translate/core'; import { DialogConfirmComponent, DialogType } from './dialog-confirm.component'; import { MatDialog, MatDialogConfig, MatDialogRef } from '@angular/material/dialog'; import * as i0 from "@angular/core"; export declare class DialogService { private dialog; private translate; constructor(dialog: MatDialog, translate: TranslateService); createConfirmRequest(title: string, message: string, confirmText?: string, cancelText?: string, type?: DialogType): Observable; createUnsavedChangesConfirmRequest(): Observable; createAlertModal(title: string, message: string, type?: DialogType): DialogRef; create(componentOrTemplateRef: ComponentType | TemplateRef, options?: DialogOptions): DialogRef; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } export declare enum DialogSize { Small = 0, Medium = 1, Large = 2 } export interface DialogOptions extends MatDialogConfig { parameters?: Partial; size?: DialogSize; clean?: boolean; } export declare class DialogRef { matRef: MatDialogRef; constructor(matRef: MatDialogRef); close(): void; get componentInstance(): T; }