import * as React from 'react'; import type { Side, Align } from '../../utils/useAnchorPositioning.js'; import type { AnchorUIComponentProps } from '../../utils/types.js'; import type { TransitionStatus } from '../../utils/useTransitionStatus.js'; import { InteractionType } from '../../utils/useEnhancedClickHandler.js'; /** * A container for the popover contents. * Renders a `
` element. * * Documentation: [Anchor UI Popover](https://anchorui.com/react/components/popover) */ declare const PopoverPopup: React.ForwardRefExoticComponent>; declare namespace PopoverPopup { interface State { /** * Whether the popover is currently open. */ open: boolean; side: Side; align: Align; transitionStatus: TransitionStatus; } interface Props extends AnchorUIComponentProps<'div', State> { /** * Determines the element to focus when the popover is opened. * By default, the first focusable element is focused. */ initialFocus?: React.RefObject | ((interactionType: InteractionType) => React.RefObject); /** * Determines the element to focus when the popover is closed. * By default, focus returns to the trigger. */ finalFocus?: React.RefObject; } } export { PopoverPopup };