export declare function genEncryptEasyComModuleIndex(platform: typeof process.env.UNI_UTS_PLATFORM, components: Record): string; export declare function parseUniModulesWithComponents(inputDir: string): Record>; /** * 解析 easyCom 组件列表 * @param pluginId * @param inputDir * @returns */ export declare function parseEasyComComponents(pluginId: string, inputDir: string, detectBinary?: boolean): Record; export declare function findEncryptUniModules(inputDir: string, cacheDir?: string): Record; export declare function findUploadEncryptUniModulesFiles(uniModules: Record, platform: typeof process.env.UNI_UTS_PLATFORM, inputDir: string): Record; export declare function packUploadEncryptUniModules(uniModules: Record, platform: typeof process.env.UNI_UTS_PLATFORM, inputDir: string, cacheDir: string): { zipFile: string; modules: string[]; }; interface EncryptPackageJson { id: string; version: string; uni_modules: { dependencies: string[]; artifacts: { env: { compilerVersion: string; } & Record; apis: string[]; components: string[]; scopedSlots: string[]; declaration: string; }; }; } export declare function initCheckEnv(): Record; export declare function resolveEncryptUniModule(id: string, platform: typeof process.env.UNI_UTS_PLATFORM, isX?: boolean): string | undefined; export declare function checkEncryptUniModules(inputDir: string, params: { mode: 'development' | 'production'; packType: 'debug' | 'release'; compilerVersion: string; appid: string; appname: string; platform: typeof process.env.UNI_UTS_PLATFORM; 'uni-app-x': boolean; }): Promise<{} | undefined>; export declare function parseUniModulesArtifacts(): { name: string; package: string; scopedSlots: string[]; declaration: string; }[]; export {};