import { CSSProperties, Dispatch, RefObject, SetStateAction } from 'react'; import { PopoverProps } from './Popover'; import { Placement } from '@floating-ui/react-dom'; import { FocusableElement } from 'tabbable'; export type PopoverContextProps = { popoverId: string; invoker?: HTMLElement; setInvoker?: Dispatch>; popover?: HTMLElement; setPopover?: Dispatch>; rootNode?: Node; setRootNode?: Dispatch>; arrowElement?: HTMLSpanElement; setArrowElement?: Dispatch>; openState: boolean; setOpenState: Dispatch>; popoverStyle?: CSSProperties; placement?: Placement; openPopover: () => void; closePopover: (replacementFn?: () => void) => void; onClose?: PopoverProps["onClose"]; openOnHover: PopoverProps["openOnHover"]; controlled: boolean; disableCloseOnClickOutside?: PopoverProps["disableCloseOnClickOutside"]; disableCloseOnEscape?: PopoverProps["disableCloseOnEscape"]; modal?: PopoverProps["modal"]; noPadding?: PopoverProps["noPadding"]; fillAvailableHeight: PopoverProps["fillAvailableHeight"]; maxHeight: PopoverProps["maxHeight"]; matchReferenceWidth: PopoverProps["matchReferenceWidth"]; fixedWidth: PopoverProps["fixedWidth"]; disableCaret: PopoverProps["disableCaret"]; disableFlipFallback: PopoverProps["disableFlipFallback"]; disableFocusLock: PopoverProps["disableFocusLock"]; disableTriggerFocus: PopoverProps["disableTriggerFocus"]; arrowRef: RefObject; resetKey: number; focusables: FocusableElement[] | null; }; export declare const PopoverContext: import('react').Context;