val resolver : ?cwd:string -> unit:string -> unit -> string