Module Autocomplete.Completion

type t
val create : label:string -> ?detail:string -> ?info: [ `Str of string | `Dom of t -> Js_of_ocaml.Dom_html.element Js_of_ocaml.Js.t ] -> ?type_:string -> ?boost:int -> ?apply: [ `Str of string | `Fn of view:View.Editor_view.t -> completion:t -> from:int -> to_:int -> unit ] -> unit -> t
val label : t -> string
val type_ : t -> string option