import type { SeriesId } from "../models/index.js"; import type { SeriesTypeWithDataIndex } from "../models/seriesType/config.js"; 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: (identifier: { type: SeriesType; seriesId: SeriesId; dataIndex?: number; }) => string;