import { Node as ProseMirrorNode } from 'prosemirror-model'; /** * Deterministic fallback TOC id for nodes that do not carry sdBlockId. * * @param node - The tableOfContents ProseMirror node. * @param pos - The node's absolute position in the document. * @returns A deterministic string id prefixed with `toc-auto-`. */ export declare function buildFallbackTocNodeId(node: ProseMirrorNode, pos: number): string; /** * Public TOC id used across discovery and block targeting. * * Must be stable across stateless re-opens of the same document so IDs returned * by `toc.list` can be reused by `toc.get/configure/update/remove`. * * Do not use sdBlockId here: it is runtime-generated and can change every time a * document is loaded. * * @param node - The tableOfContents ProseMirror node. * @param pos - The node's absolute position in the document. * @returns A deterministic id derived from position + instruction. */ export declare function resolvePublicTocNodeId(node: ProseMirrorNode, pos: number): string; //# sourceMappingURL=toc-node-id.d.ts.map