import type { ChartTypeBits, IChartContext, IChartSnapshot, IUniverDataSet } from '@univerjs-pro/engine-chart'; import type { IInitialSheetChartMapping } from './initial-sheet-chart-source-inference'; export declare function applyPersistedChartContext(dataSet: IUniverDataSet, persistedContext: NonNullable): IChartContext; export declare function buildInitialChartContext(dataSet: IUniverDataSet, chartType: ChartTypeBits, mapping?: Pick, authoredContext?: NonNullable): NonNullable; export declare function rebuildChartContextForSourceChange(dataSet: IUniverDataSet, chartType: ChartTypeBits, currentContext: IChartContext, mapping?: Pick): IChartContext; export declare function reconcileChartContextForDataRefresh(dataSet: IUniverDataSet, chartType: ChartTypeBits, currentContext: IChartContext): IChartContext;