export type ProgressStatus = 'not-started' | 'in-progress' | 'completed'; export type DateRange = { /** * The range's start date. */ from: Date | undefined; /** * The range's end date. */ to?: Date | undefined; }; export type ToasterPosition = 'top-left' | 'top-center' | 'top-right' | 'bottom-left' | 'bottom-center' | 'bottom-right'; export type ToastVariant = 'info' | 'success' | 'warning' | 'error' | 'loading' | 'message'; export type ToastActionVariant = 'default' | 'destructive'; export type ToastAction = { /** * The button's text. */ label: string; /** * The button's alt text. */ altText: string; /** * The function to execute when the button is clicked. */ onClick: () => void | Promise; /** * The button's variant. */ variant?: ToastActionVariant; };