The 25-year-old tennis pro made the announcement on Twitter after withdrawing from the Australia Open. She plans to return to playing in matches in 2024.