import { Router } from '@angular/router'; import { Observable } from 'rxjs'; import * as i0 from "@angular/core"; export declare class Notification { id: number; type: NotificationType; title: string; message: string; timeout: number; constructor(id: number, type: NotificationType, title: string, message: string, timeout: number); } export declare enum NotificationType { success = 0, warning = 1, error = 2, info = 3 } export declare class NotificationService { private _subject; private _idx; notifications: Notification[]; get notificationsChanged(): Observable; constructor(router: Router); info(message: string, title?: string, timeout?: number): void; success(message: string, title?: string, timeout?: number): void; warning(message: string, title?: string, timeout?: number): void; error(message: string, title?: string, timeout?: number): void; close(notification: Notification): void; private _addNotification; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } //# sourceMappingURL=notification.service.d.ts.map