import type { UseChartKeyboardNavigationSignature } from "./plugins/featurePlugins/useChartKeyboardNavigation/index.mjs"; import type { ChartState } from "./plugins/models/chart.mjs"; import type { ChartSeriesType } from "../models/seriesType/config.mjs"; import type { SeriesId, FocusedItemIdentifier } from "../models/seriesType/index.mjs"; 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, /** * If true, series max index is defined by the current series length and not all series. */ useCurrentSeriesMaxLength?: 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, /** * If true, series max index is defined by the current series length and not all series. */ useCurrentSeriesMaxLength?: boolean): (currentItem: FocusedItemIdentifier | 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: FocusedItemIdentifier | 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: FocusedItemIdentifier | null, state: StateParameters) => ReturnedItem; export {};