Not forgetting of course that debris from a damaged tyre could impact the flaps, flap tracks. Until further diagnosis available it may be advisable to not retract the landing gear or the flaps. if engine damage occurs caused by tyre debris, then all bets are off and the pilot must make an informed decision. There are too many variables to commit to hard and fast rules.