Sorry to hear that hope you came off unscathed,As for the bike well that depends on who's paying for the repairs, i.e claiming on their insurance or not, if claiming on their insurance then speak to yours as the bike should be checked out by a bike place in my opinion to access the damage & cost of repairs for insurance purposes & whether cost out ways the value of the bike to which it will be a written off.Having the frame & head stock & so on checked will determine what happens next,then if all is o.k get prices for items i.e forks bearings etc so if bike is written off but repairable a deal can be struck with insurance to buy it back at a silly price.