/** * 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; /** * Read and parse JSON file */ export declare function readJson(filePath: string): Promise; /** * Ensure directory exists */ export declare function ensureDir(dirPath: string): Promise; /** * Find existing user story file in feature folder */ export declare function findExistingUserStoryFile(projectPath: string, userStoryId: string, logger: Logger): Promise; /** * Clean up duplicate user story files */ export declare function cleanupDuplicateFiles(projectPath: string, logger: Logger): Promise; /** * Clean up temporary files */ export declare function cleanupTempFiles(projectPath: string, logger: Logger): Promise; //# sourceMappingURL=file-utils.d.ts.map