The child suffered critical head injuries when she was struck while chasing a dog, paramedics were told.