import type { SeriesId } from "../models/index.mjs";
import type { SeriesTypeWithDataIndex } from "../models/seriesType/config.mjs";
export declare const typeSerializer: (type: string) => string;
export declare const seriesIdSerializer: (id: SeriesId) => string;
export declare const dataIndexSerializer: (dataIndex?: number) => string;
/**
 * Serializes an identifier using type, seriesId, and dataIndex properties.
 *
 * The generic constraint ensures this can only be used for series types whose
 * identifier actually includes `dataIndex`. Series types with different identifier
 * properties (like heatmap's xIndex/yIndex) must provide their own serializer.
 */
export declare const identifierSerializerSeriesIdDataIndex: <SeriesType extends SeriesTypeWithDataIndex>(identifier: {
  type: SeriesType;
  seriesId: SeriesId;
  dataIndex?: number;
}) => string;