import { jsx } from "react/jsx-runtime";
import { useContext, createContext } from "react";
const UploaderContext = createContext({
  onImageUpload: async () => {
    throw new Error("Image upload not implemented");
  }
});
const UploaderProvider = ({ children, onImageUpload }) => {
  return /* @__PURE__ */ jsx(UploaderContext.Provider, { value: { onImageUpload }, children });
};
const useUploader = () => {
  return useContext(UploaderContext);
};
export {
  UploaderProvider as U,
  useUploader as u
};
//# sourceMappingURL=UploaderContext.DwS2olmD.js.map
