import { TemplateRef } from "@angular/core"; export interface INotificationItem

{ id: string | number; showTime: number; timeout: number; inProgress: boolean; template: TemplateRef | null | void; payload?: P; closeFn?: (id: string) => void; } export interface IDefaultNotificationPayload { type: string; title: string | number; description: string | number; addedDescription?: string | number; template?: TemplateRef | null; templatePayload: T | null; timeout?: number; }