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, InfoGrammarGeneratedModule as o, MermaidGeneratedSharedModule as s, __name as c } from "./chunk-K5T4RW27.js";
//#region ../../node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-KGLVRYIC.mjs
var l = class extends i {
	static {
		c(this, "InfoTokenBuilder");
	}
	constructor() {
		super(["info", "showInfo"]);
	}
}, u = { parser: {
	TokenBuilder: /* @__PURE__ */ c(() => new l(), "TokenBuilder"),
	ValueConverter: /* @__PURE__ */ c(() => new a(), "ValueConverter")
} };
function d(i = r) {
	let a = n(t(i), s), c = n(e({ shared: a }), o, u);
	return a.ServiceRegistry.register(c), {
		shared: a,
		Info: c
	};
}
c(d, "createInfoServices");
//#endregion
export { u as InfoModule, d as createInfoServices };
