interface Ilayer { [extName: string]: { path: string; }; } export declare function formatLayers(...multiLayers: Ilayer[]): { npm: {}; oss: {}; }; export declare function commonPrefix(arr: string[]): string; export declare const uselessFilesMatch: string[]; export declare const removeUselessFiles: (target: string) => Promise; export declare const analysisDecorator: (cwd: string, spec?: any, core?: any) => Promise<{ funcSpec: any; applicationContext: any; }>; interface ModInfo { name: string; version: string; } export declare const findModuleFromNodeModules: (moduleInfoList: ModInfo[], baseNodeModuleDir: string, fromNodeModulesPath: string, moduleMap?: { [modName: string]: { version: string; path: string; }; }) => Promise<{ [modName: string]: { version: string; path: string; }; }>; export declare const copyFromNodeModules: (moduleInfoList: ModInfo[], fromNodeModulesPath: string, targetNodeModulesPath: string) => Promise; export {}; //# sourceMappingURL=utils.d.ts.map