/** * Progress Bar Component * * Visual progress indicator for operations with known completion */ import { Writable } from 'stream'; import { ProgressConfig } from './types'; /** * Progress bar that can be controlled externally */ export declare class ProgressBar { private width; private showPercentage; private state; private output; private isRunning; constructor(config: ProgressConfig, output?: Writable); /** * Start the progress bar */ start(): this; /** * Update progress (0-1) */ update(value: number, text?: string): this; /** * Increment progress */ increment(amount?: number): this; /** * Complete the progress bar */ complete(text?: string): this; /** * Mark as error */ error(text?: string): this; /** * Render the current state */ private render; } /** * Create and start a progress bar */ export declare function createProgress(text: string, options?: Partial): ProgressBar;