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