The US only represents about 3% of China's GDP. If the US economy declined 10 or 20%, it'd be basically just noise to them.
That's not how you would want to measure this, as it doesn't much matter whether a good is directly exported from China to the US, or whether it is routed through a third country like Vietnam, or used as an intermediate input to a different good which is then exported to the US, etc.
What you should take note of, is that China's trade surplus tracks the US trade deficit extremely closely, and this has been the case for the last 20 years.
Said another way, most nations in the world run roughly balanced trade. There is only one nation on earth that can sustain large and prolonged trade deficits. Only one. That is the US. So if you are a nation whose entire economic strategy rests on running large and sustained trade surpluses, then you are going to be exporting your surplus to the US, directly or indirectly, and only to the US.
Now in practice, some of that will be direct sales to the US, some will be indirect sales to the US, but at the end of the day, if you want to run a 1.2 trillion dollar trade surplus, then you have to hope to God that the US is willing to run at least a trillion dollar trade deficit, because no other country is going to do that for you, the entire rest of the world may be willing to accomodate a hundred billion or so, but for everything else, you will depend on the US, directly or indirectly, to absorb your surplus.
The US is 150% of China's GDP (in nominal numbers) [1]. AI claims that China's "purchasing power parity" GDP is $44t compared to $32t for the US. There is no way that the US, which has been the world's largest economy for decades, is 3% of China's GDP.
Exports to the US is about 20% of China's GDP [2].
Regardless of any of China's contingency plans, US exports are well above noise-levels.
[1] https://www.statista.com/statistics/268173/countries-with-th...
[2] https://data.worldbank.org/indicator/NE.EXP.GNFS.ZS?location...