import { StreamProcessor } from "../../basic/StreamProcessor";
import { InteractiveEvent, Rect } from "../../../../common";
import { AppEventContext } from "../../../../app";
import { IPoint } from "../../../../idl";
import { AbsImgNode } from "../../../../graphics/img/AbsImgNode";
import type { OolongLine } from "../../../../graphics";
import { AffineMatrix } from "../../../../math";
import { LayoutWorker } from "../../../../ability/line/LayoutWorker";
export declare class DragCropProcessor extends StreamProcessor {
    lastPoint: IPoint;
    originImgRect: Rect;
    imgNode: AbsImgNode;
    limitBounds: Rect;
    transform: AffineMatrix;
    relatedLines: Set<OolongLine>;
    layoutWorker: LayoutWorker;
    dragRect: Rect;
    onStart(event: InteractiveEvent, ctx: AppEventContext): void;
    onMove(event: InteractiveEvent, ctx: AppEventContext): void;
    onUp(event: InteractiveEvent, ctx: AppEventContext): void;
    private dragCrop;
    private modifyCropBasePos;
}
//# sourceMappingURL=DragCropProcessor.d.ts.map