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 IBoardChartDataSource = IInlineChartDataSource | IReferencedChartDataSource;
export type IBoardChartDataSourceInput = {
    values: ChartDataSourceValue[][];
    source?: never;
} | {
    source: IResourceRefChartDataSourceReference;
    values?: never;
};
export declare class BoardChartResourceService extends ChartResourceRepository<IBoardChartDataSource> {
    updateDataSource(unitId: string, dataSourceId: string, values: ChartDataSourceValue[][], patch?: Partial<Pick<IBoardChartDataSource, 'name'>>): IBoardChartDataSource | undefined;
    protected _decodeDataSource(dataSourceId: string, candidate: unknown): IBoardChartDataSource;
}
