import type { ProjectSchema, ResultDir } from '@alilc/lowcode-types'; import type { FlattenFile } from './types/file'; export declare const DEFAULT_WORKER_JS: string; export declare const DEFAULT_TIMEOUT_IN_MS: number; export declare function init({ workerJsUrl, }?: { workerJsUrl?: string; }): Promise; export type Result = ResultDir | FlattenFile[]; export declare function generateCode(options: { solution: 'icejsccs' | 'icejs' | 'rax' | 'normal'; schema: ProjectSchema; flattenResult?: boolean; workerJsUrl?: string; timeoutInMs?: number; }): Promise;