import { Chart } from '../document-model/index.js'; /** * Serialize a {@link Chart} to a DrawingML chart part (chart1.xml) — the inverse * of `parseChart`. Emits exactly the cached data the parser reads * (`c:numCache` / `c:strCache`), so a parse → serialize → parse round-trip * preserves type, series, categories, colours, title, legend and axis titles. * Pie/doughnut charts omit axes; scatter emits two value axes (`c:valAx`); * everything else gets a category + value axis pair. Shared by the xlsx writer * (embedded charts, WT1) and the docx writer (drawing charts, WT3). * * @param chart The chart to serialize. * @returns The chart1.xml document as a string (with the XML declaration). */ export declare function chartSpaceXml(chart: Chart): string;