/** * Working-activity indicator frame presets — the single home for every * spinner animation, ported from the pi working-activity extension * (`FRAME_PRESETS`) plus the dsh-tui additions (moon8 / rainbow / whale * family / clock / traffic lights). Consumers (TUI row, Web slot) render the * current frame next to the live working line; the preset name is chosen by * the UI and persisted in `working-activity.json` (`frames` key). * * `\uFE0E` forces text rendering so Windows never paints the glyphs as color * emoji (the green-block problem); emoji presets (moon8, clock, whales) * deliberately omit it to keep colorful rendering on modern terminals. * @module @deepseek-ai/dsh-working-activity/frames */ /** One working-activity preset: the frame sequence and the per-frame interval. */ export interface FramePreset { readonly frames: readonly string[]; readonly intervalMs: number; } /** Named working-activity frame presets, keyed by preset name (`claude`, `moon`, `sand`, ...). */ export declare const FRAME_PRESETS: Record; /** The default preset (moon8: the smoothest of the emoji moons). */ export declare const DEFAULT_PRESET = "moon8"; /** Every selectable preset name, `random` first (the pi selector order). */ export declare const PRESET_NAMES: readonly string[]; /** * Whether `name` selects a known preset or `random`. * @param name - Candidate preset name. * @returns True when the name resolves to a preset. */ export declare function isPresetName(name: string): boolean; /** * Resolve a preset name (`random` picks one per process). * @param name - Preset name, or undefined for the default. * @returns The matching preset; unknown or absent names fall back to the default. */ export declare function resolvePreset(name: string | undefined): FramePreset; //# sourceMappingURL=frames.d.ts.map