/** * xray Performance Optimization MCP Server * * Knowledge skill for performance analysis, optimization recommendations, * profiling, benchmarking, memory analysis, and Core Web Vitals measurement */ import { XrayKnowledgeSkillBase } from "../shared/knowledge-skill-base.js"; declare class XrayPerformanceOptimizationServer extends XrayKnowledgeSkillBase { constructor(); private handleProfileApplication; private performProfiling; private analyzeCodeForPerformance; private analyzeFilePerformance; private estimateFunctionCalls; private calculateCyclomaticComplexity; private calculateAverageExecutionTime; private estimateGCPauses; private getTopFunctions; private generateCallGraph; private identifyCriticalPath; private formatProfilingResult; private handleAnalyzeMemory; private performMemoryAnalysis; private estimateHeapBreakdown; private estimateAllocationsByType; private analyzeGCActivity; private detectMemoryLeaks; private checkEventListenerLeaks; private checkGlobalVariableLeaks; private checkClosureLeaks; private checkCacheLeaks; private checkTimerLeaks; private addMemoryRecommendations; private formatMemoryAnalysis; private handleBenchmarkCode; private performBenchmark; private runSingleBenchmark; private simulateBenchmarkWorkload; private calculateVariance; private generateBenchmarkRecommendations; private formatBenchmarkResult; private handleSuggestOptimizations; private generateOptimizations; private suggestCPUOptimizations; private suggestMemoryOptimizations; private suggestNetworkOptimizations; private suggestIOOptimizations; private formatOptimizationSuggestions; private handleMeasureCoreWebVitals; private performCoreWebVitalsAnalysis; private analyzeBundle; private getAllFiles; private detectDuplication; private applyBundleRecommendations; private measureLCP; private scoreLCP; private evaluateLCP; private measureINP; private scoreINP; private evaluateINP; private measureCLS; private scoreCLS; private evaluateCLS; private calculateOverallScore; private determineStatus; private formatCoreWebVitalsResult; private findCodeFiles; } export { XrayPerformanceOptimizationServer };