import { Notification, NotificationFilterFunction, NotificationHandler, NotificationHandlerType } from "../NotificationManager"; /** * @private */ export declare abstract class BaseNotificationHandler implements NotificationHandler { abstract readonly id: NotificationHandlerType; private handledNotifications; constructor(); /** * Handle / show notification. * * @abstract * @param {Notification} n Notification to be shown * @private */ abstract handleNotification(n: Notification): void; /** * Dismiss the notification. * * @abstract * @param {Notification} n Notification to be dismissed * @private */ abstract dismissNotification(n: Notification): void; /** * Whether notification should be handled by the handler. * * @abstract * @param {Notification} n Notification to be dismissed * @param mode Notification mode * @returns {boolean} whether handler is capable of handling the notification * @private */ abstract canHandleNotification(n: Notification, mode: string): boolean; private _enabled; private _mode; get enabled(): boolean; set enabled(value: boolean); get mode(): string; set mode(value: string); private _filters; getFilters(): Array; clearFilters(): void; addFilter(filter: NotificationFilterFunction): Function; private isFiltered; private shouldProcess; private handleNotificationAdded; private handleNotificationDismissed; }