import { Weshop } from '../../typings/index'; /** * 拉取依赖到项目目录下 * @param cwd 最终项目地址 */ export declare function cloneDependencies(cwd: string, logs?: Weshop.Log[]): Promise; /** * 通过子包路径获取其合并后的主依赖路径,如果不是依赖则返回空字符串 * @param subDepPath string 子路径 */ export declare function getMainDepPathsBySubDepPath(modulePathString: string, subPackageName: string, filePath: string): Weshop.MainDepPath; /** * 操作路径,weshop.config 由主框来管理 * @param cwd 文件路径 */ export declare function updateWeshopConfig(cwd?: string): Promise; //# sourceMappingURL=dependency.d.ts.map