/** * Path Resolver Extension Point * * Allows custom path resolution strategies (e.g., virtual paths, symlinks, etc.) */ /** * Custom path resolver interface */ export interface IPathResolver { /** * Resolve a workspace-relative path to an absolute filesystem path * * @param workspace - Workspace ID * @param filePath - Path segments relative to workspace * @returns Absolute filesystem path * @throws Error if path is invalid or workspace not found */ resolvePath(workspace: string, filePath: string[]): string; /** * Validate that a resolved path is safe and within workspace bounds * * @param resolvedPath - Absolute path to validate * @param workspace - Workspace ID for context * @returns true if path is valid and safe */ validatePath(resolvedPath: string, workspace: string): boolean; /** * Normalize path segments (handle '.', '..', etc.) * * @param pathSegments - Raw path segments * @returns Normalized path segments */ normalizePath(pathSegments: string[]): string[]; } //# sourceMappingURL=IPathResolver.d.ts.map