The Smart Pie will typically accept up to a seven speed thread on freewheel without any problems, but some freewheels may require an additional spacer washer on the axle to prevent the chain from rubbing against the frame, although this seven speed unit did not:
It will also accept an eight speed freewheel unit with an additional spacer washer on the axle to provide additional clearance.
If it's for a road bike, I would suggest going for a freewheel with an eleven tooth sprocket to provide higher gearing so your legs can keep up with the motor more easily.
Seven speed 11-32T DNP Freewheel.
Eight speed 11-32T DNP Freewheel.
If your bike has more than eight sprockets on the current freewheel it might work with an eight speed freewheel by adjusting the end stops to prevent the chain from coming off, but without the correct changer mechanism you may find that it won't run 100% smoothly in all of the gears.
Alan