import { DocumentInfo, NodeInfo } from "../../idl";
import { TextProps } from "../../graphics";
import { AppEventContext } from "../../app";
import { IRect } from "@/common";
export declare class TextUtils {
    private static exitTextEditWorker;
    static dealWithAIDocumentInfo(docInfo: DocumentInfo): void;
    static dealNodeInfo(nodeInfo: NodeInfo): void;
    static dealNodeSizeForFullText(nodeInfo: NodeInfo): void;
    static blurText(ctx: AppEventContext): void;
    static measureTextBox(textProps: TextProps, rect?: IRect): {
        width: number;
        height: number;
    };
}
//# sourceMappingURL=TextUtils.d.ts.map