export declare function writeFile(filepath: string, contents: string): Promise; export declare function moveFile(from: string, to: string): Promise; /** * 命令是否在根目录执行 */ export declare function isInRoot(): boolean; /** 获取文件md5 */ export declare function getMd5(fileContent: string): string; /** 获取当前包名 */ export declare function getPackageName(): any;