import type { SelectItem } from "@earendil-works/pi-tui"; import { Container } from "@earendil-works/pi-tui"; import type { WarningSettings } from "../../../core/settings-manager.ts"; import { type TerminalTheme } from "../theme/theme.js"; import type { SettingsCallbacks } from "./settings-selector-types.ts"; /** * A submenu component for selecting from a list of options. */ export declare class WarningSettingsSubmenu extends Container { private settingsList; private state; constructor(warnings: WarningSettings, onChange: (warnings: WarningSettings) => void, onCancel: () => void); handleInput(data: string): boolean; } export declare class SelectSubmenu extends Container { private selectList; private readonly allOptions; private readonly currentValue; private readonly onSelectValue; private readonly onCancelValue; private searchInput?; private listChildIndex; constructor(title: string, description: string, options: SelectItem[], currentValue: string, onSelect: (value: string) => void, onCancel: () => void, onSelectionChange?: (value: string) => void, searchable?: boolean); handleInput(data: string): boolean; } export declare function themeItems(availableThemes: string[], currentTheme: string): SelectItem[]; export declare class ThemeSubmenu extends Container { private inputComponent; private readonly callbacks; private readonly availableThemes; private readonly terminalTheme; private readonly onDone; private readonly originalThemeSetting; private mode; private singleTheme; private lightTheme; private darkTheme; constructor(currentThemeSetting: string, terminalTheme: TerminalTheme, availableThemes: string[], callbacks: SettingsCallbacks, onDone: (selectedValue?: string) => void); handleInput(data: string): boolean; private setContent; private showSingleMenu; private showAutomaticMenu; private createThemeSelect; private getThemeSetting; private getActiveAutomaticTheme; private getAutomaticThemeSetting; private apply; private cancel; } //# sourceMappingURL=settings-selector-submenus.d.ts.map