export interface NotificationProps { notifications: HermesNotification[]; error?: boolean; noPerms?: boolean; onClick?: () => void; onNotificationClick?: OnNotificationClick; } export declare enum NotificationErrorState { ERROR = "ERROR", NO_PERMS = "NO_PERMS" } export declare type OnNotificationClick = (notification?: HermesNotification) => void; export declare enum HermesNotificationType { INFO = "INFO", ACTION = "ACTION" } export declare enum HermesNotificationSenderType { system = "system", user = "user" } export declare enum HermesNotificationSender { KDS = "KDS", KIS = "KIS", ERROR = "Error", PERMS = "Permisos" } export declare enum HermesNotificationPriority { HIGH = "HIGH", NORMAL = "NORMAL" } export interface HermesNotificationDestinatary { type: string; value: string; } export interface HermesNotification { id: string; to: HermesNotificationDestinatary; payload: { title: string; body: string; image: string; data: Record; }; type: HermesNotificationType; sender: { type: HermesNotificationSenderType; id: HermesNotificationSender | string; }; action?: { redirectUrl: string; name: string; }; createdAt: string; priority: HermesNotificationPriority; }