/** * SettingsHome — top-level entry screen for the new settings TUI. * * Lists every category in the CATALOG, plus a horizontal action-row at the * bottom (Verify · Doctor · Export · Import · Uninstall). Pure component: * all value state lives in the supplied SettingsStore, all navigation is * delegated up through onSelectCategory / onAction / onQuit callbacks. * * Key routing (idle): * - ↑ / ↓ move focus through category rows then into the action-row * - enter on a category row → onSelectCategory(id) * on an action → onAction(name) * - q quit; if the store is dirty, prompt for confirmation first * - ? toggle a one-line inline help overlay */ import React from 'react'; import type { CategoryDef, CategoryId } from '../schema/types.js'; import type { SettingsStore } from '../state/settings-store.js'; export type SettingsHomeAction = 'verify' | 'doctor' | 'export' | 'import' | 'uninstall'; export interface SettingsHomeProps { store: SettingsStore; catalog: ReadonlyArray; onSelectCategory: (id: CategoryId) => void; onAction: (action: SettingsHomeAction) => void; onQuit: () => void; version?: string; productName?: string; } export declare function SettingsHome(props: SettingsHomeProps): React.ReactElement; //# sourceMappingURL=SettingsHome.d.ts.map