import type { ChartColorsModel, ChartStyleModel } from "./types.js"; /** * Parse a `colors{N}.xml` raw XML string into a structured model. * Returns a best-effort representation — unknown children are preserved in rawXml. */ export declare function parseChartColors(rawXml: string): ChartColorsModel; /** * Build a `colors{N}.xml` string from a structured ChartColorsModel. * * Structured data (`colors` / `variations`) takes precedence over `rawXml`. * If neither `colors` nor `variations` is present we fall back to `rawXml` * (round-trip) or the built-in default palette. Mutations to `variations` * alone therefore still take effect without requiring the caller to also * populate `colors`. */ export declare function buildChartColors(model: ChartColorsModel): string; export declare function buildChartStyle(model: ChartStyleModel): string; /** * Parse a `styles{N}.xml` file to extract the style ID. */ export declare function parseChartStyle(rawXml: string): ChartStyleModel;