import { TextProps } from "../../../graphics";
import { AbsTextFontWorker } from "./AbsTextFontWorker";
import { AppEventContext } from "../../../app";
import { EditTextWorker } from "../../../renderText";
import { EditTextInfo } from "../../../input/EditTextInfo";
import { TextSelectionInfo } from "../../../input/selection/TextSelectionInfo";
export declare class TextFontSizeWorker extends AbsTextFontWorker {
    protected editTextWorker: EditTextWorker;
    private docPosWorker;
    private fontSizeHandlers;
    private clampFontSize;
    changeFontProp(fontSize: number, context: AppEventContext): void;
    changeFontPropByIds(fontSize: number, idList: string[], context: AppEventContext): void;
    richStyle(prop: any): Record<string, string>;
    textProp(prop: any): Partial<TextProps>;
    private shouldScalePlaceholderBaseProps;
    private appendPlaceholderScaleBaseProp;
    protected changeFontPropBySelection(fontSize: number, editInfo: EditTextInfo, selection: TextSelectionInfo, context: AppEventContext): void;
    protected changeFontPropForWholeSelection(fontSize: number, editInfo: EditTextInfo, selection: TextSelectionInfo, context: AppEventContext): void;
    protected changeFontPropForWhole(fontSize: number, context: AppEventContext): void;
    protected changeFontPropForIds(fontSize: number, context: AppEventContext, ids: string[]): void;
    /**
     * 调整 DocContainer 内后续兄弟节点的位置
     */
    private adjustDocContainerSiblings;
}
//# sourceMappingURL=TextFontSizeWorker.d.ts.map