include module type of struct include Bos.Pat end
val dom : t -> Astring.String.Set.t
val equal : t -> t -> bool
val compare : t -> t -> int
val of_string : string -> (t, [> Rresult.R.msg ]) Rresult.result
val to_string : t -> string
val pp : Stdlib.Format.formatter -> t -> unit
val dump : Stdlib.Format.formatter -> t -> unit
type defs = string Astring.String.Map.t
val subst : ?undef:(string -> string option) -> defs -> t -> t
val matches : t -> string -> bool
val query : ?init:defs -> t -> string -> defs option