[lib] extract MessageStore ops types to a separate file
Summary:
This is part of ops clean on JS side - avoid mixing those with general types.
Depends on D8616
Test Plan: Flow
Reviewers: michal, tomek, atul
Reviewed By: atul
Subscribers: ashoat
Differential Revision: https://phab.comm.dev/D8617