import { MaybeRefOrGetter, ShallowRef } from 'vue'; export type OpenDirection = "top" | "bottom" | "left" | "right"; export declare const useOpenDirection: (element: Readonly>, defaultDirection?: MaybeRefOrGetter, horizontal?: MaybeRefOrGetter) => { /** * Direction in which the popover should open to. */ openDirection: import('vue').Ref; /** * Detects in which direction a popover should be opened, depending on the available space in * each direction. Should only be called onBeforeMount or later to support server side * rendering. */ updateOpenDirection: () => void; }; export declare const findParentWithHiddenOverflow: (element?: Element) => Element | undefined;