/** * Spinner component for CLI progress indication */ /** * Spinner options */ export interface SpinnerOptions { text?: string | undefined; color?: 'black' | 'red' | 'green' | 'yellow' | 'blue' | 'magenta' | 'cyan' | 'white' | 'gray'; indent?: number; } /** * Spinner wrapper with RW-UC styling */ export declare class Spinner { private spinner; constructor(options?: SpinnerOptions); /** * Start the spinner */ start(text?: string): this; /** * Stop the spinner with success */ succeed(text?: string): this; /** * Stop the spinner with failure */ fail(text?: string): this; /** * Stop the spinner with warning */ warn(text?: string): this; /** * Stop the spinner with info */ info(text?: string): this; /** * Stop the spinner */ stop(): this; /** * Update spinner text */ text(text: string): this; /** * Update spinner color */ color(color: 'black' | 'red' | 'green' | 'yellow' | 'blue' | 'magenta' | 'cyan' | 'white' | 'gray'): this; /** * Check if spinner is spinning */ isSpinning(): boolean; } /** * Create a new spinner */ export declare function createSpinner(text?: string): Spinner; /** * Create a task spinner with standard formatting */ export declare function createTaskSpinner(taskId: string, taskName: string): Spinner; /** * Create a pipeline spinner */ export declare function createPipelineSpinner(pipelineId: string): Spinner; /** * Create an iteration spinner */ export declare function createIterationSpinner(taskId: string, iteration: number, maxIterations: number): Spinner; /** * Spinner for loading/processing */ export declare function createLoadingSpinner(text: string): Spinner; /** * Run an async function with spinner */ export declare function withSpinner(text: string, fn: () => Promise, options?: { successText?: string; failText?: string; }): Promise; //# sourceMappingURL=spinner.d.ts.map