import { MutableRefObject } from 'react'; type UseFocusType = () => void; /** * The useFocus function takes a ref as an argument and returns a setFocus function. * The ref should be attached to an element to make it focusable via the setFocus function. * @example const setFocus = useFocus(ref) * * @param htmlElRef - The ref object that will be focused. * * @return A setFocus function * */ export declare const useFocus: (htmlElRef: MutableRefObject) => UseFocusType; export {};