import type { BlockElement } from '@blockeditor/lit';
type Caret = {
    node: Node;
    offset: number;
};
export declare const ensureBlockInContainer: (blockElement: BlockElement, containerElement: BlockElement) => boolean;
export declare function isRangeReverse(): boolean;
export declare function getCurrentCaretPos(tail: boolean): DOMRect | null;
export declare function horizontalGetNextCaret(point: {
    x: number;
    y: number;
}, block: BlockElement, forward?: boolean, span?: number): Caret | undefined;
export declare function moveCursor(caret: Caret): boolean | undefined;
export declare function getCurrentTextSelectionCarets(): {
    startCaret: Caret;
    endCaret: Caret;
} | undefined;
export declare function applyCarets(startCaret: Caret, endCaret: Caret): boolean;
export {};
//# sourceMappingURL=utils.d.ts.map