Resolve source-local and explicitly imported types without guessing by a short name in another package.