import type { Ref } from 'vue';
import type ChatBot from '../components/chat-bot.vue';
import type { ShortcutManager } from '../manager/business/shortcut-manager';
import type { AIBluekingProps } from '../types';
import type { ForwardToManagerFn } from './use-ai-blueking-init';
import type { Shortcut } from '@blueking/chat-x';
export interface UseAiSelectionParams {
    chatBotRef: Ref<InstanceType<typeof ChatBot> | undefined>;
    forwardToManager: ForwardToManagerFn;
    props: Pick<AIBluekingProps, 'shortcutFilter'>;
    shortcutManager: ShortcutManager;
    show: (sessionCode?: string) => Promise<void>;
}
export declare function useAiSelection(params: UseAiSelectionParams): {
    aiSelectionVisible: Ref<boolean, boolean>;
    selectedText: Ref<string, string>;
    filteredPopupShortcuts: import("vue").ComputedRef<Shortcut[]>;
    handleSelectionChange: (text: string) => void;
    handleAiSelectionShortcut: (shortcut: Shortcut, text: string) => Promise<void>;
};
//# sourceMappingURL=use-ai-selection.d.ts.map