Not wanna be annoying but as someone who appreciates text... "take a screenshot and copy text" makes no sense.
Like the feature is for sure cool, but the right approach would be that the screenshot app actually reads the text and overlays it onto the image. But this is only possible with SVGs and PDFs afaik.
So just copy the text instead of doing screenshots, if you want text.
Or try to install all the Google stuff there is and give up on privacy, I dont think they do that locally but am not sure.
OCR is what you are looking for. "Image Toolbox" is said to do that