import { createDefaultCoreModule as e, createDefaultSharedCoreModule as t } from "../../../../../langium/lib/default-module.js";
import { inject as n } from "../../../../../langium/lib/dependency-injection.js";
import { EmptyFileSystem as r } from "../../../../../langium/lib/workspace/file-system-provider.js";
import { AbstractMermaidTokenBuilder as i, CommonValueConverter as a, MermaidGeneratedSharedModule as o, PacketGrammarGeneratedModule as s, __name as c } from "./chunk-K5T4RW27.js";
//#region ../../node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-FOC6F5B3.mjs
var l = class extends i {
	static {
		c(this, "PacketTokenBuilder");
	}
	constructor() {
		super(["packet"]);
	}
}, u = { parser: {
	TokenBuilder: /* @__PURE__ */ c(() => new l(), "TokenBuilder"),
	ValueConverter: /* @__PURE__ */ c(() => new a(), "ValueConverter")
} };
function d(i = r) {
	let a = n(t(i), o), c = n(e({ shared: a }), s, u);
	return a.ServiceRegistry.register(c), {
		shared: a,
		Packet: c
	};
}
c(d, "createPacketServices");
//#endregion
export { u as PacketModule, d as createPacketServices };
