Gently syringe some water or Pedialyte into the hamster's mouth, a drop at a time, and keep her warm. Monitor her to see if she is eating and to check what she is passing. If she doesn't start eating and pooping within six hours or so, then get her checked by a vet.