include Windows_browser_common
class type window = object ... end
class type getInfo = object ... end
class type windows = object ... end
val make_createData : ?url:string -> ?url_l:string list -> ?tabId:int -> ?left:int -> ?top:int -> ?width:int -> ?height:int -> ?focused:bool -> ?typ:string -> ?state:string -> ?allowScriptsToClose:bool -> ?cookieStoreId:int -> ?titlePreface:string -> unit -> createData Js_min.t
val make_updateInfo : ?left:int -> ?top:int -> ?width:int -> ?height:int -> ?focused:bool -> ?drawAttention:bool -> ?state:string -> ?titlePreface:string -> unit -> updateInfo Js_min.t
val windows : windows Js_min.t
val onCreated : (window Js_min.t -> unit) -> unit
val onRemoved : (int -> unit) -> unit
val onFocusChanged : (int -> unit) -> unit
val get : ?info:getInfo Js_min.t -> int -> (window Js_min.t, Promise_lwt.any Js_min.t) Js_min.result Lwt.t
val getCurrent : ?info:getInfo Js_min.t -> unit -> (window Js_min.t, Promise_lwt.any Js_min.t) Js_min.result Lwt.t
val getLastFocused : ?info:getInfo Js_min.t -> unit -> (window Js_min.t, Promise_lwt.any Js_min.t) Js_min.result Lwt.t
val getAll : ?info:getInfo Js_min.t -> unit -> (window Js_min.t list, Promise_lwt.any Js_min.t) Js_min.result Lwt.t
val create : ?info:createData Js_min.t -> ?callback:(window Js_min.t -> 'a) -> unit -> ('a option, Promise_lwt.any Js_min.t) Js_min.result Lwt.t
val update : ?callback:(window Js_min.t -> 'a) -> int -> updateInfo Js_min.t -> ('a option, Promise_lwt.any Js_min.t) Js_min.result Lwt.t
val remove : ?callback:(unit -> 'a) -> int -> ('a option, Promise_lwt.any Js_min.t) Js_min.result Lwt.t