type setting type list' = { id : string; source : string } val init : unit -> setting val get_content : setting -> Model.Identifier.t -> Model.content option (** Get the content from the setting. *) val has_list : setting -> Model.Identifier.t -> bool (** Check whether a list with the given name is declared in the setting *) val root_contents : setting -> Model.content list (** Extract all the content in the topological order. Only the root content are repored in the list *) val register_content : setting -> Model.content -> unit (** Register a content and all the associated subcontent in the top level, giving the possibility to fetch any content or subcontent by its name without traversing the whole tree each time. *) exception BrokenLink : ('a Type.Id.t * 'a * Model.Identifier.t) -> exn (** Exception raised when a reference in the configuration targets a non-existing content *) exception NotImplemented : ('a Type.Id.t * 'a * Model.Identifier.t) -> exn val register_list : setting -> list' -> setting val check : setting -> (unit, exn) result (** Check the setting and return the the error as an exception *) val tree : ?required:bool -> setting -> Graph_tree.t val escaped : string -> string