import { Observable } from 'rxjs';
import { Alert } from './alert.model';
import * as i0 from "@angular/core";
/**
 * Alert service
 */
export declare class AlertService {
    private readonly show;
    private readonly hide;
    /**
     * Show an alert describe using associated model
     *
     * @param alert
     */
    showAlert(alert: Alert): void;
    /**
     * Detect new alert display using observables
     *
     * @returns
     */
    receiveShowAlert(): Observable<Alert>;
    /**
     * Hide an alert after delay
     *
     * @param timestamp
     */
    hideAlert(timestamp: number): void;
    /**
     * Detect new alert hiding using observables
     *
     * @returns
     */
    receiveHideAlert(): Observable<number>;
    static ɵfac: i0.ɵɵFactoryDeclaration<AlertService, never>;
    static ɵprov: i0.ɵɵInjectableDeclaration<AlertService>;
}
