/** * Shared Toast Utilities * * Theme-aware toast notification system using Sonner with comprehensive * styling, icons, and theme integration for consistent user experience * across all modules. * * Features: * - Theme-aware styling (light/dark/system) * - Lucide React icons for each toast type * - Consistent styling with shadcn/ui components * - TypeScript support with proper interfaces * - Convenience functions for common use cases */ export declare enum TOAST_VARIANT { ERROR = "error", INFO = "info", SUCCESS = "success", WARNING = "warning" } interface ToastConfig { action?: { label: string; onClick: () => void; }; description: string; duration?: number; theme?: "light" | "dark" | "system"; title?: string; variant: TOAST_VARIANT; } export declare const generateToast: ({ variant, title, description, duration, action, }: ToastConfig) => string | number; export declare const generateThemeToast: ({ variant, title, description, duration, action, theme, }: ToastConfig & { theme?: "light" | "dark" | "system"; }) => string | number; export declare const showSuccessToast: (description: string, title?: string) => void; export declare const showErrorToast: (description: string, title?: string) => void; export declare const showWarningToast: (description: string, title?: string) => void; export declare const showInfoToast: (description: string, title?: string) => void; export declare const showThemeSuccessToast: (description: string, title?: string, theme?: "light" | "dark" | "system") => void; export declare const showThemeErrorToast: (description: string, title?: string, theme?: "light" | "dark" | "system") => void; export declare const showThemeWarningToast: (description: string, title?: string, theme?: "light" | "dark" | "system") => void; export declare const showThemeInfoToast: (description: string, title?: string, theme?: "light" | "dark" | "system") => void; export {};