sig
  type error =
      Invalid_output_name of string
    | No_configuration_file_specified
    | No_output_specified
    | No_file_specified
    | No_syntax_specified
    | Multiple_preprocessors
    | Duplicate_check of CategoryName.t * CheckName.t
    | Missing_check of CategoryName.t * CheckName.t
  exception Exception of Args.error
  module CategoryMap :
    sig
      type key = CategoryName.t
      type +'a t
      val empty : 'a t
      val is_empty : 'a t -> bool
      val mem : key -> 'a t -> bool
      val add : key -> '-> 'a t -> 'a t
      val singleton : key -> '-> 'a t
      val remove : key -> 'a t -> 'a t
      val merge :
        (key -> 'a option -> 'b option -> 'c option) -> 'a t -> 'b t -> 'c t
      val compare : ('-> '-> int) -> 'a t -> 'a t -> int
      val equal : ('-> '-> bool) -> 'a t -> 'a t -> bool
      val iter : (key -> '-> unit) -> 'a t -> unit
      val fold : (key -> '-> '-> 'b) -> 'a t -> '-> 'b
      val for_all : (key -> '-> bool) -> 'a t -> bool
      val exists : (key -> '-> bool) -> 'a t -> bool
      val filter : (key -> '-> bool) -> 'a t -> 'a t
      val partition : (key -> '-> bool) -> 'a t -> 'a t * 'a t
      val cardinal : 'a t -> int
      val bindings : 'a t -> (key * 'a) list
      val min_binding : 'a t -> key * 'a
      val max_binding : 'a t -> key * 'a
      val choose : 'a t -> key * 'a
      val split : key -> 'a t -> 'a t * 'a option * 'a t
      val find : key -> 'a t -> 'a
      val map : ('-> 'b) -> 'a t -> 'b t
      val mapi : (key -> '-> 'b) -> 'a t -> 'b t
    end
  val config_file : string Pervasives.ref
  val ignore_file : string Pervasives.ref
  val no_warning : bool Pervasives.ref
  val no_error : bool Pervasives.ref
  val no_info : bool Pervasives.ref
  val disable_cache : bool Pervasives.ref
  val syntax : string Pervasives.ref
  val syntax_extensions : string list Pervasives.ref
  val preprocessor : string Pervasives.ref
  val search_path : string list Pervasives.ref
  val report_only : bool Pervasives.ref
  val outputs : (Output.t * string Pervasives.ref) list Pervasives.ref
  val checks : Check.t list Args.CategoryMap.t Pervasives.ref
  val files : string list Pervasives.ref
  val parse : unit -> unit
  val find_check : Configuration.category -> Configuration.check -> Check.t
end