import * as React from "react";
import { ToastContext } from "./toast.context.js";
const useToast = () => {
  const { addToast } = React.useContext(ToastContext);
  return addToast;
};
const useDismissToast = () => {
  const { dismissToastByKey } = React.useContext(ToastContext);
  return dismissToastByKey;
};
export {
  useDismissToast,
  useToast
};
//# sourceMappingURL=toast.hooks.js.map
