import { type Ref } from 'vue';
import type { PopperProps } from './props';
import type { VirtualRect } from './interface';
export default function useTrigger(visible: Ref<boolean>, updateVisible: (val: boolean) => void, props: PopperProps, updateVirtualRect: (val: VirtualRect | null) => void): {
    events: Ref<Record<string, (e: MouseEvent) => void>, Record<string, (e: MouseEvent) => void>>;
    onPopperMouseEnter: () => void;
    onPopperMouseLeave: () => void;
};
