import React from 'react'; export interface ToastMessage { id: string; title: string; description?: string; type: 'success' | 'error' | 'warning' | 'info'; duration?: number; } export interface ToastProps extends React.HTMLAttributes { /** * The toast message */ message: ToastMessage; /** * Callback when the toast is closed */ onClose: (id: string) => void; } /** * Toast component for notifications * * @example * ```tsx * console.log(id)} * /> * ``` */ export declare const Toast: React.ForwardRefExoticComponent>; /** * Hook for managing multiple toasts */ export declare const useToast: () => { toasts: ToastMessage[]; addToast: (title: string, options?: { description?: string; type?: "success" | "error" | "warning" | "info"; duration?: number; }) => string; removeToast: (id: string) => void; }; //# sourceMappingURL=Toast.d.ts.map