/**
 * File utilities for Living Docs Sync
 * @module core/living-docs/sync-helpers/file-utils
 */
import type { Logger } from '../../../utils/logger.js';
/**
 * Check if a path exists
 */
export declare function pathExists(filePath: string): Promise<boolean>;
/**
 * Read and parse JSON file
 */
export declare function readJson(filePath: string): Promise<any>;
/**
 * Ensure directory exists
 */
export declare function ensureDir(dirPath: string): Promise<void>;
/**
 * Find existing user story file in feature folder
 */
export declare function findExistingUserStoryFile(projectPath: string, userStoryId: string, logger: Logger): Promise<string | null>;
/**
 * Clean up duplicate user story files
 */
export declare function cleanupDuplicateFiles(projectPath: string, logger: Logger): Promise<void>;
/**
 * Clean up temporary files
 */
export declare function cleanupTempFiles(projectPath: string, logger: Logger): Promise<void>;
//# sourceMappingURL=file-utils.d.ts.map