import type { EngineOp } from '@bilig/workbook';
import type { EngineCellMutationRef } from '../../cell-mutations-at.js';
import type { WorkbookStore } from '../../workbook-store.js';
import type { CommitOp, EngineRuntimeState, TransactionRecord } from '../runtime-state.js';
interface MutationRenderCommitFastPathRuntime {
    readonly state: Pick<EngineRuntimeState, 'undoStack' | 'redoStack' | 'getTransactionReplayDepth' | 'setTransactionReplayDepth'> & {
        readonly workbook: WorkbookStore;
    };
    readonly ops: readonly CommitOp[];
    readonly hasExternallyVisibleBatchRequirement: () => boolean;
    readonly restoreCellOpFromRef: (ref: EngineCellMutationRef) => EngineOp;
    readonly executeLocalNowWithCustomApply: (ops: EngineOp[], potentialNewCells: number | undefined, applyForward: (forward: TransactionRecord) => void, options: {
        readonly returnUndoOps?: boolean;
        readonly reuseForwardOps?: boolean;
    }) => readonly EngineOp[] | null;
    readonly executeTransactionNow: (record: TransactionRecord, source: 'local' | 'restore' | 'undo' | 'redo') => void;
    readonly applyCellMutationsAtNow: (refs: readonly EngineCellMutationRef[], options: {
        readonly captureUndo?: boolean;
        readonly potentialNewCells?: number;
        readonly source?: 'local' | 'restore';
        readonly returnUndoOps?: boolean;
        readonly reuseRefs?: boolean;
    }) => readonly EngineOp[] | null;
}
export declare function tryExecuteMutationRenderCommitFastPath(args: MutationRenderCommitFastPathRuntime): boolean;
export {};
