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 slowToastDuration = 8000;
declare const useToast: () => {
  showToast: (options?: ToastOptions) => void;
  hideToast: (id: string) => void;
  showInfo: (text: ReactNode, duration?: ToastDuration) => void;
  showSuccess: (text: ReactNode, duration?: ToastDuration) => void;
  showWarning: (text: ReactNode, duration?: ToastDuration) => void;
  showError: (text: ReactNode, duration?: ToastDuration) => void;
  showLoading: (text: ReactNode, duration?: ToastDuration) => void;
};
//#endregion
export { defaultDuration, fastToastDuration, slowToastDuration, useToast };

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