World No. 1 Iga Swiatek has spoken about being forced to pull out of the upcoming Miami Open and Billie Jean King Cup with injury.