How to add arduino as a component?

Hi,
I’ve been searching how to get an external arduino library to work using espidf firmware, the external library needs to have arduino library included, I read that to get this work, i need to add arduino as a component, does any one have any idea how to figure this out ?
here is my library :
Servo
Thank you!