?close:(Pervasives.in_channel -> unit) -> channel_of_id:(Pxp_core_types.ext_id -> Pervasives.in_channel * Pxp_core_types.encoding option) -> unit -> Pxp_reader.resolver