/**
 * Shared types for the Spinner component family. Reconstructed from
 * consumer usages after the original file was lost; reintroduced so
 * `tsc --noEmit` can resolve `./types.js` imports in index.ts,
 * GlimmerMessage.tsx, SpinnerAnimationRow.tsx, useShimmerAnimation.ts,
 * and utils.ts.
 */

/** Runtime-observable spinner modes, inferred from `mode === '…'` branches. */
export type SpinnerMode = 'thinking' | 'requesting' | 'tool-use' | 'selecting-agent' | 'idle'

/** RGB color in [0, 255]^3 used by the shimmer / interpolation helpers. */
export interface RGBColor {
  r: number
  g: number
  b: number
}
