import { ToastDuration, ToastOptions } from "./toast.types.js";
import { ReactNode } from "react";

//#region src/toast/useToast.d.ts
declare const defaultDuration = "fast";
declare const fastToastDuration = 4000;
declare const mediumToastDuration = 6000;
declare const slowToastDuration = 8000;
declare const useToast: () => {
  showToast: (options?: ToastOptions) => void;
  hideToast: (id: string) => void;
  showInfo: (text: ReactNode, duration?: ToastDuration, options?: Omit<ToastOptions, "text" | "status" | "duration">) => void;
  showSuccess: (text: ReactNode, duration?: ToastDuration, options?: Omit<ToastOptions, "text" | "status" | "duration">) => void;
  showWarning: (text: ReactNode, duration?: ToastDuration, options?: Omit<ToastOptions, "text" | "status" | "duration">) => void;
  showError: (text: ReactNode, duration?: ToastDuration, options?: Omit<ToastOptions, "text" | "status" | "duration">) => void;
  showLoading: (text: ReactNode, duration?: ToastDuration, options?: Omit<ToastOptions, "text" | "status" | "duration">) => void;
};
//#endregion
export { defaultDuration, fastToastDuration, mediumToastDuration, slowToastDuration, useToast };

//# sourceMappingURL=useToast.d.ts.map