"use strict";
var _a;
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
const chunkFPAJGGOC = require("./dist-chunks-mermaid-parser.core-chunk-FPAJGGOC.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 PacketTokenBuilder = (_a = class extends chunkFPAJGGOC.AbstractMermaidTokenBuilder {
  constructor() {
    super(["packet"]);
  }
}, chunkFPAJGGOC.__name(_a, "PacketTokenBuilder"), _a);
var PacketModule = {
  parser: {
    TokenBuilder: /* @__PURE__ */ chunkFPAJGGOC.__name(() => new PacketTokenBuilder(), "TokenBuilder"),
    ValueConverter: /* @__PURE__ */ chunkFPAJGGOC.__name(() => new chunkFPAJGGOC.CommonValueConverter(), "ValueConverter")
  }
};
function createPacketServices(context = fileSystemProvider.EmptyFileSystem) {
  const shared = dependencyInjection.inject(
    defaultModule.createDefaultSharedCoreModule(context),
    chunkFPAJGGOC.MermaidGeneratedSharedModule
  );
  const Packet = dependencyInjection.inject(
    defaultModule.createDefaultCoreModule({ shared }),
    chunkFPAJGGOC.PacketGeneratedModule,
    PacketModule
  );
  shared.ServiceRegistry.register(Packet);
  return { shared, Packet };
}
chunkFPAJGGOC.__name(createPacketServices, "createPacketServices");
exports.PacketModule = PacketModule;
exports.createPacketServices = createPacketServices;
//# sourceMappingURL=dist-chunks-mermaid-parser.core-chunk-76Q3JFCE.cjs.map
