/** * File system utilities for iOS target plugin operations. * Provides safe, convenient wrappers for common file operations. */ /** * Ensure a directory exists, creating it recursively if needed. */ export declare function ensureDirectoryExists(dirPath: string): void; /** * Write content to a file, ensuring the directory exists first. */ export declare function writeFileSafe(filePath: string, content: string): void; /** * Copy a file, ensuring the destination directory exists. */ export declare function copyFileSafe(source: string, destination: string): void; /** * Copy a directory recursively, ensuring the destination exists. */ export declare function copyDirectorySafe(source: string, destination: string): void; /** * Read a file if it exists, otherwise return undefined. */ export declare function readFileIfExists(filePath: string): string | undefined; /** * Check if a file exists and is a file (not a directory). */ export declare function isFile(filePath: string): boolean; /** * Check if a path exists and is a directory. */ export declare function isDirectory(dirPath: string): boolean; //# sourceMappingURL=file.d.ts.map