/** * Comprehensive color highlighting utilities for NCP * Handles JSON-RPC, CLI output, tool responses, and interactive elements */ export declare class HighlightingUtils { /** * Highlight JSON with beautiful syntax colors * Uses multiple highlighting engines with fallbacks */ static formatJson(json: any, style?: 'cli-highlight' | 'prettyjson' | 'colorizer' | 'auto'): string; /** * Manual JSON highlighting as final fallback */ private static manualJsonHighlight; /** * Create a bordered JSON display with syntax highlighting */ static createJsonBox(json: any, title?: string): string; /** * Highlight JSON-RPC responses with beautiful formatting */ static formatJsonRpc(response: any): string; /** * Format tool discovery results with confidence-based colors */ static formatToolResult(tool: any, index: number): string; /** * Format profile tree with beautiful colors */ static formatProfileTree(profileName: string, mcps: any[]): string; /** * Format status messages with appropriate colors */ static formatStatus(message: string, type?: 'success' | 'error' | 'warning' | 'info'): string; /** * Create animated progress indicator */ static createProgressBar(current: number, total: number, width?: number): string; /** * Format code blocks with syntax highlighting */ static formatCode(code: string, language?: string): string; /** * Format markdown with basic styling */ static formatMarkdown(markdown: string): string; /** * Highlight configuration values */ static formatConfigValue(key: string, value: any): string; /** * Create a separator line */ static createSeparator(char?: string, length?: number): string; /** * Format table-like data */ static formatTable(headers: string[], rows: string[][]): string; /** * Strip ANSI escape codes from string (for length calculations) */ private static stripAnsi; } /** * Convenience exports for common highlighting patterns */ export declare const highlightUtils: typeof HighlightingUtils; export declare const formatJson: typeof HighlightingUtils.formatJson; export declare const formatJsonRpc: typeof HighlightingUtils.formatJsonRpc; export declare const formatStatus: typeof HighlightingUtils.formatStatus; export declare const createJsonBox: typeof HighlightingUtils.createJsonBox; //# sourceMappingURL=highlighting.d.ts.map