jpglens
Version:
🔍 Universal AI-Powered UI Testing - See your interfaces through the lens of intelligence
96 lines • 2.22 kB
TypeScript
/**
* 🔍 jpglens - Console Output Formatter
* Beautiful console display for AI analysis results when reports are disabled
*
* @author Taha Bahrami (Kaito)
* @license MIT
*/
import { AnalysisResult } from './types.js';
/**
* Console formatting utilities
*/
export declare class ConsoleFormatter {
private static readonly COLORS;
private static readonly ICONS;
/**
* Format complete analysis result for console display
*/
static formatAnalysisResult(result: AnalysisResult, options?: {
showRawAnalysis?: boolean;
showTechnicalDetails?: boolean;
compact?: boolean;
}): void;
/**
* Show analysis header
*/
private static showHeader;
/**
* Show metadata information
*/
private static showMetadata;
/**
* Show scores section
*/
private static showScores;
/**
* Show strengths section
*/
private static showStrengths;
/**
* Show issues section
*/
private static showIssues;
/**
* Format individual issue
*/
private static formatIssue;
/**
* Show recommendations section
*/
private static showRecommendations;
/**
* Show technical details
*/
private static showTechnicalDetails;
/**
* Show raw analysis if requested
*/
private static showRawAnalysis;
/**
* Show footer
*/
private static showFooter;
/**
* Create visual score bar
*/
private static createScoreBar;
/**
* Get color for score
*/
private static getScoreColor;
/**
* Get icon for category
*/
private static getCategoryIcon;
/**
* Format category name
*/
private static formatCategoryName;
/**
* Apply color to text
*/
private static color;
/**
* Show compact summary (for quick results)
*/
static showCompactSummary(result: AnalysisResult): void;
/**
* Show error message with formatting
*/
static showError(error: string, details?: string): void;
/**
* Show loading/progress indicator
*/
static showProgress(message: string): void;
}
//# sourceMappingURL=console-formatter.d.ts.map