import { GraphicNode, OolongNode } from "../../../graphics";
import type { OolongLine } from "../../../graphics";
import { AppEventContext } from "../../../app";
import { UpdateNodeInfo } from "../../../action";
import { EditTextInfo } from "../../../input/EditTextInfo";
import { TextSelectionInfo } from "../../../input/selection/TextSelectionInfo";
/**
 * 有序列表处理器
 */
export declare class TextOrderWorker {
    private editTextWorker;
    batchNodesToOrderByNotEditing(context: AppEventContext): void;
    batchNodesToOrderByIds(idList: string[], context: AppEventContext): void;
    toOrderBySelection(node: GraphicNode, selection: TextSelectionInfo, context: AppEventContext): void;
    toOrderByEditing(node: GraphicNode, editTextInfo: EditTextInfo, context: AppEventContext): void;
    private toOrderWithPara;
    toOrderByNotEditing(node: OolongNode | OolongLine): UpdateNodeInfo;
    /**
     * 修改指定段落的有序列表序号
     * @param nodeId 节点ID
     * @param paraIndex 段落索引
     * @param newOrderIndex 新的序号值（从0开始）
     * @param context 应用上下文
     */
    changeOrderIndex(nodeId: string, paraIndex: number, newOrderIndex: number, context: AppEventContext): void;
}
//# sourceMappingURL=TextOrderWorker.d.ts.map