import type { IMutationInfo } from '@univerjs/core'; import type { EffectRefRangeParams } from '@univerjs/sheets'; import { Disposable, DisposableCollection, ICommandService, IUniverInstanceService } from '@univerjs/core'; import { RefRangeService } from '@univerjs/sheets'; import { SparklineDataSourceModel } from '../models/sparkline-data-source.model'; export declare class SparklineRefRangeController extends Disposable { private _commandService; private readonly _refRangeService; private readonly _univerInstanceService; private _sparklineDataSourceModel; disposableCollection: DisposableCollection; constructor(_commandService: ICommandService, _refRangeService: RefRangeService, _univerInstanceService: IUniverInstanceService, _sparklineDataSourceModel: SparklineDataSourceModel); private _onRefRangeChange; refRangeHandle(config: EffectRefRangeParams, unitId: string, subUnitId: string): { redos: IMutationInfo[]; undos: IMutationInfo[]; preRedos?: undefined; preUndos?: undefined; } | { redos: IMutationInfo[]; undos: IMutationInfo[]; preRedos: IMutationInfo[]; preUndos: IMutationInfo[]; }; private _getRefRangeMutationsByDeleteRows; private _getRefRangeMutationsByDeleteCols; private _initCorrectRangeWithSparkline; }