import type { FocusEvent, FocusEventHandler, MutableRefObject, RefObject } from 'react'; import type { RowDataType } from '../types'; interface FocusedRow { index: number; element: HTMLElement; } interface VirtualizedFocusProps { enabled?: boolean; tableRef: RefObject; tableRows: MutableRefObject>; data: readonly Row[]; rowKey?: keyof Row; update: () => void; onBlurCapture?: FocusEventHandler; } export default function useVirtualizedFocus(props: VirtualizedFocusProps): { focusedRow: FocusedRow | null; retainedRow: MutableRefObject; onBlurCapture: (event: FocusEvent) => void; }; export {};