export declare function ensureFileExists(filePath: string): Promise; export declare function parseJsonOrYamlFile(filePath: string): Promise; export declare function ensureDirectoryForFile(filePath: string): Promise; export interface WriteFileOptions { readonly overwrite?: boolean; } export declare function writeFileSafe(filePath: string, content: string, options?: WriteFileOptions): Promise;