/** * Copyright (c) JOB TODAY S.A. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * */ import { Animated, GestureResponderHandlers } from "react-native"; import { Position } from "../@types"; declare type Props = { initialScale: number; initialTranslate: Position; onZoom: (isZoomed: boolean) => void; doubleTapToZoomEnabled: boolean; onLongPress: () => void; delayLongPress: number; }; declare const usePanResponder: ({ initialScale, initialTranslate, onZoom, doubleTapToZoomEnabled, onLongPress, delayLongPress, }: Props) => readonly [GestureResponderHandlers, Animated.Value, Animated.ValueXY]; export default usePanResponder;