import React, { ReactNode } from 'react'; import { Design } from './Notification/Notification'; import { ResponsiveProp } from '../Utils/responsiveness'; export interface NotificationType { id?: string; design?: Design; title?: ReactNode; message?: ReactNode; actions?: ReactNode; delay?: number; compact?: ResponsiveProp; onClose?: (e: React.MouseEvent | null, data: NotificationType) => void; } export declare class NotificationService { private counter; private readonly subscribers; private notifications; private limit?; init(notify: () => void, limit?: number): void; get(): NotificationType[]; add(notification: NotificationType): void; plain(notification: NotificationType): void; success(notification: NotificationType): void; warning(notification: NotificationType): void; error(notification: NotificationType): void; accent(notification: NotificationType): void; remove(id: string): void; clear(): void; private broadcast; } export declare const Notifier: NotificationService;