Nobody would seriously call the Concorde Olympus 593 a "by-pass" engine.
Yet even there some of the air from the inlet passed around the engine, not just for cooling purposes... it was injected at the back around the 'hot' exhaust, and both 'constrained' the exhaust, thereby slightly increasing thrust, and reduced noise.
CJ