import { jsx as i } from "react/jsx-runtime";
import { useContext as n, createContext as u, useState as s } from "react";
const r = u(void 0);
function v({ children: e }) {
  const [t, o] = s([]);
  return /* @__PURE__ */ i(r.Provider, { value: { fileInput: t, setFileInput: o }, children: e });
}
function c() {
  const e = n(r);
  if (!e)
    throw new Error("use File Provider inside a FileProvider");
  return e;
}
export {
  v as FileProvider,
  c as useFileProvider
};
//# sourceMappingURL=FileProvider.es.js.map
