import React from 'react'; import type { GridRowId } from '../../types'; import type { SubNavigationContextType } from './types'; import type { GridFocusArea } from '../../state'; export declare function useSubFocusHandler(columnId: string, area: GridFocusArea, rowId?: GridRowId, functionalIndexes?: number): { /** * function to register the amount of indexes (stops) in the renderer */ registerIndexes: (indexes: number) => void; /** * total amount of indexes (stops) in the column */ registeredIndexes: number; /** * keydown handler to be passed to the cell wrapping element */ onKeyDown: React.KeyboardEventHandler; /** * current sub-focus index (including functional level indexes) */ subFocus: number | "first" | "last"; /** * if the renderer has called for taking care of the styling */ rendererWantsToDisplayFocusStyles: boolean; /** * memoized value to be passed to the `SubNavigationContext` -provider */ value: SubNavigationContextType; }; //# sourceMappingURL=hook.d.ts.map