import { KeyboardEvent } from 'react';
import { IUseFocus } from './types';
/**
 * Handles focus events for the target and its descendants.
 */
declare const useKeyboardNav: ({ trap, root, skip }?: IUseFocus.IProps) => [number, import("react").RefObject<import("react").RefObject<HTMLElement>[]>, (e?: React.KeyboardEvent, cb?: any) => void];
export default useKeyboardNav;
