/** * Utility class for path normalization (case-preserving). * * Key principles: * - File paths are case-preserving on all platforms (for Git case-sensitive repositories) * - Plugin IDs use lowercase normalization (via normalizeForPluginId in WorkspaceResolver) * - Path comparison is case-insensitive on Windows, case-sensitive on Unix */ export declare class PathNormalizer { /** * Normalizes a file path (case-preserving). * * Rules: * - Windows → Unix slashes (\ → /) * - Trailing slashes entfernen * - Multiple slashes vereinfachen * - Case BEHALTEN (case-preserving) * * @param filePath Path to normalize * @returns Normalized path (POSIX-style, case-preserved) */ static normalizePath(filePath: string): string; /** * Cross-platform path comparison (case-insensitive on Windows, case-sensitive on Unix). * * @param p1 First path * @param p2 Second path * @returns True if paths are equal (considering platform case-sensitivity) */ static pathsEqual(p1: string, p2: string): boolean; /** * Generates lookup variants for queries (forward slashes, leading slash, plugin prefixes, etc.). * * This is used for querying where paths might be stored with different formats: * - With/without plugin prefixes (5d-database-plugin/, documentation-system-plugin/, mcp-server/) * - With/without leading slashes * - Different slash directions (normalized to forward slashes) * * Note: This is for QUERIES only, not for storage. Storage uses normalizePath(). * * @param filePath Path to generate variants for * @returns Array of path variants for query matching */ static generateLookupVariants(filePath: string): string[]; } //# sourceMappingURL=path-normalizer.d.ts.map