/** * Pure, IO-free comparison helpers for the idempotency round-trip checks. The * round-trip harness that drives these lives in the package's tests, not in the * engine. */ /** * Recursively strip every `attrs.id` from a ProseMirror node tree. Block ids * are regenerated by `markdownToProseMirror` (SPEC ยง11), so they must be * ignored when comparing the semantic shape of two documents. Returns a NEW * tree; the input is not mutated. */ export declare function stripBlockIds(node: any): any; /** * Find the first divergence between two values via a recursive deep compare. * Returns a short path + the two differing values, or null if they are equal. */ export declare function firstDivergence(a: any, b: any, path?: string): { path: string; a: any; b: any; } | null;