package typingsSlinky.oracleOraclejet

import org.scalajs.dom.raw.Element
import typingsSlinky.oracleOraclejet.anon.PrimaryText
import org.scalablytyped.runtime.StObject
import scala.scalajs.js
import scala.scalajs.js.`|`
import scala.scalajs.js.annotation.{JSGlobalScope, JSGlobal, JSImport, JSName, JSBracketAccess}

object ojpulltorefreshMod {
  
  @JSImport("@oracle/oraclejet/ojpulltorefresh", "setupPullToRefresh")
  @js.native
  def setupPullToRefresh(element: Element, refreshFunc: js.Function0[js.Promise[_]]): Unit = js.native
  @JSImport("@oracle/oraclejet/ojpulltorefresh", "setupPullToRefresh")
  @js.native
  def setupPullToRefresh(element: Element, refreshFunc: js.Function0[js.Promise[_]], options: PrimaryText): Unit = js.native
  
  @JSImport("@oracle/oraclejet/ojpulltorefresh", "tearDownPullToRefresh")
  @js.native
  def tearDownPullToRefresh(element: Element): Unit = js.native
}
