import type { ThinkingLevel } from "@earendil-works/pi-agent-core";
import { type Model, type Transport } from "@earendil-works/pi-ai";
import { Container, type ScrollViewScrollbar, SettingsList } from "@earendil-works/pi-tui";
import type { DefaultProjectTrust, FullscreenExitOutput, MermaidRenderingMode, TuiMode, WarningSettings } from "../../../core/settings-manager.ts";
import { type TerminalTheme } from "../theme/theme.ts";
export interface SettingsConfig {
    autoCompact: boolean;
    defaultModel: string;
    currentModel?: Model<any>;
    availableDefaultModels: readonly Model<any>[];
    showImages: boolean;
    imageWidthCells: number;
    autoResizeImages: boolean;
    blockImages: boolean;
    enableSkillCommands: boolean;
    steeringMode: "all" | "one-at-a-time";
    followUpMode: "all" | "one-at-a-time";
    transport: Transport;
    httpIdleTimeoutMs: number;
    thinkingLevel: ThinkingLevel;
    availableThinkingLevels: ThinkingLevel[];
    modelThinkingLevels: Record<string, ThinkingLevel>;
    currentTheme: string;
    terminalTheme: TerminalTheme;
    availableThemes: string[];
    hideThinkingBlock: boolean;
    mermaidRenderingMode: MermaidRenderingMode;
    showCacheMissNotices: boolean;
    collapseChangelog: boolean;
    enableInstallTelemetry: boolean;
    doubleEscapeAction: "fork" | "tree" | "none";
    treeFilterMode: "default" | "no-tools" | "user-only" | "labeled-only" | "all";
    showHardwareCursor: boolean;
    editorPaddingX: number;
    outputPad: 0 | 1;
    autocompleteMaxVisible: number;
    quietStartup: boolean;
    defaultProjectTrust: DefaultProjectTrust;
    clearOnShrink: boolean;
    showTerminalProgress: boolean;
    tuiMode: TuiMode;
    fullscreenExitOutput: FullscreenExitOutput;
    fullscreenScrollbar: ScrollViewScrollbar;
    warnings: WarningSettings;
}
export interface SettingsCallbacks {
    onAutoCompactChange: (enabled: boolean) => void;
    onShowImagesChange: (enabled: boolean) => void;
    onImageWidthCellsChange: (width: number) => void;
    onAutoResizeImagesChange: (enabled: boolean) => void;
    onBlockImagesChange: (blocked: boolean) => void;
    onEnableSkillCommandsChange: (enabled: boolean) => void;
    onSteeringModeChange: (mode: "all" | "one-at-a-time") => void;
    onFollowUpModeChange: (mode: "all" | "one-at-a-time") => void;
    onTransportChange: (transport: Transport) => void;
    onHttpIdleTimeoutMsChange: (timeoutMs: number) => void;
    onModelThinkingLevelChange: (provider: string, modelId: string, level: ThinkingLevel) => void;
    onModelThinkingLevelRemove: (provider: string, modelId: string) => void;
    onThemeChange: (theme: string) => void;
    onThemePreview?: (theme: string) => void;
    onHideThinkingBlockChange: (hidden: boolean) => void;
    onMermaidRenderingModeChange: (mode: MermaidRenderingMode) => void;
    onShowCacheMissNoticesChange: (shown: boolean) => void;
    onCollapseChangelogChange: (collapsed: boolean) => void;
    onEnableInstallTelemetryChange: (enabled: boolean) => void;
    onDoubleEscapeActionChange: (action: "fork" | "tree" | "none") => void;
    onTreeFilterModeChange: (mode: "default" | "no-tools" | "user-only" | "labeled-only" | "all") => void;
    onShowHardwareCursorChange: (enabled: boolean) => void;
    onEditorPaddingXChange: (padding: number) => void;
    onOutputPadChange: (padding: 0 | 1) => void;
    onAutocompleteMaxVisibleChange: (maxVisible: number) => void;
    onQuietStartupChange: (enabled: boolean) => void;
    onDefaultProjectTrustChange: (defaultProjectTrust: DefaultProjectTrust) => void;
    onClearOnShrinkChange: (enabled: boolean) => void;
    onShowTerminalProgressChange: (enabled: boolean) => void;
    onTuiModeChange: (mode: TuiMode) => void;
    onFullscreenExitOutputChange: (output: FullscreenExitOutput) => void;
    onFullscreenScrollbarChange: (mode: ScrollViewScrollbar) => void;
    onWarningsChange: (warnings: WarningSettings) => void;
    onCancel: () => void;
}
/**
 * Main settings selector component.
 */
export declare class SettingsSelectorComponent extends Container {
    private settingsList;
    constructor(config: SettingsConfig, callbacks: SettingsCallbacks);
    getSettingsList(): SettingsList;
}
//# sourceMappingURL=settings-selector.d.ts.map