///
import { NotificationType } from "./components/GenericNotification";
type Modify = Omit & R;
export type ToastNotification = {
id: string;
type: NotificationType;
title: string;
message: React.ReactNode;
onHide?: () => void;
automationId?: string;
persistent?: boolean;
/**
* **Deprecated:**
* @deprecated Automatic hiding is an accessibility anti-pattern, violating WCAG '2.2 Enough Time' criteria. This prop will be removed in an upcoming breaking change.
*/
autohide?: boolean;
/**
* **Deprecated:**
* @deprecated Automatic hiding is an accessibility anti-pattern, violating WCAG '2.2 Enough Time' criteria. This prop will be removed in an upcoming breaking change.
*/
autohideDelay?: "short" | "long";
};
export type ToastNotificationWithOptionals = Modify;
export type AddToastNotification = (notification: ToastNotificationWithOptionals) => void;
export type RemoveToastNotification = (notificationId: string) => void;
export type ClearToastNotifications = () => void;
export {};