import type { ChartSeriesType } from "../models/seriesType/config.mjs";
/**
 * Create a keyboard focus handler for common use cases where focused item are defined by the series is and data index.
 */
export declare function createCommonKeyboardFocusHandler<SeriesType extends Exclude<ChartSeriesType, 'sankey' | 'heatmap'>, TInputSeriesType extends Exclude<ChartSeriesType, 'sankey' | 'heatmap'> = SeriesType>(outSeriesTypes: Set<SeriesType>, allowCycles?: boolean): (event: KeyboardEvent) => ((currentItem: import("../index.mjs").FocusedItemIdentifier<TInputSeriesType> | null, state: {
  series: {
    defaultizedSeries: import("./plugins/corePlugins/useChartSeries/useChartSeries.types.mjs").DefaultizedSeriesGroups<TInputSeriesType>;
    idToType: import("./index.mjs").SeriesIdToType;
    dataset?: Readonly<import("./index.mjs").DatasetType>;
  };
}) => {
  type: SeriesType;
  seriesId: import("../index.mjs").SeriesId;
  dataIndex: number;
} | null) | null;