). Climbs while the parent is an anchor-less DIV whose ONLY element child is
* the current node — never a section div (multi-child) or the edit root. */
private unitWrapperOf;
/** The `[data-anchor]` element of a fresh render root (the root itself for a leaf
* block, its descendant for a wrapper-shaped render like a table's align div). */
private static anchorElOf;
/** Insert/remove/swap body unit nodes per the diff. Returns `true` on success or a
* bail-reason string (parent ambiguity, order violation, wrapper semantics) — the
* session is already correct, so bailing just means a full repaint. */
private applyBodyDiff;
/** Wire a freshly rendered unit root (and its nested blocks) and stamp the unit's
* content signature on its `[data-anchor]` element — the element the next
* reconcile's DOM walk reads tokens from. */
private wireUnit;
/** Old-sequence diff state for one notes section. `null` requests remount (DOM not
* stampable/consistent). */
private notesDiff;
/** Apply a notes-section diff: rebuild the `
`'s li list, preserving kept nodes. */
private applyNotesDiff;
/** Build a notes-section `- ` for a freshly rendered note — replicating the
* converter's chrome (id/value are re-stamped by the renumber pass; the backref
* goes inside the last paragraph, matching RenderFootnoteItem). */
private buildNoteLi;
/**
* Rewrite position-derived note chrome from the session's citation-ordered note
* list: the k-th marker in document order IS note k (ids ascend in reference
* order), so marker sup text, hrefs/ids, li ids/values and backref hrefs are all
* re-derived positionally. Pure attribute/text patching of generated chrome.
*/
private renumberNoteChrome;
/** After an incremental block swap, stale marker chrome in the swapped node (the
* throwaway render numbers citations from 1) is repaired in place. */
private maybeRenumberNotes;
/** Stamp the DOM state the reconciler diffs against: container signatures on body
* tables and `data-note-anchor` + signature on notes-section items. Called after
* every full mount; reconcile stamps its own insertions. */
private stampPlanState;
/**
* Full re-render from current session state (after undo/redo, and after list edits where
* single-block rendering can't compute numbering). Optionally focus the editable block at
* `focusIndex` (caret at start, or end if `caretAtEnd`) — addressed by index because a
* block's content-hashed unid changes across the save/reproject a remount performs.
*/
private remount;
}
//# sourceMappingURL=editor.d.ts.map