/** * Path Validator * Validates file system paths and prevents directory traversal attacks * * NOTE: This validator provides basic validation. * For comprehensive cross-platform path resolution and validation, * use PathResolverService from @/domain/services/path-resolver.service */ export declare class PathValidator { private readonly isWindows; constructor(); /** * Validates if a string is a valid path * @param filePath - The path to validate * @returns true if valid, false otherwise */ isValid(filePath: any): boolean; /** * Validates Windows-specific path format */ private isValidWindowsPath; /** * Validates Unix-specific path format (Mac/Linux) */ private isValidUnixPath; /** * Checks if a path is safe (no directory traversal) * @param filePath - The path to check * @returns true if safe, false otherwise */ isSafe(filePath: string): boolean; /** * Normalizes a file path using platform-specific separators * @param filePath - The path to normalize * @returns Normalized path */ normalize(filePath: string): string; /** * Check if path is absolute * Cross-platform compatible */ isAbsolute(filePath: string): boolean; } //# sourceMappingURL=path.validator.d.ts.map