import { ReactNode } from 'react'; import { ToastPosition } from 'react-hot-toast'; export interface CustomToastOptions { id?: string; isDismissible?: boolean; position?: ToastPosition; duration?: number; } export default function useToast(): { renderToaster: () => import("react/jsx-runtime").JSX.Element; success: (message: string | ReactNode, options?: CustomToastOptions) => string; error: (message: string | ReactNode, options?: CustomToastOptions) => string; info: (message: string | ReactNode, options?: CustomToastOptions) => string; warning: (message: string | ReactNode, options?: CustomToastOptions) => string; loading: (message: import('react-hot-toast').Renderable | import('react-hot-toast').ValueFunction, options?: import('react-hot-toast').ToastOptions) => string; dismiss: (id: string) => void; remove: (id: string) => void; };