import type { FloatingContext, UseInteractionsReturn } from '@floating-ui/react'; import type { CSSProperties } from 'react'; type PopoverContextValue = { contentRole: 'dialog' | null; context: FloatingContext; floatingStyles: CSSProperties; getFloatingProps: UseInteractionsReturn['getFloatingProps']; getReferenceProps: UseInteractionsReturn['getReferenceProps']; hasPopup: boolean; open: boolean; setFloating: (node: HTMLElement | null) => void; setReference: (node: Element | null) => void; }; declare const PopoverContext: import("react").Context; declare function usePopoverContext(componentName: string): PopoverContextValue; export { PopoverContext, usePopoverContext };