import { PptxElement } from 'pptx-viewer-core'; import { ShapeAdjustmentHandleDescriptor } from 'pptx-viewer-shared'; export interface AdjustGestureDeps { /** Stage scale (screen px per element px); the drag delta is un-scaled by it. */ getScale(): number; /** First movement past the dead zone: push history, mark the interaction. */ onStart(): void; /** Live frame: write the new adjustment map onto the element (no history). */ onPreview(elementId: string, adjustments: Record): void; /** Gesture finished. `moved` is false for a plain tap (no dead-zone exit). */ onEnd(moved: boolean): void; } export interface AdjustGestureController { begin(element: PptxElement, descriptor: ShapeAdjustmentHandleDescriptor, event: PointerEvent): void; isActive(): boolean; dispose(): void; } /** `element` with `adjustments` merged over its existing `a:avLst` values. */ export declare function withShapeAdjustments(element: PptxElement, adjustments: Record): PptxElement; export declare function createAdjustGestureController(deps: AdjustGestureDeps): AdjustGestureController; //# sourceMappingURL=editor-adjust-gesture.d.ts.map