Detecting heat via infrared will still be useful, any kind of engine gives off heat. Whether biological or mechanical.
You can construct engine that have disguise their heat signature a bit, or that have a smaller heat signature. But that severely limits their capabilities, which might be a good enough outcome for the sides that use the heat detection.