We're going to create some "higher order" utility functions using stripPermissionsFromMemberInfo, so figured it would make sense to pull out of types file and into its own utility file.
For context, we're going to want to mirror the utility files in special-roles.js where we can patch RawThreadInfo and RawThreadInfos all in one go. This will make the changes to rawThreadInfoFromServerThreadInfo and the client migrations easier.
Depends on D12755