I thought you were explicitly talking about teenagers and HS sports, not the Olympics. The former case is where you get into even the possibility of people with the athletic benefits of male puberty being on the same playing field as people who have not, because trans teenagers might not have had the time and/or support to fully medically transition. Like rodo has said, it so far hasn't been an issue - even the trans girls who have made news for success at HS sports aren't going undefeated, or breaking previously unbreakable records, or posing danger to their teammates and competitors.
At the adult and Olympic level, with the guidelines that the IOC (far from a bastion of social progress or equality) currently has, there's absolutely no issue with trans women competing in women's events; all available research says that the amount of hormonal treatment/medical transition that they require depresses the relevant traits by more or less exactly as much as male puberty elevates them. This is why the problem only arose in the case of Khelif - she was not subject to those guidelines as somebody who was AFAB, but looked masculine enough that a bunch of weirdos (and here I include the IBA) started crying about her anyways, causing exactly the kind of harm that rodo and others replying to you are worried about.