import type { ThinkingLevel } from "@dotkaio/avis-agent-core";
import type { Transport } from "@dotkaio/avis-ai";
import { Container, SettingsList } from "@dotkaio/avis-tui";
export interface ProviderStatus {
    /** Provider ID (e.g. "anthropic", "openai", "ollama") */
    id: string;
    /** Display name */
    name: string;
    /** Current auth status */
    authStatus: "api-key" | "oauth" | "not-configured" | "local";
    /** Whether this provider supports OAuth login */
    canLogin: boolean;
    /** Whether this provider uses an API key */
    canSetKey: boolean;
}
export interface SettingsConfig {
    /** Provider statuses for the Providers & APIs section */
    providers?: ProviderStatus[];
    autoCompact: boolean;
    showImages: boolean;
    autoResizeImages: boolean;
    blockImages: boolean;
    enableSkillCommands: boolean;
    steeringMode: "all" | "one-at-a-time";
    followUpMode: "all" | "one-at-a-time";
    transport: Transport;
    thinkingLevel: ThinkingLevel;
    availableThinkingLevels: ThinkingLevel[];
    currentTheme: string;
    availableThemes: string[];
    hideThinkingBlock: boolean;
    collapseChangelog: boolean;
    doubleEscapeAction: "fork" | "tree" | "none";
    treeFilterMode: "default" | "no-tools" | "user-only" | "labeled-only" | "all";
    showHardwareCursor: boolean;
    editorPaddingX: number;
    autocompleteMaxVisible: number;
    quietStartup: boolean;
    clearOnShrink: boolean;
    voiceEnabled: boolean;
    browseHeadless: boolean;
}
export interface SettingsCallbacks {
    /** Called when user wants to login to a provider via OAuth */
    onProviderLogin?: (providerId: string) => void;
    /** Called when user wants to set an API key for a provider */
    onProviderSetApiKey?: (providerId: string) => void;
    /** Called when user wants to remove credentials for a provider */
    onProviderLogout?: (providerId: string) => void;
    onAutoCompactChange: (enabled: boolean) => void;
    onShowImagesChange: (enabled: boolean) => 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;
    onThinkingLevelChange: (level: ThinkingLevel) => void;
    onThemeChange: (theme: string) => void;
    onThemePreview?: (theme: string) => void;
    onHideThinkingBlockChange: (hidden: boolean) => void;
    onCollapseChangelogChange: (collapsed: 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;
    onAutocompleteMaxVisibleChange: (maxVisible: number) => void;
    onQuietStartupChange: (enabled: boolean) => void;
    onClearOnShrinkChange: (enabled: boolean) => void;
    onVoiceEnabledChange: (enabled: boolean) => void;
    onBrowseHeadlessChange: (enabled: boolean) => 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