import { watch as i, toValue as o } from "vue";
import { ensureMonacoEnvironment as a } from "./helpers/ensure-monaco-environment.js";
import { applyScalarTheme as n } from "./helpers/theme/apply-scalar-theme.js";
import "monaco-editor/esm/vs/editor/contrib/folding/browser/folding.css";
import "monaco-editor/esm/vs/base/browser/ui/codicons/codicon/codicon.css";
const s = ({
  theme: r,
  darkMode: t
}) => {
  a(), i([() => o(r), () => o(t)], ([m, e]) => n(m, e), {
    immediate: !0
  });
};
export {
  s as useMonacoEditorConfiguration
};
