import type { IPublicTypeProjectSchema, ResultDir } from '@gant-lowcode/lowcode-types';
import type { FlattenFile } from './types/file';
import { IProjectBuilderOptions } from './types';
export declare const DEFAULT_WORKER_JS: string;
export declare const DEFAULT_TIMEOUT_IN_MS: number;
export declare function init({ workerJsUrl, }?: {
    workerJsUrl?: string;
}): Promise<void>;
export type Result = ResultDir | FlattenFile[];
export declare function generateCode(options: {
    solution: 'gant' | 'gantLegacy';
    builderOptions: IProjectBuilderOptions;
    schema: IPublicTypeProjectSchema;
    flattenResult?: boolean;
    workerJsUrl?: string;
    timeoutInMs?: number;
}): Promise<Result>;
