import { Weshop, OldWeshop } from '../../typings/index'; /** * 旧版 Weshop 配置和新版配置的兼容层 * @param config 读取的 JSON 内容 */ export declare function compatibleWeshopConfig(config: Weshop.Config | OldWeshop.Config): Weshop.Config; export declare function getBranchByRepo(repo: string): { url: string; branch: string; }; export declare function transferDependency(dep: OldWeshop.Dependency): Weshop.Dependency; export declare function transferEnv(oldConfig: OldWeshop.Config): Weshop.EnvConfig; //# sourceMappingURL=compatible.d.ts.map