open Std

type t

val create : ?complete:bool -> ?id:Uuidm.t -> string -> t
val complete : t -> bool
val active : t -> bool
val id : t -> Uuidm.t
val set_complete : t -> complete:bool -> t
val json_encoding : (string * bool * string) Json_encoding.encoding
val to_json_value : t -> string * bool * string

val render :
     t
  -> dispatch:([> `Update  of t | `Destroy of t] -> unit)
  -> filter_s:filter React.S.t
  -> [> Html_types.li] Html.elt
