import type { Ref } from 'vue';
import type { SessionBusinessManager } from '../../../manager/business/session-business-manager';
export interface UseHistoryDropdownOptions {
    triggerRef: Ref<HTMLElement | null>;
    sessionBusinessManager?: SessionBusinessManager;
    onSessionSwitch?: (code: string) => void;
    onSessionDelete?: (code: string) => void;
    onSessionRename?: (code: string, newName: string) => void;
}
/**
 * 历史会话下拉面板 Composable
 *
 * 基于 useHistoryPanel 封装，专门用于历史会话下拉功能
 *
 * @param options 配置选项
 * @returns 历史面板控制方法
 */
export declare function useHistoryDropdown(options: UseHistoryDropdownOptions): {
    show: () => void;
    hide: () => void;
    toggle: () => void;
    handleTriggerClick: (event: Event) => void;
    destroy: () => void;
    isVisible: () => boolean;
};
//# sourceMappingURL=use-history-dropdown.d.ts.map