The first stage of removing getText from ParserOutput is to identify calling sites (and which actually require the OutputPipeline), to bring ParserOptions to these calling sites, and finally to move the method out of ParserOutput, probably to ContentRenderer.
This task tracks the follow-up work for this move needed after https://gerrit.wikimedia.org/r/c/mediawiki/core/+/1035795.