import { NOTIFICATION_TYPES } from '../constants' export type NotificationType = (typeof NOTIFICATION_TYPES)[keyof typeof NOTIFICATION_TYPES] export type NotificationOptions = { // TODO: Add icon option id?: string timeout?: number buttonOptions?: { href?: string label: string rel?: string target?: string onClick?: () => void } } export type ConfirmNotificationOptions = { id?: string danger?: boolean primaryButtonText?: string secondaryButtonText?: string body?: string modalWidth?: number closeOnConfirm?: boolean onConfirm?: () => void onClose?: () => void } export type NotificationMessage = { id: string }