import { AbsDetector, InteractiveEvent, Rect, StretchType } from "../../../../common";
import { GraphicNode } from "../../../../graphics";
import { AppEventContext } from "../../../../app";
import { IPoint } from "../../../../idl";
export interface SingleStretchInfo {
    nodes: GraphicNode[];
    type: StretchType;
    angle: number;
    isLineTextRect?: boolean;
}
export declare class StretchDetector extends AbsDetector<SingleStretchInfo> {
    static HOT_DISTANCE: number;
    static LINE_TEXT_HIGHLIGHT_PADDING: number;
    computeLocalPoint(nodes: GraphicNode[], event: InteractiveEvent, ctx: AppEventContext): {
        localPoint: IPoint;
        rect: Rect;
        isLineTextRect?: boolean;
    };
    onDetect(event: InteractiveEvent, ctx: AppEventContext): boolean;
}
//# sourceMappingURL=StretchDetector.d.ts.map