import { type WorkSpreadsheetChartLayout } from './work-spreadsheet-chart-layout'; import type { WorkSlide, WorkSlideChart, WorkSlideChartSeriesStyle } from './work-types'; export interface PptxChartFormattingDiagnostic { code: string; message: string; } export interface PptxChartLayoutStyleReadResult { legendOverlay?: boolean; layout: WorkSpreadsheetChartLayout; seriesStyles: Array; diagnostics: PptxChartFormattingDiagnostic[]; } export declare function readPptxChartLayoutAndSeriesStyles(document: Document, chartNode: Element | undefined, chartType: WorkSlideChart['type'], seriesNodes: readonly Element[]): PptxChartLayoutStyleReadResult; export declare function patchPptxChartLayoutAndSeriesStyles(buffer: ArrayBuffer, slides: readonly WorkSlide[]): Promise; export declare function writePptxChartLayoutAndSeriesStyles(document: Document, chartNode: Element, chart: WorkSlideChart): void;