/** * Path normalization utilities for privacy and display optimization * * Features: * - Hide username information in file paths * - Cross-platform compatibility (Windows, macOS, Linux) * - Performance optimization with global caching * - Type-safe implementation */ /** * Normalizes file paths by replacing user directory with tilde (~) * * Examples: * - macOS: `/Users/john/.agent-tars-workspace/file.html` → `~/.agent-tars-workspace/file.html` * - Windows: `C:\Users\john\.agent-tars-workspace\file.html` → `~\.agent-tars-workspace\file.html` * - Linux: `/home/john/.agent-tars-workspace/file.html` → `~/.agent-tars-workspace/file.html` * * @param absolutePath - The absolute file path to normalize * @returns Normalized path with user directory replaced by tilde, or original path if not a user path */ export declare function normalizeFilePath(absolutePath: string): string; export declare function normalizeFilePathsBatch(paths: string[]): string[]; export declare function clearPathNormalizationCache(): void; export declare function getPathNormalizationCacheSize(): number; export declare function isAbsolutePath(path: string): boolean; //# sourceMappingURL=pathNormalizer.d.ts.map