Louise Keegan feared her daughter was about to die as medics battled to save her.