import { ReactNode, CSSProperties } from 'react'; export interface PinchContentProps { className?: string; children?: ReactNode; canDrag?: boolean; canPinch?: boolean; canRotate?: boolean; pinchWithoutMove?: boolean; scaleBounds?: { min: number; max: number; }; wheelZoomFactor?: number; rubberband?: boolean; style?: CSSProperties; /** 外部控制的缩放值(受控模式) */ scale?: number; /** 缩放值变化时的回调 */ onScaleChange?: (scale: number) => void; } export interface PinchContentRef { /** 放大 */ zoomIn: (factor?: number) => void; /** 缩小 */ zoomOut: (factor?: number) => void; /** 设置缩放值 */ setScale: (scale: number) => void; /** 重置到初始状态 */ reset: () => void; /** 获取当前缩放值 */ getScale: () => number; } declare const PinchContent: import('react').ForwardRefExoticComponent>; export default PinchContent;