Module Vscode.WebView

include Interop.Js.T
type t
val t_of_js : Ojs.t -> t
val t_to_js : t -> Ojs.t
val onDidReceiveMessage : t -> Interop.Js.Any.t Event.t
val cspSource : t -> string
val html : t -> string
val set_html : t -> string -> unit
val options : t -> WebviewOptions.t
val set_options : t -> WebviewOptions.t -> unit
val asWebviewUri : t -> localResource:Uri.t -> Uri.t
val postMessage : t -> Interop.Js.Any.t -> bool Promise.t
val create : onDidReceiveMessage:Interop.Js.Any.t Event.t -> cspSource:string -> html:string -> options:WebviewOptions.t -> close:(unit -> unit) -> asWebviewUri:(Uri.t -> Uri.t) -> postMessage:(Interop.Js.Any.t -> bool Promise.t) -> t