Glad everyone got out OK, sorry to hear of the injuries.
If they can repair it, maybe, I would imagine they would replace the hull from the production frame surrounding door 2 forward. If not able to repair, then imagine how many spare parts from this aircraft, nearly new, will be flying around on subsequent A340-6 aircraft. You may not want to fly a jinx, but you sure are gonna gets some parts
Edited first line.