import n from "../index.js";
import "react/jsx-runtime";
import "react";
const s = {
  formules_schema: {},
  functions: {},
  params: {},
  mainConfig: { type: "govco", formulario_id: NaN, impuesto_id: "" },
  formString: "",
  submitCallback: () => {
  },
  cancelCallback: () => {
  },
  formSchema: {},
  imageBaseURL: ""
}, { Provider: l, useSelectorContext: m } = n(s), u = l, p = () => {
  const [e, a] = m((o) => o.modalInfo), t = (o) => {
    a((r) => {
      r.modalInfo = o;
    });
  };
  return {
    closeModal: () => {
      e.type && t(void 0);
    },
    setModal: t,
    modalInfo: e
  };
};
export {
  u as GeneralStoreProvider,
  l as Provider,
  m as useGeneralForm,
  p as useModalContext
};
