So I actually just ran into this using Mobx State Tree in a project.
I have a file that contains the MST models. That generates the TS types for me too. I have another API file that makes calls to a server. The response makes use of the TS type from the model file.
And then in the actions of the model file, I make the API request calls. A circular dependency with only 2 files. Surprisingly this hasn’t caused any issues though.