/** * Utility class for validating and resolving project paths * Used across MCP tools to ensure consistent path handling */ export declare class PathValidator { /** * Validate and resolve a path for tool usage * @param path - The path to validate * @param context - Context for error messages (e.g., tool name) * @returns Resolved absolute path * @throws Error if path is invalid */ static validateProjectPath(path: string | undefined, context: string): string; /** * Check if a path looks like a project root * (contains package.json, .git, or other project markers) * @param path - The path to check * @returns true if path looks like a project root */ static looksLikeProjectRoot(path: string): boolean; /** * Validate path and warn if it doesn't look like a project root * @param path - The path to validate * @param context - Context for error messages * @returns Validated absolute path */ static validateAndWarnProjectPath(path: string | undefined, context: string): string; /** * Get a human-readable description of what's at the path * @param path - The path to describe * @returns Description string */ static describePath(path: string): string; } //# sourceMappingURL=path-validator.d.ts.map