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, MermaidGeneratedSharedModule, RadarGrammarGeneratedModule, __name } from "./chunk-TCCFYFTB.js";
var RadarTokenBuilder = class extends AbstractMermaidTokenBuilder {
	static #e = __name(this, "RadarTokenBuilder");
	constructor() {
		super(["radar-beta"]);
	}
}, RadarModule = { parser: {
	TokenBuilder: /* @__PURE__ */ __name(() => new RadarTokenBuilder(), "TokenBuilder"),
	ValueConverter: /* @__PURE__ */ __name(() => new CommonValueConverter(), "ValueConverter")
} };
function createRadarServices(l = EmptyFileSystem) {
	let u = inject(createDefaultSharedCoreModule(l), MermaidGeneratedSharedModule), d = inject(createDefaultCoreModule({ shared: u }), RadarGrammarGeneratedModule, RadarModule);
	return u.ServiceRegistry.register(d), {
		shared: u,
		Radar: d
	};
}
__name(createRadarServices, "createRadarServices");
export { RadarModule, createRadarServices };
