/** * 写文件 * @param filePath 要写文件的路径 * @param content 要写入的字符串 * @param overwrite 是否直接覆盖内容 * @param rewriteMsg 文件已存在时的提示语 */ export declare function writeToFile(filePath: string, content: string, overwrite?: boolean, rewriteMsg?: string): Promise; export declare function formatFileContent(str: string): string;