import type { ChartSeriesType } from "../../../../../models/seriesType/config.mjs"; import type { FocusedItemIdentifier } from "../../../../../models/seriesType/index.mjs"; import type { ProcessedSeries } from "../../../corePlugins/useChartSeries/useChartSeries.types.mjs"; import type { ComputeResult } from "../../useChartCartesianAxis/computeAxisValue.mjs"; import type { ChartsXAxisProps, ChartsYAxisProps } from "../../../../../models/axis.mjs"; /** * Resolves the item a click falls on when it hit no item, by looking at the axis under the * pointer. Keeps the focused series when there is one, so clicking the empty space above a bar * moves along the series the user was already navigating. * * Returns `null` for charts without a cartesian axis, and when the axis resolves no index. */ export declare function getItemAtAxisPosition({ point, xAxis, yAxis, processedSeries, focusedItem }: { point: { x: number; y: number; }; xAxis: ComputeResult | undefined; yAxis: ComputeResult | undefined; processedSeries: ProcessedSeries; focusedItem: FocusedItemIdentifier | null; }): FocusedItemIdentifier | null;