import type { FloatingContext, UseInteractionsReturn } from '@floating-ui/react'; import type { CSSProperties, MutableRefObject } from 'react'; type DropdownMenuContextValue = { activeIndex: number | null; context: FloatingContext; floatingStyles: CSSProperties; getFloatingProps: UseInteractionsReturn['getFloatingProps']; getItemProps: UseInteractionsReturn['getItemProps']; getReferenceProps: UseInteractionsReturn['getReferenceProps']; labelsRef: MutableRefObject>; listRef: MutableRefObject>; open: boolean; setActiveIndex: (index: number | null) => void; setFloating: (node: HTMLElement | null) => void; setReference: (node: Element | null) => void; }; declare const DropdownMenuContext: import("react").Context; declare function useDropdownMenuContext(componentName: string): DropdownMenuContextValue; export { DropdownMenuContext, useDropdownMenuContext };