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