import type { BaseGestureConfig, ExcludeInternalConfigProps, GestureEvent, SingleGesture, } from '../../../types'; export type PinchGestureNativeProperties = Record; // We want to keep `{}` because it does not break ts-server suggestions // eslint-disable-next-line @typescript-eslint/ban-types export type PinchHandlerData = {}; export type PinchExtendedHandlerData = { scale: number; velocity: number; focalX: number; focalY: number; scaleChange: number; }; export type PinchGestureProperties = PinchGestureNativeProperties; export type PinchGestureInternalConfig = BaseGestureConfig< PinchGestureProperties, PinchHandlerData, PinchExtendedHandlerData >; export type PinchGestureConfig = ExcludeInternalConfigProps; export type PinchGestureEvent = GestureEvent; export type PinchGestureActiveEvent = GestureEvent; export type PinchGesture = SingleGesture< PinchGestureProperties, PinchHandlerData, PinchExtendedHandlerData >;