/** * Progress bar rendering utilities */ export interface ProgressBarOptions { /** Width of the progress bar in characters */ width?: number; /** Character for filled portion */ filledChar?: string; /** Character for empty portion */ emptyChar?: string; /** Show percentage */ showPercentage?: boolean; /** Show count (current/total) */ showCount?: boolean; /** Label to show before the bar */ label?: string; } /** * Render a progress bar * * @example * renderProgressBar(3, 10) * // "████████░░░░░░░░░░░░ 3/10 (30%)" * * renderProgressBar(3, 10, { label: 'Running tests' }) * // "Running tests ████████░░░░░░░░░░░░ 3/10 (30%)" */ export declare function renderProgressBar(current: number, total: number, options?: ProgressBarOptions): string; /** * Create a progress bar manager for updating in-place */ export declare class ProgressBar { private current; private total; private options; private lastOutput; constructor(total: number, options?: ProgressBarOptions); /** * Update progress and render */ update(current: number): void; /** * Increment progress by one */ increment(): void; /** * Render the progress bar */ private render; /** * Complete the progress bar and move to next line */ complete(): void; } /** * Render a compact inline progress indicator * Useful for spinners or status lines */ export declare function renderInlineProgress(current: number, total: number, label?: string): string; //# sourceMappingURL=progress.d.ts.map