import { Placement } from '../../../../../../document-api/src/index.js';
import { Node as ProseMirrorNode } from 'prosemirror-model';
/**
 * Resolves a placement directive into an absolute ProseMirror insertion position.
 *
 * @param doc - Current ProseMirror document
 * @param targetPos - Absolute position of the target node (start of node)
 * @param targetNode - The ProseMirror node at targetPos
 * @param placement - Where to place content relative to the target
 * @returns Absolute ProseMirror position for insertion
 */
export declare function resolvePlacement(doc: ProseMirrorNode, targetPos: number, targetNode: ProseMirrorNode, placement?: Placement): number;
//# sourceMappingURL=placement-resolver.d.ts.map