import { IAccessor, IDocumentBody, IMutationInfo, Nullable, ObjectMatrix } from '@univerjs/core';
import { ICellDataWithSpanInfo, ICopyPastePayload, ISheetDiscreteRangeLocation } from '../../services/clipboard/type';
import { IDiscreteRange } from '../utils/range-tools';
export declare function getDefaultOnPasteCellMutations(pasteFrom: ISheetDiscreteRangeLocation, pasteTo: ISheetDiscreteRangeLocation, data: ObjectMatrix<ICellDataWithSpanInfo>, payload: ICopyPastePayload, accessor: IAccessor): {
    undos: IMutationInfo<object>[];
    redos: IMutationInfo<object>[];
};
export declare function getMoveRangeMutations(from: {
    unitId: string;
    subUnitId: string;
    range?: IDiscreteRange;
}, to: {
    unitId: string;
    subUnitId: string;
    range?: IDiscreteRange;
}, accessor: IAccessor): {
    undos: IMutationInfo<object>[];
    redos: IMutationInfo<object>[];
};
export declare function getSetCellValueMutations(pasteTo: ISheetDiscreteRangeLocation, pasteFrom: Nullable<ISheetDiscreteRangeLocation>, matrix: ObjectMatrix<ICellDataWithSpanInfo>, accessor: IAccessor): {
    undos: IMutationInfo<object>[];
    redos: IMutationInfo<object>[];
};
export declare function getSetCellStyleMutations(pasteTo: ISheetDiscreteRangeLocation, matrix: ObjectMatrix<ICellDataWithSpanInfo>, accessor: IAccessor, withRichFormat?: boolean): {
    undos: IMutationInfo<object>[];
    redos: IMutationInfo<object>[];
};
export declare function getClearCellStyleMutations(pasteTo: ISheetDiscreteRangeLocation, matrix: ObjectMatrix<ICellDataWithSpanInfo>, accessor: IAccessor): {
    undos: IMutationInfo<object>[];
    redos: IMutationInfo<object>[];
};
export declare function getClearAndSetMergeMutations(pasteTo: ISheetDiscreteRangeLocation, matrix: ObjectMatrix<ICellDataWithSpanInfo>, accessor: IAccessor): {
    undos: IMutationInfo<object>[];
    redos: IMutationInfo<object>[];
};
export declare function generateBody(text: string): IDocumentBody;
