My DD just suffered from this (basically a bone bruise).
By the time my DD was seen, she was about a month into her injury. At that time, her sports med doc said to take it easy for ~3 more weeks. Limited hard landings, etc. Vault/tumble into pit/on tumbletrack, fewer reps/#s, etc. She was actually cleared to still compete while healing.
Within just a few days of light workouts, her swelling was visibly down. Over the 3 weeks, she increased her workload, and she was back to 100% before week 3 ended.
It’s hard to say, but the total healing process for her was probably a bit long as she hid the injury at first.
Of course this depends on level of injury. My DD did not also have a sprain to contend with - always had complete range of motion, etc. Only really had pain when replicating the original injury (basically with under rotating/landing short, and some residual pain for awhile afterward).
I had a bone bruise relatively recently myself, and my recovery was much longer - I was booted for ~6 weeks total, pain for much longer, but then I’d also suffered a lisfranc injury with partial ligament tear, so there’s that.
I say your DD’s healing will depend on the overall severity of her injury.