/** * Imported Word field atoms can carry cached result runs in the shared * Yjs XML, but the ProseMirror node is intentionally a leaf atom. Strip only * those cached Yjs children before y-prosemirror hydrates the fragment, after * preserving their visible text in the canonical resolvedText attr. * * @param {import('yjs').XmlFragment | null | undefined} fragment * @returns {boolean} */ export function normalizeYjsFragmentForSchema(fragment: import('yjs').XmlFragment | null | undefined): boolean; /** * @param {Array<{ target?: unknown }> | null | undefined} events * @param {import('yjs').XmlFragment | null | undefined} fallbackFragment * @returns {boolean} */ export function normalizeYjsFragmentEventsForSchema(events: Array<{ target?: unknown; }> | null | undefined, fallbackFragment: import('yjs').XmlFragment | null | undefined): boolean; //# sourceMappingURL=normalize-yjs-fragment.d.ts.map