/****************************************************************************** * Copyright 2021 TypeFox GmbH * This program and the accompanying materials are made available under the * terms of the MIT License, which is available in the project root. ******************************************************************************/ import { type LangiumGrammarServices } from 'langium/grammar'; import { type LanguageInfo } from './generator/ast-generator.js'; import type { LangiumConfig } from './package-types.js'; export declare function generate(options: GenerateOptions): Promise; export interface GenerateOptions { file?: string; mode?: 'development' | 'production'; watch?: boolean; } export interface ExtractTypesOptions { grammar: string; output?: string; force: boolean; } export interface GeneratorResult { success: boolean; files: string[]; } export declare function runGenerator(config: LangiumConfig, options: GenerateOptions): Promise; export declare function embedGrammars(languages: LanguageInfo[], config: LangiumConfig, options: GenerateOptions, grammarServices: LangiumGrammarServices): Promise; export declare function generateTypes(options: ExtractTypesOptions): Promise; //# sourceMappingURL=generate.d.ts.map