Earlier quoted context omitted.
aliases help you use bar from foo.bar and moo.bar. They don't help you with 2 files both of which declare foo.bar
Why would you declare the same type in 2 different files in the same project?
you don't have control of all 3rd party libraries.