import { SelectionCurrentInput, SelectionInfo } from '../../../../../../document-api/src/index.js';
import { Editor } from '../../core/Editor.js';
/**
 * Reads the current ProseMirror selection and projects it into the Document
 * API's {@link SelectionInfo} shape, including a multi-segment
 * {@link TextTarget} for selections that span more than one block.
 *
 * Positions within a textblock are mapped to the flattened text model used
 * by {@link computeTextContentLength} (text = length, leaf atoms = 1, block
 * separators = 1 between children). For text-only blocks this collapses to
 * a direct position-within-block mapping.
 */
export declare function resolveCurrentSelectionInfo(editor: Editor, input: SelectionCurrentInput): SelectionInfo;
//# sourceMappingURL=selection-info-resolver.d.ts.map