import React from 'react'; import { ChartScale, NumericChartScale } from '../../internal/components/cartesian-chart/scales'; import { ChartContainerProps } from '../chart-container'; import { ChartDataTypes, MixedLineBarChartProps, VerticalMarkerX } from '../interfaces'; import { ScaledBarGroup } from '../make-scaled-bar-groups'; import { ScaledPoint } from '../make-scaled-series'; export type UseNavigationProps = Pick, 'highlightedSeries' | 'series' | 'visibleSeries'> & { xScale: ChartScale; yScale: NumericChartScale; barGroups: ScaledBarGroup[]; scaledSeries: ReadonlyArray>; highlightedPoint: ScaledPoint | null; highlightedGroupIndex: number | null; isHandlersDisabled: boolean; pinPopover(pinned?: boolean): void; highlightSeries(series: MixedLineBarChartProps.ChartSeries | null): void; highlightGroup(groupIndex: number): void; highlightPoint(point: ScaledPoint | null): void; highlightX: (verticalMarker: VerticalMarkerX | null) => void; clearHighlightedSeries(): void; verticalMarkerX: VerticalMarkerX | null; isRtl?: boolean; horizontalBars: boolean; }; export declare function useNavigation({ series, visibleSeries, scaledSeries, barGroups, xScale, yScale, highlightedPoint, highlightedGroupIndex, highlightedSeries, isHandlersDisabled, pinPopover, highlightSeries, highlightGroup, highlightPoint, highlightX, verticalMarkerX, isRtl, horizontalBars }: UseNavigationProps): { isGroupNavigation: boolean; onFocus: () => void; onKeyDown: (event: React.KeyboardEvent) => void; xIndex: number; };