Module ValueXY.Spring

type config;
let animate: value:valueXY => toValue:[ `raw(jsValue) | `animated(valueXY) ] => ?⁠restDisplacementThreshold:float => ?⁠overshootClamping:bool => ?⁠restSpeedThreshold:float => ?⁠velocity:jsValue => ?⁠bounciness:float => ?⁠speed:float => ?⁠tension:float => ?⁠friction:float => ?⁠stiffness:float => ?⁠mass:float => ?⁠damping:float => ?⁠isInteraction:bool => ?⁠useNativeDriver:bool => ?⁠onComplete:Animation.endCallback => ?⁠iterations:int => unit => Animation.t;