import { HttpErrorResponse } from '@angular/common/http'; import { OnDestroy } from '@angular/core'; import * as i0 from "@angular/core"; export declare type AlertTypes = 'danger' | 'warning' | 'info'; export interface IAppAlert { type: AlertTypes; message: string; context?: string; details?: string[]; } export declare class AlertService implements OnDestroy { _alerts: IAppAlert[]; get alerts(): IAppAlert[]; constructor(); alertError(msgOrError: string | HttpErrorResponse | Error, prettyMessage?: string): AlertTypes; alertDanger(msg: string | string[] | Error, prettyMessage?: string): AlertTypes; alertWarning(msg: string | Error, prettyMessage?: string): AlertTypes; alertInfo(msg: string, prettyMessage?: string): AlertTypes; private alert; close(alert: IAppAlert): void; clear(): void; private allClosed; allClosed$: import("rxjs").Observable; ngOnDestroy(): void; snackbar(message: string): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; }