import type { Component } from '../component.js'; import type { Color } from '../types.js'; import type { AutoColor } from '../utils/terminal-theme.js'; export type SpinnerStyle = 'classic-dots' | 'bouncing-bar'; export interface SpinnerOptions { style?: SpinnerStyle; frames?: string[]; interval?: number; color?: Color | AutoColor; autoStart?: boolean; } /** * Create a spinner component that manages its own animation state * Returns an object with render(), start(), and stop() methods */ export declare function Spinner(options?: SpinnerOptions): { render: Component; start: () => void; stop: () => void; }; //# sourceMappingURL=spinner.d.ts.map