UNPKG

ultimate-mcp-server

Version:

The definitive all-in-one Model Context Protocol server for AI-assisted coding across 30+ platforms

69 lines 1.8 kB
/** * UI Analyzer using Google Gemini 2.5 Flash * Provides comprehensive UI/UX analysis and design understanding */ import { ScreenshotTile, UIAnalysis, DesignGuidelineViolation, UIImprovementSuggestion } from './types.js'; export declare class UIAnalyzer { private readonly visionModel; private readonly analysisCache; /** * Analyze UI from screenshots using Gemini 2.5 Flash */ analyzeUI(screenshots: ScreenshotTile[], url?: string, _context?: string): Promise<UIAnalysis>; /** * Detect UI elements in screenshots */ private detectElements; /** * Extract design system from UI */ private extractDesignSystem; /** * Analyze layout structure */ private analyzeLayout; /** * Assess accessibility */ private assessAccessibility; /** * Evaluate usability */ private evaluateUsability; /** * Analyze UI components */ private analyzeComponents; /** * Analyze navigation structure */ private analyzeNavigation; /** * Analyze content */ private analyzeContent; /** * Analyze brand consistency */ private analyzeBrand; /** * Analyze performance indicators */ private analyzePerformance; /** * Generate improvement suggestions */ generateImprovements(analysis: UIAnalysis): Promise<UIImprovementSuggestion[]>; /** * Check design guideline compliance */ checkDesignGuidelines(analysis: UIAnalysis, guidelines: string[]): Promise<DesignGuidelineViolation[]>; /** * Helper methods */ private getCacheKey; private deduplicateElements; private getDefaultDesignSystem; private getDefaultImprovements; } //# sourceMappingURL=ui-analyzer.d.ts.map