/** * 文件工具模块 */ /** * 确保目录存在 */ export declare function ensureDir(path: string): Promise; /** * 读取 JSON 文件 */ export declare function readJson(path: string): Promise; /** * 写入 JSON 文件 */ export declare function writeJson(path: string, data: unknown): Promise; /** * 读取文本文件 */ export declare function readText(path: string): Promise; /** * 写入文本文件 */ export declare function writeText(path: string, content: string): Promise; //# sourceMappingURL=file.d.ts.map