/** * Pure helpers extracted from the docmost-sync Phase-0 idempotency harness * (`src/roundtrip.ts`). Only the IO-free comparison utilities are vendored — * the CLI scaffold (`--fixture`/`--page`/`--corpus`, `loadSettings`, the * `DocmostClient` live path and `process.exit`) is NOT vendored (plan §2.1: * the roundtrip harness moves into the package's tests, not 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;