import { RefObject } from 'react'; /** * Removes every focusable descendant of the given element from the tab order. * * Blocks keyboard entry only — the subtree stays visible and readable by * assistive technology. Elements added later are handled as well. Original * `tabindex` values are kept on the nodes and restored on cleanup. * * @function useDisableFocusWithin * @param ref Root element whose descendants are taken out of the tab order * @param disabled Enables the behavior * * @category Hooks */ export declare function useDisableFocusWithin(ref: RefObject, disabled?: boolean): void;