package typingsSlinky.popmotion

import org.scalablytyped.runtime.StObject
import scala.scalajs.js
import scala.scalajs.js.`|`
import scala.scalajs.js.annotation.{JSGlobalScope, JSGlobal, JSImport, JSName, JSBracketAccess}

object elapsedMod {
  
  @JSImport("popmotion/lib/animations/utils/elapsed", "hasRepeatDelayElapsed")
  @js.native
  def hasRepeatDelayElapsed(elapsed: Double, duration: Double, delay: Double, isForwardPlayback: Boolean): Boolean = js.native
  
  @JSImport("popmotion/lib/animations/utils/elapsed", "loopElapsed")
  @js.native
  def loopElapsed(elapsed: Double, duration: Double): Double = js.native
  @JSImport("popmotion/lib/animations/utils/elapsed", "loopElapsed")
  @js.native
  def loopElapsed(elapsed: Double, duration: Double, delay: Double): Double = js.native
  
  @JSImport("popmotion/lib/animations/utils/elapsed", "reverseElapsed")
  @js.native
  def reverseElapsed(elapsed: Double, duration: Double): Double = js.native
  @JSImport("popmotion/lib/animations/utils/elapsed", "reverseElapsed")
  @js.native
  def reverseElapsed(elapsed: Double, duration: Double, delay: js.UndefOr[scala.Nothing], isForwardPlayback: Boolean): Double = js.native
  @JSImport("popmotion/lib/animations/utils/elapsed", "reverseElapsed")
  @js.native
  def reverseElapsed(elapsed: Double, duration: Double, delay: Double): Double = js.native
  @JSImport("popmotion/lib/animations/utils/elapsed", "reverseElapsed")
  @js.native
  def reverseElapsed(elapsed: Double, duration: Double, delay: Double, isForwardPlayback: Boolean): Double = js.native
}
