UNPKG

@hivetechs/hive-ai

Version:

Real-time streaming AI consensus platform with HTTP+SSE MCP integration for Claude Code, VS Code, Cursor, and Windsurf - powered by OpenRouter's unified API

60 lines 1.56 kB
/** * ASCII Chart Utilities for Terminal Display * * Provides simple ASCII-based charts and visualizations for CLI output */ export interface BarChartData { label: string; value: number; percentage?: number; color?: 'green' | 'yellow' | 'red' | 'blue' | 'cyan' | 'magenta'; } export interface ChartOptions { width?: number; showValues?: boolean; showPercentages?: boolean; title?: string; unit?: string; } /** * Create a horizontal bar chart */ export declare function createBarChart(data: BarChartData[], options?: ChartOptions): string; /** * Create a simple line chart using ASCII */ export declare function createLineChart(data: number[], options?: { width?: number; height?: number; title?: string; }): string; /** * Create a progress bar */ export declare function createProgressBar(current: number, total: number, options?: { width?: number; showPercentage?: boolean; label?: string; }): string; /** * Create a gauge chart (semicircle) */ export declare function createGauge(value: number, max?: number, options?: { label?: string; thresholds?: { warning: number; critical: number; }; }): string; /** * Create a simple table */ export declare function createTable(headers: string[], rows: string[][], options?: { alignments?: ('left' | 'right' | 'center')[]; colors?: string[]; }): string; /** * Create sparkline chart */ export declare function createSparkline(data: number[], width?: number): string; //# sourceMappingURL=ascii-charts.d.ts.map