Module Browser_lwt__.Runtime_browser_lwt
include Runtime_browser_common
class type onInstalledEvent = object ... end
class type runtime = object ... end
val runtime : runtime Js_min.t
val last_error : unit -> Js_min.error Js_min.t
val id : unit -> Js_min.js_string Js_min.t
val getManifest : unit -> 'a Js_min.t
val getURL : string -> string
val reload : unit -> unit
val connect : ?id:Js_min.js_string Js_min.t -> ?info:'a Js_min.t -> unit -> Runtime_utils.port Js_min.t
val onStartup : (unit -> unit) -> unit
val onInstalled : (onInstalledEvent Js_min.t -> unit) -> unit
val onSuspend : (unit -> unit) -> unit
val onSuspendCanceled : (unit -> unit) -> unit
val onUpdateAvailabale : ('a Js_min.t -> unit) -> unit
val onConnect : (Runtime_utils.port Js_min.t -> unit) -> unit
val onConnectExternal : (Runtime_utils.port Js_min.t -> unit) -> unit
val onMessage : ('a Js_min.t -> Js_min.js_string Js_min.t -> ('a Js_min.t -> bool Js_min.t) Js_min.callback -> unit) -> unit
val onMessageExternal : ('a Js_min.t -> Js_min.js_string Js_min.t -> ('a Js_min.t -> bool Js_min.t) Js_min.callback -> unit) -> unit
val onRestartRequired : (Js_min.js_string Js_min.t -> unit) -> unit
val getBackgroundPage : unit -> Js_min.window Js_min.t Lwt.t
val openOptionsPage : ?callback:(unit -> 'a) -> unit -> 'a option Lwt.t
val setUninstallURL : ?callback:(unit -> 'a) -> Js_min.js_string Js_min.t -> 'a option Lwt.t
val requestUpdateCheck : unit -> Runtime_utils.requestCheckResponse Js_min.t Js_min.prop Lwt.t
val sendMessage : ?id:Js_min.js_string Js_min.t -> ?options:Runtime_utils.connectInfo Js_min.t -> ?callback:('a Js_min.t -> 'b) -> 'c Js_min.t -> 'b option Lwt.t
val sendNativeMessage : ?callback:('a Js_min.t -> 'b) -> string -> 'c Js_min.t -> 'b option Lwt.t
val getPlatformInfo : unit -> Runtime_utils.platform_info Lwt.t
val getPackageDirectoryEntry : unit -> 'a Lwt.t