import React from 'react'; import { InternalPosition, PopoverProps } from './interfaces'; interface PopoverContainerProps { /** References the element the container is positioned against. */ trackRef?: React.RefObject; getTrack?: () => null | HTMLElement | SVGElement; /** Used to update the container position in case track or track position changes: const trackRef = useRef(null) return (<> ) */ trackKey?: string | number; minVisibleBlockSize?: number; /** Optional parent element to clamp popover position within its bounds */ triggerClampRef?: React.RefObject; position: PopoverProps.Position; zIndex?: React.CSSProperties['zIndex']; arrow: (position: InternalPosition | null) => React.ReactNode; children: React.ReactNode; renderWithPortal?: boolean; size: PopoverProps.Size | 'content'; fixedWidth: boolean; variant?: 'annotation'; keepPosition?: boolean; allowScrollToFit?: boolean; allowVerticalOverflow?: boolean; hideOnOverscroll?: boolean; hoverArea?: boolean; className?: string; } export default function PopoverContainer({ position, trackRef, getTrack: externalGetTrack, trackKey, triggerClampRef, minVisibleBlockSize, arrow, children, zIndex, renderWithPortal, size, fixedWidth, variant, keepPosition, allowScrollToFit, allowVerticalOverflow, hideOnOverscroll, hoverArea, className }: PopoverContainerProps): JSX.Element | null; export {};