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.ts";
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): void;
}
export declare class SelectSubmenu extends Container {
    private selectList;
    constructor(title: string, description: string, options: SelectItem[], currentValue: string, onSelect: (value: string) => void, onCancel: () => void, onSelectionChange?: (value: string) => void);
    handleInput(data: string): void;
}
export declare function themeItems(availableThemes: 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): void;
    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