import { j as jsxRuntimeExports } from "../../../../../_virtual/jsx-runtime.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,
  useUploader
};
//# sourceMappingURL=UploaderContext.js.map
