/** * CLI Output Formatting * Provides formatted output for CLI commands */ import type { OutputFormatter } from './types.js'; export type { OutputFormatter } from './types.js'; export declare class CLIOutput implements OutputFormatter { private readonly isTTY; /** Wrap text in an ANSI escape only when writing to an interactive terminal. */ private ansi; bold(text: string): string; /** * Display success message */ success(message: string): void; /** * Display error message */ error(message: string): void; /** * Display warning message */ warning(message: string): void; /** * Display info message */ info(message: string): void; /** * Display dimmed/subdued message */ dim(message: string): void; /** * Display data as table */ table(data: Record[], columns?: string[]): void; /** * Display list of items */ list(items: string[], icon?: string): void; /** * Display section with title and content */ section(title: string, content: string): void; /** * Display spinner for async operations */ spinner(message: string): { stop: (message?: string) => void; }; /** * Display heading */ heading(text: string): void; /** * Display code block */ code(text: string): void; /** * Display key-value pairs */ keyValue(data: Record): void; /** * Display empty line */ newline(): void; /** * Display divider */ divider(): void; } export declare const output: CLIOutput; //# sourceMappingURL=output.d.ts.map