export declare function pathExists(filePath: string): Promise; /** Exported for tests: parse `du -sk` output ("\t") into bytes. */ export declare function parseDuOutput(stdout: string): number | null; export declare function getDirectorySize(dirPath: string, _skipLargeDirectories?: boolean, timeoutMs?: number): Promise; export declare function getEstimatedDirectorySize(dirPath: string): Promise; export declare function safeRmrf(targetPath: string): Promise; export declare function createDirectoryIfNotExists(dirPath: string): Promise; export declare function isWritable(dirPath: string): Promise; export declare function getDiskSpace(dirPath: string): Promise<{ free: number; total: number; } | null>; export declare function getFileModificationTime(filePath: string): Promise; export declare function sanitizePath(inputPath: string): string; export declare function getCacheSize(dirPath: string): Promise; export declare function clearPaths(paths: string[]): Promise; /** * Get directory size with caching (2-minute TTL) * Use this for repeated size calculations on the same paths */ export declare function getCachedDirectorySize(dirPath: string, skipLargeDirectories?: boolean, timeoutMs?: number): Promise; /** * Get estimated directory size with caching (2-minute TTL) */ export declare function getCachedEstimatedDirectorySize(dirPath: string): Promise; /** * Invalidate size cache for a path (call after clearing) */ export declare function invalidateSizeCache(dirPath: string): void; /** * Invalidate all size caches matching a prefix */ export declare function invalidateSizeCachePrefix(prefix: string): void; //# sourceMappingURL=fs.d.ts.map