import { TextCursorPosition } from "./TextCursorPosition";
import { RenderText } from "../RenderText";
import { GraphicNode } from "../../graphics";
import { AppEventContext } from "../../app";
import { LayoutWorker } from "../../ability/line/LayoutWorker";
import { OolongNodeModifyWorker } from "./baseprops/OolongNodeModifyWorker";
import { OolongLineModifyWorker } from "./baseprops/OolongLineModifyWorker";
import { MindmapModifyWorker } from "@/renderText/editInfo/baseprops/MindmapModifyWorker";
interface StringBuilder {
    text: string;
}
export declare class EditTextWorker {
    prevStringBuilder: StringBuilder;
    nextStringBuilder: StringBuilder;
    currentbuilder: StringBuilder;
    layoutWorker: LayoutWorker;
    nodeModifyBaseWorker: OolongNodeModifyWorker;
    lineModifyWorker: OolongLineModifyWorker;
    mindmapModifyWorker: MindmapModifyWorker;
    switchCurrentBuilder(textCursor: TextCursorPosition, other: TextCursorPosition): boolean;
    splitText(renderText: RenderText, textCursor: TextCursorPosition): {
        prev: string;
        next: string;
        index: number;
    };
    editText(renderText: RenderText, textCursor: TextCursorPosition, data: string): string;
    modifyBaseProps(renderText: RenderText, node: GraphicNode, eventCtx: AppEventContext): void;
}
export {};
//# sourceMappingURL=EditTextWorker.d.ts.map