import { ShallowRef } from 'vue'; export type OpenDirection = "top" | "bottom"; export declare const useOpenDirection: (element: Readonly>, defaultDirection?: OpenDirection) => { /** * 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;