/**
 * @license
 * Copyright 2025 HopCode Team
 * SPDX-License-Identifier: Apache-2.0
 */
import { type Key } from '../hooks/useKeypress.js';
import { type IdeIntegrationNudgeResult } from '../IdeIntegrationNudge.js';
import { type CommandMigrationNudgeResult } from '../CommandFormatMigrationNudge.js';
import { type FolderTrustChoice } from '../components/FolderTrustDialog.js';
import { type EditorType, type ApprovalMode } from '@hoptrendy/hopcode-core';
import { type SettingScope } from '../../config/settings.js';
import type { AuthController } from '../auth/useAuth.js';
import type { HistoryItem } from '../types.js';
import { type ArenaDialogType } from '../hooks/useArenaCommand.js';
export type HelpTab = 'general' | 'commands' | 'custom-commands';
export interface UIActions {
    openThemeDialog: () => void;
    openEditorDialog: () => void;
    openMemoryDialog: () => void;
    handleThemeSelect: (themeName: string | undefined, scope: SettingScope) => void;
    handleThemeHighlight: (themeName: string | undefined) => void;
    handleApprovalModeSelect: (mode: ApprovalMode | undefined, scope: SettingScope) => void;
    auth: AuthController['actions'];
    handleEditorSelect: (editorType: EditorType | undefined, scope: SettingScope) => void;
    exitEditorDialog: () => void;
    closeSettingsDialog: () => void;
    closeMemoryDialog: () => void;
    closeModelDialog: () => void;
    openModelDialog: (options?: {
        fastModelMode?: boolean;
    }) => void;
    openManageModelsDialog: () => void;
    closeManageModelsDialog: () => void;
    openArenaDialog: (type: Exclude<ArenaDialogType, null>) => void;
    closeArenaDialog: () => void;
    handleArenaModelsSelected?: (models: string[]) => void;
    dismissProviderUpdate: () => void;
    closeTrustDialog: () => void;
    closePermissionsDialog: () => void;
    setShellModeActive: (value: boolean) => void;
    vimHandleInput: (key: Key) => boolean;
    handleIdePromptComplete: (result: IdeIntegrationNudgeResult) => void;
    handleCommandMigrationComplete: (result: CommandMigrationNudgeResult) => void;
    handleFolderTrustSelect: (choice: FolderTrustChoice) => void;
    setConstrainHeight: (value: boolean) => void;
    onEscapePromptChange: (show: boolean) => void;
    onSuggestionsVisibilityChange: (visible: boolean) => void;
    refreshStatic: () => void;
    handleFinalSubmit: (value: string) => void;
    handleRetryLastPrompt: () => void;
    handleClearScreen: () => void;
    popAllQueuedMessages: () => string | null;
    handleWelcomeBackSelection: (choice: 'continue' | 'restart') => void;
    handleWelcomeBackClose: () => void;
    closeSubagentCreateDialog: () => void;
    closeAgentsManagerDialog: () => void;
    closeExtensionsManagerDialog: () => void;
    closeMcpDialog: () => void;
    openHooksDialog: () => void;
    closeHooksDialog: () => void;
    openResumeDialog: () => void;
    closeResumeDialog: () => void;
    handleResume: (sessionId: string) => void;
    handleBranch: (name?: string) => Promise<void>;
    openDeleteDialog: () => void;
    closeDeleteDialog: () => void;
    handleDelete: (sessionId: string) => void;
    handleDeleteMany: (sessionIds: string[]) => void;
    openHelpDialog: () => void;
    closeHelpDialog: () => void;
    setHelpTab: (tab: HelpTab) => void;
    openFeedbackDialog: () => void;
    closeFeedbackDialog: () => void;
    temporaryCloseFeedbackDialog: () => void;
    submitFeedback: (rating: number) => void;
    openRewindSelector: () => void;
    closeRewindSelector: () => void;
    handleRewindConfirm: (userItem: HistoryItem) => void;
}
export declare const UIActionsContext: import("react").Context<UIActions | null>;
export declare const useUIActions: () => UIActions;
