export declare enum ToastNotificationType { Success = 0, Warning = 1, Danger = 2, Info = 3, Loading = 4 } export type ToastNotification = { title?: string; /** * Optionally provide extra text */ description?: string; type: ToastNotificationType; /** * Optionally specify a CTA link on the right */ cta?: { title: string; url?: string; onClick?: (e: MouseEvent) => void; }; /** * Whether or not the toast should disappear automatically after a while. * Defaults to true */ autoClose?: boolean; id?: string; };