/** * The `/theme` picker (the Codex `/theme` contract): one bounded list over * the three color themes — dark, light, and auto (terminal-sensed; auto * falls back to dark until OSC-11 detection lands). Enter applies the row * and the runner persists it; Esc closes without changing the theme. * * @module @deepseek-ai/dsh-tui/theme-panel */ import { type ReactElement } from 'react'; import { type ThemeName } from '../theme.ts'; /** * The /theme list: one row per theme, the current one marked with ●, the * focused one with ›. Enter applies the focused theme (the runner persists * it), Esc/q closes without changing anything. Colors read the ACTIVE * palette, so the panel itself adapts to a light theme once applied. */ export declare function ThemePanel({ current, select, close }: { /** Theme name in force (the requested name; 'auto' included). */ current: ThemeName; /** Accept one theme name: applied immediately and persisted by the runner. */ select: (name: ThemeName) => void; /** Close without changing the theme. */ close: () => void; }): ReactElement;