import { Dictionary } from '@aiot-toolkit/shared-utils'; declare class UxCompileUtil { static readonly DIGEST_ZIP_DIR = "META-INF"; static clean(dirList: string[]): void; /** * 从项目配置文件中解析出入口文件 * @param config 项目配置文件的内容,应为json对象 * @param codeDir 源码目录 * @param projectPath 项目目录 * @returns {[入口名]:源文件路径} */ static resolveEntries(config: any, codeDir: string, projectPath: string): Dictionary; /** * 通过无后缀的文件名路径获取存在的文件路径 * * @example * const path = resolveFile('/project/a') * // path = '/project/a.ux' * @param filePath */ static resolveFile(filePath: string): string; /** * 获取ux文件支持的后缀列表 * @param withDot * @returns */ static getExtensionList(withDot?: boolean): string[]; } export default UxCompileUtil;