/**
 * CategoryScreen — generic schema-driven view for a single settings category.
 *
 * Reads visible fields from a `CategoryDef`, renders one `FieldRenderer` per
 * field, and owns the navigation state (focused field index + editing flag).
 * All value state lives in the supplied `SettingsStore`; CategoryScreen only
 * routes keystrokes and forwards `onChange` into `store.set(settingsPath, ...)`.
 *
 * Key routing:
 *   - ↑ / ↓        → move focus through visible fields (no wrap)
 *   - enter        → start editing the focused field; on edit-done, blur()
 *                    is called which autosaves the field to disk.
 *   - esc          → cancel current edit, OR call `onBack()` when idle
 */
import React from 'react';
import type { CategoryDef } from '../schema/types.js';
import type { SettingsStore } from '../state/settings-store.js';
export interface CategoryScreenProps {
    category: CategoryDef;
    store: SettingsStore;
    onBack: () => void;
    onEditBufferChange?: (editing: boolean) => void;
    /** If set, CategoryScreen initialises focus on the field with this key. */
    initialFocusKey?: string;
}
export declare function CategoryScreen(props: CategoryScreenProps): React.ReactElement;
//# sourceMappingURL=CategoryScreen.d.ts.map