import type { EditOperation } from "../../types";
import type { ExecutionResult } from "../services/editService";
export declare function isRedoStackEntry(operation: EditOperation): boolean;
/**
 * Persisting any new operation removes all undone operations for that session
 * on the server. Apply the same rule before deciding whether the new operation
 * belongs in the currently visible history scope.
 */
export declare function reconcileNewHistoryOperation(history: EditOperation[], newOperation: EditOperation, includeNewOperation: boolean): EditOperation[];
export declare function isMissingEditOperationResult(result: ExecutionResult<unknown>): boolean;
