Linking library panels and variables

Hello everyone. I am using Grafana v11. I have created a library panel that uses 3 variables. However, when I import this library panel in a new dashboard, I need to create again the variables. Is there a way to automatically create the variables or to link them to a library panel?

Thank you very much!