import type React from "react"; import { type ToastOptions as ReactHotToastOptions } from "react-hot-toast"; import type { AlertProps as OriginalAlertProps } from "../Alert/Alert"; type AlertProps = Omit; type ToastFunction = (children: React.ReactNode, props?: AlertProps, options?: ToastOptions) => void; type ToastFunctions = { danger: ToastFunction; informative: ToastFunction; success: ToastFunction; warning: ToastFunction; }; declare const toast: ToastFunctions; export type ToastOptions = Omit; export default toast;