import type { IReferencedChartDataSource, IResourceRefChartDataSourceReference } from '@univerjs-pro/chart-embed';
import type { ChartDataSourceValue, IInlineChartDataSource } from '@univerjs-pro/engine-chart';
import { ChartResourceRepository } from '@univerjs-pro/engine-chart';
export type ISlideChartDataSource = IInlineChartDataSource | IReferencedChartDataSource;
export type ISlideChartDataSourceInput = {
    values: ChartDataSourceValue[][];
    source?: never;
} | {
    source: IResourceRefChartDataSourceReference;
    values?: never;
};
export declare class SlideChartResourceService extends ChartResourceRepository<ISlideChartDataSource> {
    updateDataSource(unitId: string, dataSourceId: string, values: ChartDataSourceValue[][], patch?: Partial<Pick<ISlideChartDataSource, 'name'>>): ISlideChartDataSource | undefined;
    protected _decodeDataSource(dataSourceId: string, candidate: unknown): ISlideChartDataSource;
}
