import type { Placement } from '@floating-ui/react-dom'; import type { AriaAttributes, ReactElement, ReactNode, Ref } from 'react'; type LegacyChildrenAPI = (value: { ref: Ref; ariaProps: AriaAttributes; }) => React.ReactNode; export interface PopoverProps { /** * The component this popover will anchor next to and point at. * Ideally, this component is an interactive element (e.g.