How can I use useStrapiApp hook to access media-library component for work with files?

I am trying replace useLibrary hook from helper-plugin. I found that this part was moved to useStrapiApp, but in doc is any info how to use this hook.

Thanks for answer

This topic has been created from a Discord post (1297863613486202910) to give it more visibility.
It will be on Read-Only mode here.
Join the conversation on Discord