/** * settings-menu.ts — Settings panel for /tasks → Settings. * * Two-level select/input navigation (pick a setting, then pick/enter a value), * using only ui.select / ui.input — these work in both TUI and RPC modes, * unlike ui.custom (component factories), which RPC mode does not support. */ import { type TasksConfig } from "../tasks-config.js"; export type SettingsUI = { select(title: string, options: string[], opts?: { timeout?: number; }): Promise; input(title: string, placeholder?: string, opts?: { timeout?: number; }): Promise; }; export declare function openSettingsMenu(ui: SettingsUI, cfg: TasksConfig, onBack: () => Promise, clearDelayTurns: number, cwd?: string): Promise;