/******************************************************************************
 * 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 { LangiumConfig } from './package-types.js';
export declare function generate(options: GenerateOptions): Promise<boolean>;
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<GeneratorResult>;
export declare function generateTypes(options: ExtractTypesOptions): Promise<void>;
//# sourceMappingURL=generate.d.ts.map