import { Subject } from 'rxjs/internal/Subject'; import { BehaviorSubject } from 'rxjs/internal/BehaviorSubject'; import { MdcDialogService } from '@aurelia-mdc-web/dialog'; import { I18N } from 'aurelia-i18n'; import { IPromptDialogData } from './prompt-dialog/prompt-dialog'; import { ExceptionsTracker } from './exceptions-tracker'; import { IAlertModalPayload } from './alert-modal/i-alert-modal-payload'; import { AlertConfiguration } from './alert-configuration'; export declare class AlertService { private dialogService; private exceptionsTracker; private i18n; private alertConfiguration; constructor(dialogService: MdcDialogService, exceptionsTracker: ExceptionsTracker, i18n: I18N, alertConfiguration: AlertConfiguration); increment$: Subject; decrement$: Subject; busy$: BehaviorSubject; busyAccumulator$: import("rxjs/internal/Subscription").Subscription; allowCancel$: Subject; showProgress(): void; hideProgress(): void; usingProgress(action: () => Promise, catchHandler?: (e: any) => Promise | E, allowCancel?: boolean): Promise; open(options: { viewModel: unknown; model: TModel; }): Promise; showModal(model: Partial): Promise; alert(message: string | Partial): Promise; confirm(message: string | Partial): Promise; prompt(data: Partial): Promise; error(message: string | Partial): Promise; criticalError(message: string | Partial, error: Error): Promise; }