import { IWeAppFile, IWeAppData, CodeType, IStandard, IWebRuntimeAppData } from '../types'; /** * WeApps 的文件系统 * 配置文件 * LowCode * JsonSchema */ /** * 将原本的 AppData 拆解为文件列表 */ export declare function appDataToFileList(appData: IWeAppData, isComp: boolean): IWeAppFile[]; export declare function fileListToAppData(fileList: IWeAppFile[]): IWeAppData; export declare function compLibFileListToAppData(fileList: IWeAppFile[]): IWeAppData; export declare function standardDataToAppData(data: IStandard, isCompLib: boolean): IWeAppData; export declare function runtimeDataToFileList(runtimeData: IWebRuntimeAppData, isComp: boolean): IWeAppFile[]; export declare function fileListToRuntimeData(fileList: IWeAppFile[]): IWebRuntimeAppData; export declare function compLibFileListToRuntimeData(fileList: IWeAppFile[]): IWebRuntimeAppData; export declare function standardDataToFileList(standardData: IStandard, isComp: boolean): IWeAppFile[]; export declare function compLibFileListToStandardData(fileList: IWeAppFile[]): IStandard; /** * 将文件列表组合成 JSON SCHEMA */ export declare function fileListToStandardData(fileList: IWeAppFile[]): IStandard; export declare function getHandleFileType(isComp: boolean): "page" | "component"; export declare function handleItemJson(standardData: IStandard, isComp: boolean): { name: string; pageId: string; path: string; type: string; code: string; }[]; export declare function getExtByType(type: CodeType): ".less" | ".js" | ".json";