import { type RefObject } from 'react'; export type FocusPseudoSelector = ':focus' | ':focus-visible' | ':focus-within'; /** * This hook allows you to determine if an element matches the :focus, :focus-visible, or :focus-within pseudo selectors. * * @param ref - The ref to the element to check * @param selector - The pseudo selector to check for */ export declare function useHasFocus(ref: RefObject, selector?: FocusPseudoSelector): boolean;