Depending on the brand, many of the higher end flashes can use an external battery.
That may bypass the internal damage, if it is limited to the battery compartment.
Obviously, a professional repair is available.
Or sell it on Ebay- looks like new, I do not know how to test it

Gary