import { type WorkSpreadsheetChart, type WorkSpreadsheetChartSeries, type WorkSpreadsheetChartType, type WorkSpreadsheetContent } from '../work-types'; export interface ChartListItem { sheetId: string; sheetName: string; chart: WorkSpreadsheetChart; } export interface ChartDraft extends Omit { sheetId: string; series: WorkSpreadsheetChartSeries[]; } export declare function chartDraft(item: ChartListItem): ChartDraft; export declare function chartDraftWithType(draft: ChartDraft, type: WorkSpreadsheetChartType): ChartDraft; export declare function newChartSeries(type: WorkSpreadsheetChartType, index: number): WorkSpreadsheetChartSeries; export declare function chartKey(item: ChartListItem | undefined): string | null; export declare function replaceSeries(series: WorkSpreadsheetChartSeries[], index: number, change: Partial): WorkSpreadsheetChartSeries[]; export declare function validateSeriesErrorBars(content: WorkSpreadsheetContent, ownerSheet: WorkSpreadsheetContent['sheets'][number], series: WorkSpreadsheetChartSeries, seriesIndex: number, chartType: WorkSpreadsheetChartType): string | null; export declare function validateChartAxes(content: WorkSpreadsheetContent, ownerSheet: WorkSpreadsheetContent['sheets'][number], axes: WorkSpreadsheetChart['axes'], hasSecondaryAxes: boolean): string | null;