import type { ThemeColors } from "./theme-colors"; export type AnimPhase = "thinking" | "working" | "tool"; export type AnimationFn = ( frame: number, width: number, phase?: AnimPhase, colors?: ThemeColors, ) => string | string[]; export type AnimCategory = "thinking" | "working" | "both"; export interface AnimationDef { name: string; fn: AnimationFn; category: AnimCategory; description: string; lines: number; } export const PHASE_LABELS: Record = { thinking: "Thinking", working: "Working", tool: "Running", };