/// declare type Status = 'success' | 'warning' | 'error' | 'info'; declare type Position = 'top-left' | 'top-center' | 'top-right' | 'bottom-left' | 'bottom-center' | 'bottom-right' | 'bottom'; export interface ToastConfig { /** * Title of the toast notification. * This should be a short, concise text that indicates the nature of the message (e.g., "Success", "Error Occurred"). */ title: string | React.ReactNode; /** * Status of the toast notification. * It sets the visual appearance and icon based on the type of message being conveyed. * Defaults to 'info'. */ status?: Status; /** * Short description providing additional context or details about the notification. * This is optional and can be left empty if a title alone is sufficient. */ description?: string | React.ReactNode; /** * @deprecated we only support bottom-right */ position?: Position; /** * Duration in milliseconds that the toast should be visible. * Defaults to 5000ms (5 seconds). */ duration?: number; } export {};