import { OolongApp } from "../../../OolongApp";
import { TextUnOrderWorker } from "../../../../ability/textInput/textParagraphPrefix/TextUnOrderWorker";
import { TextOrderWorker } from "../../../../ability/textInput/textParagraphPrefix/TextOrderWorker";
import { TextQuoteWorker } from "../../../../ability/textInput/textParagraphPrefix/TextQuoteWorker";
import { TextNormalWorker } from "../../../../ability/textInput/textParagraphPrefix/TextNormalWorker";
import { TextFontColorWorker } from "../../../../ability/textInput/textFont/TextFontColorWorker";
import { TextFontBgColorWorker } from "../../../../ability/textInput/textFont/TextFontBgColorWorker";
import { TextFontBoldWorker } from "../../../../ability/textInput/textFont/TextFontBoldWorker";
import { TextFontItalicWorker } from "../../../../ability/textInput/textFont/TextFontItalicWorker";
import { TextUnderLineWorker } from "../../../../ability/textInput/textFont/TextUnderLineWorker";
import { TextFontStrikethroughWorker } from "../../../../ability/textInput/textFont/TextFontStrikethroughWorker";
import { TextFontSizeWorker } from "../../../../ability/textInput/textFont/TextFontSizeWorker";
import { TextAlignType } from "../../../../idl";
import { DocContainerChildrenSortPosWorker } from "../../../../ability/doc/DocContainerChildrenSortPosWorker";
import { ConvertCheckBoxWorker } from "@/ability/checkbox/ConvertCheckBoxWorker";
import { TextFontColorNoFillWorker } from "@/ability/textInput/textFont/TextFontColorNoFillWorker";
import { TextFontColorBgNoFillWorker } from "@/ability/textInput/textFont/TextFontColorBgNoFillWorker";
import { TextFontStyleWorker } from "@/ability/textInput/textFont/TextFontStyleWorker";
export declare class TextAPI {
    app: OolongApp;
    textUnOrderWorker: TextUnOrderWorker;
    textOrderWorker: TextOrderWorker;
    textQuoteWorker: TextQuoteWorker;
    textNormalWorker: TextNormalWorker;
    textFontColorWorker: TextFontColorWorker;
    textFontColorNoFillWorker: TextFontColorNoFillWorker;
    textFontColorBgNoFillWorker: TextFontColorBgNoFillWorker;
    textFontBgColorWorker: TextFontBgColorWorker;
    textFontBoldWorker: TextFontBoldWorker;
    textFontItalicWorker: TextFontItalicWorker;
    textUnderLineWorker: TextUnderLineWorker;
    textFontStrikethroughWorker: TextFontStrikethroughWorker;
    textFontSizeWorker: TextFontSizeWorker;
    textFontStyleWorker: TextFontStyleWorker;
    docPosWorker: DocContainerChildrenSortPosWorker;
    convertCheckBoxWorker: ConvertCheckBoxWorker;
    constructor(app: OolongApp);
    addUnOrderList(): void;
    addOrderList(): void;
    addQuote(): void;
    toNormal(): void;
    addUnOrderListByIds(idList: string[]): void;
    addOrderListByIds(idList: string[]): void;
    addQuoteByIds(idList: string[]): void;
    toNormalByIds(idList: string[]): void;
    changeTextColor(color: string): void;
    changeTextColorNoFill(noFill: boolean): void;
    changeTextBgColorNoFill(bgNoFill: boolean): void;
    changeTextBgColor(color: string): void;
    applyRememberedTextStyle(): void;
    changeTextBold(bold: boolean): void;
    changeTextBoldByIds(bold: boolean, idList: string[]): void;
    changeTextItalic(italic: boolean): void;
    changeTextItalicByIds(italic: boolean, idList: string[]): void;
    changeTextUnderLine(underline: boolean): void;
    changeTextUnderLineByIds(underline: boolean, idList: string[]): void;
    changeTextStrikethrough(strikethrough: boolean): void;
    changeTextStrikethroughByIds(strikethrough: boolean, idList: string[]): void;
    changeTextFontSize(fontSize: number): void;
    changeTextFontSizeByIds(fontSize: number, idList: string[]): void;
    changeHorizonAlign(align: TextAlignType): void;
    changeVerticalAlign(align: TextAlignType): void;
    /**
     * 修改指定段落的有序列表序号
     * @param nodeId 节点ID
     * @param paraIndex 段落索引
     * @param newOrderIndex 新的序号值（从1开始，例如输入1表示从1开始编号）
     * @example
     * // 将节点 "node-123" 的第 2 个段落序号改为从 5 开始
     * app.api.text.changeOrderIndex("node-123", 2, 5);
     */
    changeOrderIndex(nodeId: string, paraIndex: number, newOrderIndex: number): void;
    /**
     * 将文字节点转换为 CheckboxText 节点
     * @param nodeId 要转换的节点ID
     * @example
     * // 将纯文本节点转换为带复选框的文本节点
     * app.api.text.toCheckboxText("node-123");
     */
    toCheckboxText(nodeId: string): void;
}
//# sourceMappingURL=TextAPI.d.ts.map