import type { ChartSeriesType } from "../../../../../models/seriesType/config.js";
import type { ChartSeriesConfig } from "../types/index.js";
/**
 * Serializes a series item identifier into a unique string using the appropriate serializer
 * from the provided series configuration.
 *
 * @param {ChartSeriesConfig<ChartSeriesType>} seriesConfig - The configuration object for chart series.
 * @param {SeriesItemIdentifier<ChartSeriesType>} identifier - The series item identifier to serialize.
 * @returns {string} A unique string representation of the identifier.
 * @throws Will throw an error if no serializer is found for the given series type.
 */
export declare const serializeIdentifier: <SeriesType extends ChartSeriesType, U extends {
  type: SeriesType;
}>(seriesConfig: ChartSeriesConfig<SeriesType>, identifier: U) => string;