UNPKG

@entro314labs/ai-changelog-generator

Version:

AI-powered changelog generator with MCP server support - works with most providers, online and local models

83 lines (82 loc) 2.62 kB
/** * Modern CLI UI utilities for enhanced visual feedback * Provides loading indicators, progress bars, and modern CLI aesthetics */ /** * Simple spinner implementation for loading states */ export declare class SimpleSpinner { [key: string]: any; constructor(text?: string, interval?: number); start(): this; stop(finalText?: any): this; succeed(text?: any): this; fail(text?: any): this; warn(text?: any): this; info(text?: any): this; } /** * Progress bar for long-running operations */ export declare class ProgressBar { [key: string]: any; constructor(total: any, width?: number, options?: Record<string, any>); update(current: any, label?: string): void; increment(label?: string): void; finish(message?: string): void; } /** * Multi-line progress display for multiple concurrent operations */ export declare class MultiProgress { [key: string]: any; constructor(); create(id: any, total: any, label?: string, options?: Record<string, any>): ProgressBar; update(id: any, current: any, label?: string): void; remove(id: any, finalMessage?: string): void; clear(): void; } /** * Enhanced console with better formatting */ export declare class EnhancedConsole { [key: string]: any; static log(type?: string, ...args: any[]): void; static success(...args: any[]): void; static error(...args: any[]): void; static warn(...args: any[]): void; static info(...args: any[]): void; static processing(...args: any[]): void; static ai(...args: any[]): void; static metrics(data: any, title?: string): void; static section(title: any, content?: string): void; static box(title: any, content: any, options?: Record<string, any>): void; static table(data: any, options?: Record<string, any>): void; static fileList(files: any, title?: string): void; static divider(char?: string, length?: number): void; static space(lines?: number): void; } /** * Task list display for showing progress on multiple items */ export declare class TaskList { [key: string]: any; constructor(tasks?: any[]); add(task: any): void; start(index: any): void; complete(index: any, message?: string): void; fail(index: any, message?: string): void; render(): void; summary(): void; } /** * Utility functions for common CLI patterns */ export declare const cliUtils: { waitForKey(message?: string): Promise<void>; clear(): void; cursorUp(lines?: number): void; clearLine(): void; formatDuration(ms: any): string; formatBytes(bytes: any): string; };