import { type ChartSpace } from './chart'; /** Parse a `xl/charts/chartN.xml` payload. */ export declare function parseChartXml(bytes: Uint8Array | string): ChartSpace; /** * Inspect a parsed chart-space root and return the rId referenced by * `` if any. The loader calls this after parsing the * chart so it can resolve the chartDrawing part via the chart's rels. */ export declare function findUserShapesRId(bytes: Uint8Array | string): string | undefined; /** Optional rels rIds the writer resolves before bytes are emitted. */ export interface ChartSerializeOptions { /** Drawing-rels id for the `` reference. */ userShapesRId?: string; } /** Serialise a ChartSpace to its `xl/charts/chartN.xml` bytes. */ export declare function chartToBytes(space: ChartSpace, opts?: ChartSerializeOptions): Uint8Array;