export type NotificationItem = { text: string; position?: NotificationPosition; time?: number; type?: NotificationType; debug?: boolean; }; export type NotificationInstance = { index: number; text: string; position: NotificationPosition; timer?: NodeJS.Timeout; type: NotificationType; }; export type NotificationsMap = Map; export type NotificationPosition = 'top-left' | 'top-center' | 'top-right' | 'bottom-left' | 'bottom-center' | 'bottom-right'; export type NotificationType = 'error' | 'success' | 'warning'; export interface NotificationsService { add: (notification: NotificationItem) => void; delete: (index: number) => void; }