import { OnInit, InjectionToken, OnDestroy } from '@angular/core'; import { NotificationBarService } from './notification-bar.service'; import { Notification, NotificationType } from './notification-bar.models'; import { MessagesConfig } from './message-config'; import { Subscription } from 'rxjs'; import * as i0 from "@angular/core"; export declare const MESSAGES_CONFIG: InjectionToken; export declare class NotificationBarComponent implements OnInit, OnDestroy { private notificationBarService; private config?; notifications: Notification[]; defaults: { message: string; type: NotificationType; autoHide: boolean; hideDelay: number; isHtml: boolean; allowClose: boolean; hideOnHover: boolean; }; subscription: Subscription; constructor(notificationBarService: NotificationBarService, config?: MessagesConfig); ngOnInit(): void; addNotification(notification: Notification): void; hideNotification(notification: Notification): void; ngOnDestroy(): void; hideOnHover(notification: Notification): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; }