/**
 * Check if two files have identical content
 * @param path1 First file path
 * @param path2 Second file path
 * @returns True if files have identical content
 */
export declare function filesIdentical(path1: string, path2: string): Promise<boolean>;
/**
 * Ensure the parent directory of a file exists
 * @param filePath Path to ensure parent exists for
 */
export declare function ensureParentDir(filePath: string): Promise<void>;
/**
 * Read file as UTF-8 string, returning null if file doesn't exist
 * @param filePath Path to file to read
 * @returns File contents or null if file doesn't exist
 */
export declare function readFileOrNull(filePath: string): Promise<string | null>;
/**
 * Check if a path exists
 * @param filePath Path to check
 * @returns True if path exists
 */
export declare function pathExists(filePath: string): Promise<boolean>;
/**
 * Check if a path is a file
 * @param filePath Path to check
 * @returns True if path is a file
 */
export declare function isFile(filePath: string): Promise<boolean>;
/**
 * Check if a path is a directory
 * @param filePath Path to check
 * @returns True if path is a directory
 */
export declare function isDirectory(filePath: string): Promise<boolean>;
/**
 * List all files in a directory recursively
 * @param dir Directory to walk
 * @returns Array of file paths
 */
export declare function listFilesRecursive(dir: string): Promise<string[]>;
/**
 * Generate timestamped backup directory name with date and time
 * Format: <YYYY-MM-DD>-<HHmmss>
 * Example: 2026-01-19-143056
 * @returns Timestamped backup directory name
 */
export declare function generateBackupDirname(): string;
//# sourceMappingURL=file-operations.d.ts.map