export declare function ensureDir(dir: string): Promise; export declare function writeFileAtomic(filePath: string, contents: string): Promise;