/** * Shared service for consistent output formatting and UX * Consolidates chalk usage and provides consistent styling patterns */ export interface OutputOptions { noColor?: boolean; emoji?: boolean; compact?: boolean; } export declare class OutputFormatter { private static noColor; private static supportsEmoji; static configure(options: OutputOptions): void; static success(message: string): string; static error(message: string): string; static warning(message: string): string; static info(message: string): string; static running(action: string): string; static toolName(name: string): string; static command(cmd: string): string; static parameter(param: string): string; static value(value: string): string; static header(text: string, level?: 1 | 2 | 3): string; static section(title: string): string; static bullet(text: string): string; static separator(char?: string, length?: number): string; static highlight(text: string): string; static muted(text: string): string; static code(text: string): string; static quote(text: string): string; static searchResult(query: string, count: number, page?: number, totalPages?: number): string; static noResultsSuggestion(suggestions: string[]): string; static tip(message: string): string; static progress(current: number, total: number, item?: string): string; private static createProgressBar; static table(headers: string[], rows: string[][]): string; static betterError(error: string, suggestion?: string): string; static validationError(field: string, expected: string, received: string): string; static readonly STATUS: { HEALTHY: string; UNHEALTHY: string; DEGRADED: string; UNKNOWN: string; DISABLED: string; RUNNING: string; PAUSED: string; FAILED: string; PENDING: string; COMPLETED: string; ACTIVE: string; INACTIVE: string; }; /** * Format a status badge with icon and color */ static statusBadge(status: keyof typeof OutputFormatter.STATUS, label?: string): string; /** * Create a status row for tables */ static statusRow(name: string, status: keyof typeof OutputFormatter.STATUS, details?: string): string; static readonly FORMAT_TYPES: { readonly PRIMITIVE: "primitive"; readonly TABLE: "table"; readonly TREE: "tree"; readonly LIST: "list"; readonly NONE: "none"; }; /** * Auto-detect the best format for displaying data */ static detectFormat(data: any): string; /** * Format data based on detected type */ static formatAuto(data: any): string; private static formatPrimitive; private static formatAsList; private static formatAsTable; private static formatAsTree; /** * Detect if content is markdown */ static isMarkdown(content: string): boolean; /** * Render markdown with basic formatting * Note: For full markdown rendering with syntax highlighting, * consider using marked library (optional dependency) */ static renderMarkdown(content: string): string; /** * Format string content intelligently * Detects markdown and renders accordingly */ static formatString(content: string): string; } //# sourceMappingURL=output-formatter.d.ts.map