import { Router } from '@angular/router';
import { Alert } from '../../domain/alert/alert.model';
import { ConnectableObservable } from 'rxjs';
export declare class AlertService {
    private router;
    private observer;
    alerts: ConnectableObservable<Alert>;
    private preserveAlerts;
    constructor(router: Router);
    push(alert: Alert): void;
    clear(): void;
    error(message: string): void;
    warning(message: string): void;
    success(message: string): void;
    setPreserveAlerts(preserve: boolean): void;
    isPreserveAlerts(): boolean;
    message(message: string): void;
}
