/**
 * Find the enclosing `tableOfContents` node for a document position. Used by
 * the context menu to route "Update table of contents" through
 * `editor.doc.toc.update`.
 *
 * @param {import('prosemirror-model').Node} doc
 * @param {number} pos
 * @returns {{ node: import('prosemirror-model').Node, pos: number, sdBlockId: string | null } | null}
 */
export function findTocAncestor(doc: import('prosemirror-model').Node, pos: number): {
    node: import('prosemirror-model').Node;
    pos: number;
    sdBlockId: string | null;
} | null;
//# sourceMappingURL=find-toc-ancestor.d.ts.map