import type { EngineOp } from '@bilig/workbook';
import type { WorkbookStore } from '../../workbook-store.js';
export type MutationCoreCapturedInverseKind = 'deleteSheet' | 'deleteRows' | 'deleteColumns' | 'setCellValue' | 'setCellFormula' | 'clearCell';
type StructuralUndoAxis = 'row' | 'column';
export declare function createMutationCoreInverseOps(args: {
    readonly workbook: WorkbookStore;
    readonly captureSheetCellState: (sheetName: string) => EngineOp[];
    readonly captureRowRangeCellState: (sheetName: string, start: number, count: number) => EngineOp[];
    readonly captureColumnRangeCellState: (sheetName: string, start: number, count: number) => EngineOp[];
    readonly restoreCellOps: (sheetName: string, address: string) => EngineOp[];
    readonly captureFormulaCellStateForStructuralUndo: (sheetName: string, axis: StructuralUndoAxis, start: number, count: number) => EngineOp[];
}): {
    readonly inverseOpsFor: (op: EngineOp) => EngineOp[];
    readonly buildInverseOps: (ops: readonly EngineOp[]) => EngineOp[];
};
export {};
