import type { ChartSeriesType } from "../models/seriesType/config.js";
/**
 * 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.js").FocusedItemIdentifier<TInputSeriesType> | null, state: {
  series: {
    defaultizedSeries: import("./plugins/corePlugins/useChartSeries/useChartSeries.types.js").DefaultizedSeriesGroups<TInputSeriesType>;
    idToType: import("./index.js").SeriesIdToType;
    dataset?: Readonly<import("./index.js").DatasetType>;
  };
}) => {
  type: SeriesType;
  seriesId: import("../index.js").SeriesId;
  dataIndex: number;
} | null) | null;