import { DOMAttributes, FocusableElement, FocusEvents } from '@react-types/shared'; export interface FocusProps extends FocusEvents { /** Whether the focus events should be disabled. */ isDisabled?: boolean; } export interface FocusResult { /** Props to spread onto the target element. */ focusProps: DOMAttributes; } /** * Handles focus events for the immediate target. * Focus events on child elements will be ignored. */ export declare function useFocus(props: FocusProps): FocusResult;