sig
  type key = t
  type 'a t
  val empty : unit -> 'a t
  val create : int -> 'a t
  val is_empty : 'a t -> bool
  val find : 'a t -> key -> 'a
  val get_exn : key -> 'a t -> 'a
  val get : key -> 'a t -> 'a option
  val mem : 'a t -> key -> bool
  val length : 'a t -> int
  val add : 'a t -> key -> '-> 'a t
  val replace : 'a t -> key -> '-> 'a t
  val update : 'a t -> key -> ('a option -> 'a option) -> 'a t
  val remove : 'a t -> key -> 'a t
  val copy : 'a t -> 'a t
  val merge :
    f:(key -> [ `Both of 'a * '| `Left of '| `Right of 'b ] -> 'c option) ->
    'a t -> 'b t -> 'c t
  val iter : 'a t -> (key -> '-> unit) -> unit
  val fold : ('-> key -> '-> 'b) -> '-> 'a t -> 'b
  val map : (key -> '-> 'b) -> 'a t -> 'b t
  val filter : (key -> '-> bool) -> 'a t -> 'a t
  val filter_map : (key -> '-> 'b option) -> 'a t -> 'b t
  val for_all : (key -> '-> bool) -> 'a t -> bool
  val exists : (key -> '-> bool) -> 'a t -> bool
  val of_seq : (key * 'a) CCPersistentHashtbl.sequence -> 'a t
  val of_list : (key * 'a) list -> 'a t
  val add_seq : 'a t -> (key * 'a) CCPersistentHashtbl.sequence -> 'a t
  val add_list : 'a t -> (key * 'a) list -> 'a t
  val to_seq : 'a t -> (key * 'a) CCPersistentHashtbl.sequence
  val to_list : 'a t -> (key * 'a) list
  val equal : 'CCPersistentHashtbl.equal -> 'a t CCPersistentHashtbl.equal
  val pp :
    key CCPersistentHashtbl.printer ->
    'CCPersistentHashtbl.printer -> 'a t CCPersistentHashtbl.printer
  val print :
    key CCPersistentHashtbl.formatter ->
    'CCPersistentHashtbl.formatter -> 'a t CCPersistentHashtbl.formatter
  val stats : 'a t -> Hashtbl.statistics
end