In reply to Danil:
There isn’t a recommended practice, so either one will work. I typically see the package imported so that the user doesn’t have to add the scoping prefix. However, be aware that if multiple packages declare the same typedef, you will have namespace conflicts and will be forced to add the scoping prefix.