"use strict";
var _a;
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
const chunk4KMFLZZN = require("./dist-chunks-mermaid-parser.core-chunk-4KMFLZZN.cjs");
const fileSystemProvider = require("../../langium/lib-workspace-file-system-provider.cjs");
const dependencyInjection = require("../../langium/lib-dependency-injection.cjs");
const defaultModule = require("../../langium/lib-default-module.cjs");
var InfoTokenBuilder = (_a = class extends chunk4KMFLZZN.AbstractMermaidTokenBuilder {
  constructor() {
    super(["info", "showInfo"]);
  }
}, chunk4KMFLZZN.__name(_a, "InfoTokenBuilder"), _a);
var InfoModule = {
  parser: {
    TokenBuilder: /* @__PURE__ */ chunk4KMFLZZN.__name(() => new InfoTokenBuilder(), "TokenBuilder"),
    ValueConverter: /* @__PURE__ */ chunk4KMFLZZN.__name(() => new chunk4KMFLZZN.CommonValueConverter(), "ValueConverter")
  }
};
function createInfoServices(context = fileSystemProvider.EmptyFileSystem) {
  const shared = dependencyInjection.inject(
    defaultModule.createDefaultSharedCoreModule(context),
    chunk4KMFLZZN.MermaidGeneratedSharedModule
  );
  const Info = dependencyInjection.inject(
    defaultModule.createDefaultCoreModule({ shared }),
    chunk4KMFLZZN.InfoGeneratedModule,
    InfoModule
  );
  shared.ServiceRegistry.register(Info);
  return { shared, Info };
}
chunk4KMFLZZN.__name(createInfoServices, "createInfoServices");
exports.InfoModule = InfoModule;
exports.createInfoServices = createInfoServices;
//# sourceMappingURL=dist-chunks-mermaid-parser.core-chunk-T44TD3VJ.cjs.map
