This is available as File\open_read_only_nd in the www repository.
File\open_read_only_nd
Deprecated: Use open_read_only() instead
namespace HH\Lib\File; function open_read_only_nd( string $path, ): CloseableReadHandle;
string $path
CloseableReadHandle