/** * OCLIF-based formatter for consistent CLI output * Provides theme-aware, responsive formatting with proper ANSI handling */ export interface CommandDisplayOptions { showFullCommand?: boolean; maxWidth?: number; dryRun?: boolean; } export interface SummaryItem { label: string; value: string | number; color?: string; } export interface ProgressOptions { message: string; spinner?: boolean; } export declare const OCLIFFormatter: { DEFAULT_MAX_WIDTH: number; PREFIX_WIDTH: number; /** * Display a section header with consistent styling */ section(title: string, content?: string): void; /** * Display a command with smart line wrapping and theme colors */ command(commandParts: string[], options?: CommandDisplayOptions): void; /** * Display execution summary with aligned key-value pairs */ summary(title: string, items: SummaryItem[]): void; /** * Display success message with timing information */ success(message: string, executionTime?: number): void; /** * Display error message with optional details */ error(message: string, details?: string, exitCode?: number): void; /** * Display warning message */ warning(message: string): void; /** * Display info message */ info(message: string): void; /** * Display a list of items with consistent formatting */ list(title: string, items: string[], options?: { bullet?: string; color?: string; }): void; /** * Display a table with key-value pairs */ table(items: Array<{ label: string; value: string; }>): void; /** * Display a separator line */ separator(width?: number): void; /** * Create a progress indicator using OCLIF's action */ progress(options: ProgressOptions): { update: (newMessage: string) => void; stop: (finalMessage?: string) => void; }; /** * Display enhanced mode information */ enhancedMode(hosts?: string[], inventory?: string, limit?: string): void; /** * Smart command line wrapping that respects word boundaries */ wrapCommandParts(parts: string[], maxWidth: number): string[]; /** * Display completion report with comprehensive information */ completionReport(success: boolean, targets: any[], playbookPath: string, executionTime?: number, exitCode?: number, stderr?: string): void; }; //# sourceMappingURL=oclif-formatter.d.ts.map