import { type Ref, type Component } from 'vue';
export interface HistoryPanelOptions {
    /** 触发元素的 ref */
    triggerRef: Ref<HTMLElement | null>;
    /** 历史面板组件 */
    panelComponent: Component;
    /** 面板组件的 props */
    panelProps?: Record<string, any>;
    /** tippy 配置选项 */
    tippyOptions?: {
        placement?: 'bottom-end' | 'bottom-start' | 'bottom' | 'top-end' | 'top-start' | 'top';
        offset?: [number, number];
        appendTo?: HTMLElement | (() => HTMLElement) | 'parent';
    };
}
/**
 * 历史面板 Composable
 * 用于管理基于 tippy.js 的历史面板显示逻辑
 */
export declare function useHistoryPanel(options: HistoryPanelOptions): {
    show: () => void;
    hide: () => void;
    toggle: () => void;
    handleTriggerClick: (event: Event) => void;
    destroy: () => void;
    isVisible: () => boolean;
};
//# sourceMappingURL=use-history-panel.d.ts.map