[codemod] Rename types in imports/exports codemod
[codemod] Rename types in imports/exports codemod

Summary: Hoist type definitions in the hoister so that they are included in the scope builder. This includes type aliases, opaque type aliases, and interface declarations.

Reviewed By: pieterv

Differential Revision: D21411514

fbshipit-source-id: 0e402f753eb36eb04a36e7514be272eb44dfc254

nmote/flow,nmote/flow,nmote/flow,nmote/flow,nmote/flow,nmote/flow,nmote/flow