import { ElementProps, FloatingContext } from '@floating-ui/react'; export interface UseSelectedProps { enabled: boolean; } /** * Opens the floating element while the reference element has been selected (has attribute `aria-selected` set to true). * This is useful for elements getting a virtual focus (ie. parent has an aria-activedescendant set to this element). */ export declare const useSelected: (context: FloatingContext, props?: UseSelectedProps) => ElementProps;