I would say probably no permanent damage - these things are designed with expectation that sooner or later someone will do just that.
If pump is priming you know that the ECU is at least powered and giving the appropriate times output to the pump. And if it cranks then ECU also enabling starter relay too
If no spark, then check for sidestand/neutral interlock (is neutral light on?) & the CPS is connected/working