[native] Type global.CommCoreModule
Summary:
(ENG-1856)[https://linear.app/comm/issue/ENG-1856/globalcommcoremodule-should-be-typed]
Re-export global.CommCoreModule typed as Spec from ./schema/CommCoreModuleSchema and update all usages.
Test Plan:
- Run flow to check if everything type checks
- Run the app and check if there's anything wrong
Reviewers: tomek, atul, abosh, jakub, inka, ashoat
Reviewed By: ashoat
Subscribers: ashoat
Differential Revision: https://phab.comm.dev/D5213