Module Chrome__.Runtime_chrome

include Runtime_chrome_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 restart : unit -> unit
val connect : ?⁠id:Js_min.js_string Js_min.t -> ?⁠info:Runtime_utils.connectInfo Js_min.t -> unit -> Runtime_utils.port Js_min.t
val connectNative : string -> 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 onConnectNative : (Runtime_utils.port Js_min.t -> unit) -> unit
val onMessage : ('a Js_min.t -> Runtime_utils.messageSender Js_min.t -> ('b Js_min.t -> bool Js_min.t) -> unit) -> unit
val onMessageExternal : ('a Js_min.t -> Runtime_utils.messageSender Js_min.t -> ('a Js_min.t -> bool Js_min.t) -> unit) -> unit
val onRestartRequired : (Js_min.js_string Js_min.t -> unit) -> unit
val getBackgroundPage : (Js_min.window Js_min.t -> unit) -> unit
val openOptionsPage : ?⁠callback:(unit -> unit) -> unit -> unit
val setUninstallURL : ?⁠callback:(unit -> unit) -> Js_min.js_string Js_min.t -> unit
val requestUpdateCheck : (Runtime_utils.requestCheckResponse Js_min.t -> unit) -> unit
val restartAfterDelay : ?⁠callback:(unit -> unit) -> int -> unit
val sendMessage : ?⁠id:Js_min.js_string Js_min.t -> ?⁠options:Runtime_utils.connectInfo Js_min.t -> ?⁠callback:('a Js_min.t -> unit) -> 'b Js_min.t -> unit
val sendNativeMessage : ?⁠callback:('a Js_min.t -> unit) -> string -> 'b Js_min.t -> unit
val getPlatformInfo : (Runtime_utils.platform_info -> unit) -> unit
val getPackageDirectoryEntry : ('a Js_min.t -> unit) -> unit