The feature you're looking for is cross-import overlays, but it's only been pitched and not officially supported* yet.
* The compiler supports it for system frameworks, but since it hasn't gone through Swift Evolution yet, its implementation is subject to change and it doesn't work with Swift Package Manager.