import { Doc } from '../../view/Doc';
import { HitIntentResult, HitResult } from '../hit/types';
import { ICursorPosition } from '../types/cursor';
export { getCursorCoords } from './getCursorCoords';
export { getCursorTextRawList } from './getCursorTextRawList';
export { getSelectionRects } from './getSelectionRects';
export { getSelectLinesInfo } from './selectionAnalyzer';
export { getImmediateNeighborNode, findFirstAtomBeyond, isAtBoundaryOfNode, findTargetLineId, locateByX, } from './layoutNavigation';
/**
 * 将命中结果转换为光标位置
 */
export declare function hitResultToCursor(hitResult: HitResult, opts?: {
    isPreview: boolean;
}): ICursorPosition;
/**
 * 根据节点 id 获取 HitResult
 */
export declare function getLayoutNodeByHitId(doc: Doc, actualX: number, actualY: number, hitId?: string | undefined): HitResult | null;
export declare function getHitIntent(doc: Doc, hit: HitResult): HitIntentResult;
export declare function resolveHitIntentByHitId(doc: Doc, actualX: number, actualY: number, hitId?: string | undefined): HitIntentResult;
