To this day I think you can’t sell DLC from outside Steam while in a Steam version — i.e. the in-game UI must use a Steam store API — but you can share DLC, currency, etc. bought elsewhere with the Steam version through your account system. (E.g.: Overwatch 2 credits and content is cross-platform, Sims 4 DLC is cross-launcher, Apex Legends currency and content is cross-launcher, etc.) I’m not sure if it’s an oversight or if Valve and the developer sort of handle it monetarily behind the scenes in some form.
* In Genshin Impact: if your account was first played / created on mobile, you can only purchase currency on mobile (either platform). Clicking the same button on PC throws an error saying you can only do this on mobile. Other way around (first played on PC) results in an account that can buy currency on all platforms.
* In Hearthstone: There doesn't appear to be a platform limitation for buying in-game packs or stuff; pricing may be different due to regional currency reasons but you can buy on either platform freely. (e.g.: Blizzard's PC marketplace has a handful of currencies but iOS has tens of them with different template prices)
The developer for Genshin is frequently featured by Apple and even has some iOS-exclusive features (e.g.: 120Hz/120FPS is iOS-only), so I assume this was a sort-of privately-negotiated revenue sharing situation.
It feels like this comparison only holds for the Steamdeck where Valve would have comparable control and you are staying within their offering/hardware regardless. There is of course no sensible equivalent for the desktop client which sees like 99% of the usage. A better comparison might be regular video game consoles which allow none of this.