import type { ChartSeriesType } from "../../../../../models/seriesType/config.js";
import type { SeriesId } from "../../../../../models/seriesType/common.js";
import type { ProcessedSeries } from "../../../corePlugins/useChartSeries/index.js";
/**
 * Returns the next series type and id that contains some data.
 * Returns `null` if no other series have data.
 * @param series - The processed series from the store.
 * @param availableSeriesTypes - The set of series types that can be focused.
 * @param type - The current series type.
 * @param seriesId - The current series id.
 */
export declare function getNextNonEmptySeries<OutSeriesType extends Exclude<ChartSeriesType, 'sankey'> = Exclude<ChartSeriesType, 'sankey'>>(series: ProcessedSeries<ChartSeriesType>, availableSeriesTypes: Set<OutSeriesType>, type?: ChartSeriesType, seriesId?: SeriesId): {
  type: OutSeriesType;
  seriesId: SeriesId;
} | null;