import { ILog } from '@aiot-toolkit/shared-utils'; import { IFileLaneContext, IFileParam } from 'file-lane'; import IJavascriptCompileOption from '../../../compiler/javascript/interface/IJavascriptCompileOption'; /** * AndroidUx */ declare class AndroidUx { /** * * 编译 ux 文件 * 1. 获取文件类型:app page 普通ux * 2. 使用`UxParse`解析 * 3. 使用`UxToTypeScript`转换 * 4. 使用`TypeScriptGenerator`生成 * @param params */ compileUx(params: { context: IFileLaneContext; file: IFileParam; compilerOption: IJavascriptCompileOption; }): Promise<{ files: IFileParam[]; logs: ILog[]; }>; private getFileType; } export default AndroidUx;