import { Node as ProseMirrorNode } from 'prosemirror-model'; import { BlockCandidate } from './node-address-resolver.js'; import { InlineCandidate } from './inline-address-resolver.js'; import { NodeInfo, NodeType } from '@superdoc/document-api'; /** * Maps a block or inline candidate to its typed {@link NodeInfo} representation. * * @param candidate - The block or inline candidate to map. * @param overrideType - Optional node type override. * @returns Typed node information with properties populated from node attributes. * @throws {Error} If the node type is not implemented or the candidate kind mismatches. */ export declare function mapNodeInfo(candidate: BlockCandidate | InlineCandidate, overrideType?: NodeType, doc?: ProseMirrorNode): NodeInfo; //# sourceMappingURL=node-info-mapper.d.ts.map