/// import * as pathTool from 'path'; export declare const io: { fs: any; home: any; pathTool: pathTool.PlatformPath; empty(dir: any): any; ensureDir(dir: any): any; resolveOptions(path: string, options?: any): string; globby(patterns: string | Array, options?: any): any; read(path: string, options?: any): any; write(path: string, content: any, options?: any): any; delete(path: any): any; exists(path: any, options?: any): any; existsSync(path: any, options?: any): any; /** * * @param pattern 文件特征字符串 */ rimraf(pattern: string, options?: {}): Promise; /** * 将文件或者路径 复制到另一个目录 */ copy(from: string, to: string): any; /** * 统一将路径分割符换成 / */ replaceSep(path: string): string; /** * 判断第一个参数是否是第二个参数的父路径 parent: /t/c child /t/c/d */ isSubDir(parent: string | Array, child: string | Array): boolean; };