import React from 'react'; import type { DropdownOptions, DropdownPopoverOptions } from './types'; export declare function coordinatesToPosition(coordinates: { x: number; y: number; }): { left: number; top: number; }; declare function useDropdown(content: React.ReactNode, isOpen: boolean, canReturnFocus: boolean, providedOptions?: DropdownOptions, popoverOptions?: DropdownPopoverOptions): { ref: (ref: HTMLElement | null) => void; toggleElementRef: React.MutableRefObject; popoverElementRef: React.MutableRefObject; handleShowDropdown: () => void; handleHideDropdown: () => void; dropdownPopover: React.ReactPortal; }; export default useDropdown;