import { RenderText } from "../RenderText";
import { TextCursorPosition } from "../editInfo/TextCursorPosition";
export declare class TextCursorMoveWorker {
    /**
     * 检查是否为异常情况，异常情况返回null
     * @param renderText
     * @param cursorPosition
     */
    checkValid(renderText: RenderText, cursorPosition: TextCursorPosition): {
        paragraph: import("..").TextParagraph;
        line: import("..").TextLine;
    } | null;
    moveRight(renderText: RenderText, cursorPosition: TextCursorPosition): TextCursorPosition;
    moveLeft(renderText: RenderText, cursorPosition: TextCursorPosition): TextCursorPosition;
    moveUp(renderText: RenderText, cursorPosition: TextCursorPosition): TextCursorPosition;
    moveDown(renderText: RenderText, cursorPosition: TextCursorPosition): TextCursorPosition;
}
//# sourceMappingURL=TextCursorMoveWorker.d.ts.map