export interface ProgressOutput { isTTY?: boolean; columns?: number; write(chunk: string): unknown; } export interface ProgressFlow { start(detail?: string): void; stage(label: string): void; update(completed: number, total: number, label: string): void; info(message: string): void; succeed(message: string): void; finish(message: string): void; fail(message: string): void; } export declare function markCliErrorReported(error: unknown): void; export declare function cliErrorWasReported(error: unknown): boolean; export declare function renderProgressBar(completed: number, total: number, width?: number): string; export declare function createProgressFlow(operation: string, enabled: boolean, stream?: ProgressOutput): ProgressFlow;