How to get Foliage Type from Instanced Foliage Actor

I am writing a script that deletes unused Assets in a project, I want to access the foliage Assets that are used by the instance foliage actor, I am able to access the foliage instance static mesh component but not the foliage type. Does anyone know how to do this?