import { IDomEditor } from '@wangeditor-next/core';
import { Path, Range } from 'slate';
/** Builds a directional Slate range that includes both boundary cells completely. */
export declare function getCellDragSelectionRange(editor: IDomEditor, anchorPath: Path, targetPath: Path): Range;
/** Records the starting cell without disturbing native text selection inside that cell. */
export declare function handleCellDragSelectionMouseDown(editor: IDomEditor, event: MouseEvent): void;
/**
 * Takes over only after the pointer crosses into another cell. This avoids Chrome collapsing the
 * native range for wrapped cells while preserving ordinary text selection within one cell.
 */
export declare function handleCellDragSelectionMouseMove(editor: IDomEditor, event: MouseEvent): void;
