Remove components that are in the ‘used in this file’ list

Do you know of a way to remove components that are in the ‘used in this file’ list? I am not using these component (which are from other libraries) and they appear in the asset search :woozy_face: