import { type Component, type KeybindingsManager } from '@earendil-works/pi-tui'; import type { TuiSettings } from '../tui-settings.js'; export type SettingsSelectorCallbacks = { onChange: (settings: TuiSettings) => void; onThemePreview?: (themeId: string) => void; onReloadKeybindings: () => void; onCancel: () => void; }; export type SettingsSelectorOptions = { supportsImages?: boolean; keybindings?: KeybindingsManager; }; /** TUI settings overlay (pi `/settings` subset for Phase 2). */ export declare class SettingsSelector implements Component { private readonly callbacks; private readonly settingsList; private readonly state; constructor(initial: TuiSettings, callbacks: SettingsSelectorCallbacks, options?: SettingsSelectorOptions); handleInput(data: string): void; invalidate(): void; render(width: number): string[]; }