import type MindElixir from '../index';
/**
 * `diffRefresh` — install a new document like `refresh(data)`, but only touch
 * what actually changed.
 *
 * `refresh(data)` is, and stays, the authoritative "replace the whole document"
 * implementation: it clears the selection, resets focus mode, fires `refresh`,
 * deep-clones the input so the caller's object is never captured, then rebuilds
 * every node and every line. Nothing here changes it — this is a second entry
 * point beside it, and the two are observably equivalent by design.
 *
 * The win is in what it does *not* do: unchanged nodes keep their element, their
 * listeners, their measured size, their focus and hover state, and the map is
 * not re-laid-out from scratch. Undo/redo is the main caller (`historyStack` can
 * replay a snapshot without rebuilding the world), and progressive output is the
 * other — a streaming parser that lags thirty chunks behind still only needs one
 * diff against the newest tree, because intermediate targets are never replayed.
 *
 * Install it with `mei.install(diffRefreshPlugin)`; `restore()` picks it up
 * automatically once `mei.diffRefresh` exists.
 */
export default function (mei: MindElixir): void;
