import type { ElementProps, FloatingContext } from '../types'; export interface Props { enabled?: boolean; keyboardOnly?: boolean; } /** * Adds focus event listeners that change the open state, like CSS :focus. * @see https://floating-ui.com/docs/useFocus */ export declare const useFocus: ({ open, onOpenChange, dataRef, refs, events }: FloatingContext, { enabled, keyboardOnly }?: Props) => ElementProps;