Hiding instance swap components

Is there a way to hide the components that are made available through an instance swap property? For example I want to use instance swap on an avatar component to change the person image, but I don’t want these person images to be usable as a component.

I tried hiding the person images with a “.” but that also hides it from the instance swap options.

For example, try using this file as a library, and instance swap on the avatar component