You can search for identifiers within the package.
in-package search v0.2.0
type error = [
| `Invalid_console of string
]
type 'a io = 'a Lwt.t
type t
type id = string
val connect : id -> [ `Error of error | `Ok of t ] io
val disconnect : t -> unit io
val write : t -> string -> int -> int -> int
val write_all : t -> string -> int -> int -> unit io
val log : t -> string -> unit
val log_s : t -> string -> unit io