import type { IWorksheetData } from '@univerjs/core'; import { IUniverInstanceService } from '@univerjs/core'; import { IDrawingManagerService } from '@univerjs/drawing'; import { ISheetDrawingService } from '@univerjs/sheets-drawing'; import type { IMoveChartMutationParams } from '../commands/mutations/move-chart.mutation'; import { SheetsChartService } from './sheets-chart.service'; export interface IPreparedChartMove { apply(): void; rollback(): unknown[]; notify(): void; notifyRestored(): void; } /** A move changes ownership; ChartModel and its live data-source binding remain intact. */ export declare class ChartMoveService { private readonly _instances; private readonly _charts; private readonly _drawings; private readonly _manager; constructor(_instances: IUniverInstanceService, _charts: SheetsChartService, _drawings: ISheetDrawingService, _manager: IDrawingManagerService); apply(params: IMoveChartMutationParams): boolean; prepareTransfer(params: IMoveChartMutationParams, pendingTargetSheet?: Pick): IPreparedChartMove | undefined; private _prepare; private _notify; }