import { ComponentPropsWithoutRef, HTMLAttributes, RefObject } from 'react'; /** * Props for the PopoverContent component. * @extends ComponentPropsWithoutRef<"div"> */ export type PopoverContentProps = Omit, "popover"> & { /** Reference to the scrollable content area. */ scrollerRef?: RefObject; /** Whether to unmount children from the DOM while the popover is closed. Useful for performance when the content is expensive to render. */ hideWhileClosed?: boolean; }; /** * PopoverContent component for the main popover content area. * * Features: * - HTML Popover API top-layer rendering (popover="manual") * - Floating UI positioning via refs.setFloating and floatingStyles * - FloatingFocusManager for focus trapping (modal) or Tab-out closing (non-modal) * - Arrow/caret indicator with position computed from middlewareData.arrow * - Scroll position reset when the popover opens * - Optional scrollerRef for external scroll access * * @example * *

Popover content

* Close *
*/ export declare const PopoverContent: import('react').ForwardRefExoticComponent, HTMLDivElement>, "ref">, "popover"> & { /** Reference to the scrollable content area. */ scrollerRef?: RefObject; /** Whether to unmount children from the DOM while the popover is closed. Useful for performance when the content is expensive to render. */ hideWhileClosed?: boolean; } & import('react').RefAttributes>;