/** * @license * Copyright 2025 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import { type Key } from '../hooks/useKeypress.js'; import { type IdeIntegrationNudgeResult } from '../IdeIntegrationNudge.js'; import { type FolderTrustChoice } from '../components/FolderTrustDialog.js'; import { type AuthType, type EditorType } from 'sixth-cli-core'; import { type SettingScope } from '../../config/settings.js'; import type { AuthState } from '../types.js'; export interface UIActions { handleThemeSelect: (themeName: string, scope: SettingScope) => void; closeThemeDialog: () => void; handleThemeHighlight: (themeName: string | undefined) => void; handleAuthSelect: (authType: AuthType | undefined, scope: SettingScope) => void; setAuthState: (state: AuthState) => void; onAuthError: (error: string | null) => void; handleEditorSelect: (editorType: EditorType | undefined, scope: SettingScope) => void; exitEditorDialog: () => void; exitPrivacyNotice: () => void; closeSettingsDialog: () => void; closeModelDialog: () => void; closePermissionsDialog: () => void; setShellModeActive: (value: boolean) => void; vimHandleInput: (key: Key) => boolean; handleIdePromptComplete: (result: IdeIntegrationNudgeResult) => void; handleFolderTrustSelect: (choice: FolderTrustChoice) => void; setConstrainHeight: (value: boolean) => void; onEscapePromptChange: (show: boolean) => void; refreshStatic: () => void; handleFinalSubmit: (value: string) => void; handleClearScreen: () => void; handleProQuotaChoice: (choice: 'auth' | 'continue') => void; setQueueErrorMessage: (message: string | null) => void; popAllMessages: (onPop: (messages: string | undefined) => void) => void; handleApiKeySubmit: (apiKey: string) => Promise; handleApiKeyCancel: () => void; } export declare const UIActionsContext: import("react").Context; export declare const useUIActions: () => UIActions;