/** * Shared test utilities for trackChangesHelpers tests. */ /** * Find the document position of a text node whose text equals exactText. * @param {import('prosemirror-model').Node} docNode - Document or node to search * @param {string} exactText - Exact text to find * @returns {number | null} Start position of the text node, or null if not found */ export function findTextPos(docNode: import('prosemirror-model').Node, exactText: string): number | null; /** * Find the start and end positions of the first paragraph node in a document. * @param {import('prosemirror-model').Node} doc - Document node to search * @returns {{ paraStart: number, paraEnd: number }} */ export function findFirstParagraphRange(doc: import('prosemirror-model').Node): { paraStart: number; paraEnd: number; }; //# sourceMappingURL=testUtils.d.ts.map