import { type FocusEvent, type KeyboardEvent, type RefObject } from "react"; export interface IUseToolbarRovingFocusOptions { containerRef: RefObject; isDisabledFocusable: boolean; loop: boolean; } export interface IUseToolbarRovingFocusResult { onKeyDown: (event: KeyboardEvent) => void; onFocusCapture: (event: FocusEvent) => void; onBlurCapture: (event: FocusEvent) => void; } /** * Roving tabindex over the focusable descendants of a container, driven by the DOM. * * Children must not render a tabIndex that changes between renders. React only rewrites the * attribute when the prop changes, so a constant value never overrides what this hook writes. */ export declare function useToolbarRovingFocus({ containerRef, isDisabledFocusable, loop, }: IUseToolbarRovingFocusOptions): IUseToolbarRovingFocusResult; //# sourceMappingURL=useToolbarRovingFocus.d.ts.map