This PR modernizes legacy typedef declarations to using aliases in src/streams.h.
This is part of an ongoing effort to modernize the codebase to C++11/C++14/C++17 standards, following the C++ Core Guidelines which recommend using over typedef for readability and consistency.
This change does not alter any behavior.