/** * Single-line animated spinner for long-running status updates. Writes * `\r{frame} {message}` on each tick to rewrite the current line in place. * * In non-interactive environments (no TTY, or CI=1) the spinner is a no-op — * providers already `console.log` status transitions, so CI logs stay readable. */ export default class Spinner { private frame; private timer; private message; private active; private readonly interactive; constructor(); /** Starts (or refreshes) the spinner with the given message. */ start(message: string): void; /** Updates the visible message; starts the spinner if it wasn't running. */ setMessage(message: string): void; /** * Clears the current spinner line without stopping the timer. Call before * printing unrelated output that shouldn't be overwritten by the next tick. */ clearLine(): void; /** * Stops the animation, clears the line, and optionally prints a final * non-animated line in its place. */ stop(finalLine?: string): void; isActive(): boolean; private render; } //# sourceMappingURL=spinner.d.ts.map