export declare function writeFileAtomicWithMode(filePath: string, data: string): void; /** 短名别名:tools 侧覆盖用户资产(.gd/.tscn)的写入点使用。 */ export declare const writeFileAtomic: typeof writeFileAtomicWithMode; /** W5(2026-09-20 批2): ensureDir 原住 src/helpers.ts 废弃桶,收编至共享 fs 工具集。 * 语义:确保 p 的父目录存在(不存在则递归创建)。函数体零变化,纯搬家。 */ export declare function ensureDir(p: string): void;