/** * @license * Copyright 2025 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import { type ApprovalMode, type Config } from '@3-/qwen-code-core'; import type { HistoryItemWithoutId } from '../types.js'; export interface UseAutoAcceptIndicatorArgs { config: Config; addItem?: (item: HistoryItemWithoutId, timestamp: number) => void; onApprovalModeChange?: (mode: ApprovalMode) => void; } export declare function useAutoAcceptIndicator({ config, addItem, onApprovalModeChange, }: UseAutoAcceptIndicatorArgs): ApprovalMode;