import { Editor } from '../core/Editor.js'; import { GetNodeByIdInput, NodeAddress, SDNodeResult } from '@superdoc/document-api'; /** * Resolves a {@link NodeAddress} to an {@link SDNodeResult} by looking up the * node in the editor's current document state and projecting it to SDM/1. * * When the address includes a `story` locator, the node is resolved in * the corresponding story editor rather than the host (body) editor. */ export declare function getNodeAdapter(editor: Editor, address: NodeAddress): SDNodeResult; /** * Resolves a block node by its ID (and optional type) to an {@link SDNodeResult}. */ export declare function getNodeByIdAdapter(editor: Editor, input: GetNodeByIdInput): SDNodeResult; //# sourceMappingURL=get-node-adapter.d.ts.map