With a repair cost of half the value of the car, the insurers are almost certain to write it off. When you have given them all the details they will make you an offer which is negotiable. The offer will certainly be less than you expect, but if you can find some evidence - local adverts etc - that you could have sold your car for £15,000 then you can push their offer upwards. If they send you a cheque with their first offer, do not pay it into your account unless you are happy with the offer. Paying it in means that you accept it.
Once you have dealt with the insurance and collected the cash; if you replace the car, you should talk to them about insuring the replacement. Different insurers have different ways of dealing with this.
I fully sympathise with your reasons for not wanting to drive the car again, but in the unlikely event that they do repair it, you would have to accept that and then sell it or trade it in for a replacement. Whatever happens give thanks that you and your baby are safe.