import { EPackage } from '../metamodel/api/epackage.js';
export interface GenOptions {
    overwriteImpl?: boolean;
    destinationPath?: string;
    attemptFormatWithPrettier?: boolean;
}
/**
 * (1) Parses an ECore file.
 * (2) Generates source code into destinationPath/src/lib
 * (3) Generates barrel file (index.ts) into destinationPath/src
 *
 * If not specified, destinationPath will be that of the model file.
 *
 * @param ecorePath
 * @param overwriteImpl
 * @param destinationPath
 */
export declare function generateFromEcore(ecorePath: string, overwriteImpl?: boolean, destinationPath?: string, attemptFormatWithPrettier?: boolean): Promise<string>;
/**
 * (1) Generates source code into destinationPath/src/lib
 * (2) Generates barrel file (index.ts) into destinationPath/src
 *
 * @param pkg
 * @param destPath
 * @param overwriteImpl
 */
export declare function generateFromEPackage(pkg: EPackage, destPath: string, overwriteImpl?: boolean, attemptInvokePrettier?: boolean): Promise<string>;
/**
 * Generates TypeScript code from an Ecore file with configurable options.
 *
 * @param ecorePath Path to the .ecore file
 * @param options Optional generation options
 */
export declare function genmodel(ecorePath: string, options?: GenOptions): Promise<string>;
//# sourceMappingURL=modelgenutils.d.ts.map