/** * Resource execution spinner — animated in TTY, static otherwise. * * Provides visual feedback during resource execution. When writing to a TTY, * displays an animated spinner. Otherwise, outputs a static indicator. */ /** Options for creating a Spinner. */ export type SpinnerOptions = { /** The writer to output to. Defaults to process.stderr. */ writer?: { isTerminal: () => boolean; columns?: () => number | undefined; writeSync(p: Uint8Array): number; } | undefined; /** Spinner interval in ms. Defaults to 80. */ intervalMs?: number | undefined; }; /** * Resource execution spinner. * * - In TTY mode: animates through braille frames on a single line. * - In non-TTY mode: prints the message once with a static marker. */ export declare class Spinner { #private; constructor(opts?: SpinnerOptions); /** Start the spinner with a message. */ start(message: string): void; /** Stop the spinner and clear the line (TTY only). */ stop(): void; /** Pause the spinner animation and clear the line so other output can print. */ pause(): void; /** Resume the spinner animation after a pause. */ resume(): void; } //# sourceMappingURL=spinner.d.ts.map