import { FocusEvent, FocusEventHandler } from 'react'; /** * Returns handlers for onFocus and onBlur, as well as a property focused which * is true if the component or any child is being focused. * @param onFocus The onFocus prop if it's available. * @param onBlur The onBlur prop if it's available. */ export declare function useFocus(onFocus?: FocusEventHandler, onBlur?: FocusEventHandler): { focused: boolean; handleOnFocus: (event: FocusEvent) => void; handleOnBlur: (event: FocusEvent) => void; };