var _a;
import { AbstractMermaidTokenBuilder, __name, MermaidGeneratedSharedModule, GitGraphGeneratedModule, CommonValueConverter } from "./dist-chunks-mermaid-parser.core-chunk-4KMFLZZN.js";
import { EmptyFileSystem } from "../../langium/lib-workspace-file-system-provider.js";
import { inject } from "../../langium/lib-dependency-injection.js";
import { createDefaultSharedCoreModule, createDefaultCoreModule } from "../../langium/lib-default-module.js";
var GitGraphTokenBuilder = (_a = class extends AbstractMermaidTokenBuilder {
  constructor() {
    super(["gitGraph"]);
  }
}, __name(_a, "GitGraphTokenBuilder"), _a);
var GitGraphModule = {
  parser: {
    TokenBuilder: /* @__PURE__ */ __name(() => new GitGraphTokenBuilder(), "TokenBuilder"),
    ValueConverter: /* @__PURE__ */ __name(() => new CommonValueConverter(), "ValueConverter")
  }
};
function createGitGraphServices(context = EmptyFileSystem) {
  const shared = inject(
    createDefaultSharedCoreModule(context),
    MermaidGeneratedSharedModule
  );
  const GitGraph = inject(
    createDefaultCoreModule({ shared }),
    GitGraphGeneratedModule,
    GitGraphModule
  );
  shared.ServiceRegistry.register(GitGraph);
  return { shared, GitGraph };
}
__name(createGitGraphServices, "createGitGraphServices");
export {
  GitGraphModule,
  createGitGraphServices
};
//# sourceMappingURL=dist-chunks-mermaid-parser.core-chunk-BN7GFLIU.js.map
