import { createDefaultCoreModule, createDefaultSharedCoreModule } from "../../../../../langium/lib/default-module.js";
import { inject } from "../../../../../langium/lib/dependency-injection.js";
import { EmptyFileSystem } from "../../../../../langium/lib/workspace/file-system-provider.js";
import "../../../../../langium/lib/index.js";
import { AbstractMermaidTokenBuilder, CommonValueConverter, InfoGrammarGeneratedModule, MermaidGeneratedSharedModule, __name } from "./chunk-TCCFYFTB.js";
var InfoTokenBuilder = class extends AbstractMermaidTokenBuilder {
	static #e = __name(this, "InfoTokenBuilder");
	constructor() {
		super(["info", "showInfo"]);
	}
}, InfoModule = { parser: {
	TokenBuilder: /* @__PURE__ */ __name(() => new InfoTokenBuilder(), "TokenBuilder"),
	ValueConverter: /* @__PURE__ */ __name(() => new CommonValueConverter(), "ValueConverter")
} };
function createInfoServices(l = EmptyFileSystem) {
	let u = inject(createDefaultSharedCoreModule(l), MermaidGeneratedSharedModule), d = inject(createDefaultCoreModule({ shared: u }), InfoGrammarGeneratedModule, InfoModule);
	return u.ServiceRegistry.register(d), {
		shared: u,
		Info: d
	};
}
__name(createInfoServices, "createInfoServices");
export { InfoModule, createInfoServices };
