import * as React from 'react'; type Pt = { x: number; y: number; }; /** REQ-SURF-144 — zoom/pan/pinch on the Stage. * - wheel: non-passive, zooms (and prevents the page scroll) only with * ctrlKey/metaKey or while already zoomed; at 1× a plain wheel scrolls. * - one pointer: pans via pointer capture, only while zoomed. * - two pointers: pinch — zoom = start zoom × (distance / start distance), * clamped 1–8 by the Root. * - pan resets whenever zoom returns to 1. */ export declare function useZoomPan(stageRef: React.RefObject): { panState: Pt; resetPan: () => void; gesturing: boolean; handlers: { onPointerDown: (e: React.PointerEvent) => void; onPointerMove: (e: React.PointerEvent) => void; onPointerUp: (e: React.PointerEvent) => void; onPointerCancel: (e: React.PointerEvent) => void; }; }; export {}; //# sourceMappingURL=useZoomPan.d.ts.map