Is it possible to mark an entity in framework as "explicitly imported"

I wish Swift has the following attribute:

/// MyModule
@_import_explicitly public class Entity {}

/// App
import MyModule /// Error. Can't reach Entity.
import MyModule.Entity /// Fine, it is available.

So, it is some kind of "sub-moduling" without submodule.

it would be nice to have this in future releases (if possible).