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

//# sourceMappingURL=chunk-MPE355IW.js.map