/** * 读取文件 * @param filePath 要读取的文件路径 * @returns fs */ export declare function read(path: string): Promise; /** * 读取文件buffer * @param path * @returns */ export declare function readBuff(path: string): Promise; /** * 重命名文件 * @param path 源文件 * @param newPath 需要重命名的文件名 * @returns */ export declare function rename(path: string, newName: string): Promise;