import { AbsDetector, InteractiveEvent } from "../../../../common";
import { AppEventContext } from "../../../../app";
import { TextParagraph } from "../../../../renderText/TextParagraph";
import { GraphicTextNode } from "../../../../graphics/node/GraphicTextNode";
import { IParagraphStyleProp } from "@/renderText/paraStyle/IParagraphStyleProp";
/**
 * 检测鼠标是否悬停在文字前缀（有序/无序列表符号）区域
 */
export interface TextPrefixDetectResult {
    node: GraphicTextNode;
    paragraph: TextParagraph;
    paragraphIndex: number;
    prefixWidth: number;
    paragraphStyle: IParagraphStyleProp;
}
export declare class TextPrefixDetector extends AbsDetector<TextPrefixDetectResult> {
    onDetect(event: InteractiveEvent, ctx: AppEventContext): boolean;
    /**
     * 获取段落首行的 x 坐标
     */
    private getFirstLineX;
}
//# sourceMappingURL=TextPrefixDetector.d.ts.map