import type { SeriesItemIdentifierWithType } from "../../../../../models/index.js"; import type { ChartSeriesType } from "../../../../../models/seriesType/config.js"; import type { ChartSeriesConfig } from "../types/index.js"; /** * Cleans a series item identifier by extracting only the relevant properties * using the appropriate cleaner from the provided series configuration. * * @param {ChartSeriesConfig} seriesConfig - The configuration object for chart series. * @param {object} identifier - The series item identifier to clean. * @returns {object} A cleaned identifier object with only the properties relevant to the series type. * @throws Will throw an error if no cleaner is found for the given series type. */ export declare const cleanIdentifier: (seriesConfig: ChartSeriesConfig, identifier: U) => SeriesItemIdentifierWithType;