import type { UseChartKeyboardNavigationSignature } from "./plugins/featurePlugins/useChartKeyboardNavigation/index.js"; import type { ChartState } from "./plugins/models/chart.js"; import type { ChartSeriesType } from "../models/seriesType/config.js"; import type { FocusedItemIdentifier, SeriesId, SeriesItemIdentifier } from "../models/seriesType/index.js"; type ReturnedItem = { type: OutSeriesType; seriesId: SeriesId; dataIndex: number; } | null; type StateParameters = Pick, 'series'>; export declare function createGetNextIndexFocusedItem, OutSeriesType extends Exclude = InSeriesType>( /** * The set of series types compatible with this navigation action. */ compatibleSeriesTypes: Set, /** * If true, allows cycling from the last item to the first one. */ allowCycles?: boolean): (currentItem: FocusedItemIdentifier | null, state: StateParameters) => ReturnedItem; export declare function createGetPreviousIndexFocusedItem, OutSeriesType extends Exclude = InSeriesType>( /** * The set of series types compatible with this navigation action. */ compatibleSeriesTypes: Set, /** * If true, allows cycling from the last item to the first one. */ allowCycles?: boolean): (currentItem: SeriesItemIdentifier | null, state: StateParameters) => ReturnedItem; export declare function createGetNextSeriesFocusedItem, OutSeriesType extends Exclude = InSeriesType>( /** * The set of series types compatible with this navigation action. */ compatibleSeriesTypes: Set): (currentItem: SeriesItemIdentifier | null, state: StateParameters) => ReturnedItem; export declare function createGetPreviousSeriesFocusedItem, OutSeriesType extends Exclude = InSeriesType>( /** * The set of series types compatible with this navigation action. */ compatibleSeriesTypes: Set): (currentItem: SeriesItemIdentifier | null, state: StateParameters) => ReturnedItem; export {};