/** * Format elapsed time in human-readable format */ export declare function formatElapsed(ms: number): string; /** * ProgressRenderer - Single-line progress display with progress bar * * Features: * - Animated spinner * - Readable text (subtle pulse) * - Progress bar with iteration tracking * - Elapsed time counter * - Live cost display * - Dynamic step updates * - Sub-step indicator */ export declare class ProgressRenderer { private frame; private startTime; private currentStep; private subStep; private interval; private lastRender; private lastStepUpdate; private minStepInterval; private currentIteration; private maxIterations; private currentCost; /** * Start the progress renderer * @param initialStep Initial step text to display */ start(initialStep: string): void; /** * Update iteration progress for the progress bar */ updateProgress(iteration: number, maxIterations: number, cost?: number): void; /** * Update the main step text (debounced to prevent rapid switching) */ updateStep(step: string): void; /** * Update the sub-step text (shown below main step) */ updateSubStep(subStep: string): void; /** * Render the progress line(s) */ private render; /** * Stop the renderer and show completion message */ stop(finalMessage?: string, success?: boolean): void; /** * Stop with error */ fail(errorMessage?: string): void; } /** * Create a simple progress renderer for one-off operations */ export declare function createProgress(initialStep: string): ProgressRenderer; //# sourceMappingURL=progress-renderer.d.ts.map