How to export and import alerts?

Hello,
I had tried to implement some alerting rule in my dashboard. While I am able to export/import the dashboard from my pc to another using .json format; I have found that the alerting rules are never exported in the .json file. I have to redo all the alerting rules from scratch anytime I want to implement the dashboard again or on any other computer.

My questions are if there is any way that I can also export/import the alerting rules along with the dashboard in the Json file.
Or maybe there are ways to export alerting rules through APIs. I have to find documentation regarding it, but I am unable to find any helpful guide or documentation in this regard.

Is the Grafana Alerts feature being updated or enhanced in any way in the future versions? A roadmap would be very helpful.

Thank You.

have a look, may help you.