It happened to me recently; in my case, some of the functions related to StateFlow, such as stateIn(), were still accessible.
I also tried copying and pasting the import statements like below, and it just worked fine.
import kotlinx.coroutines.flow.MutableStateFlow
import kotlinx.coroutines.flow.StateFlow
So, in the end, the code completions and suggestions were not working for me, but I could still build the code by manually writing those codes without any auto completions.
I hope it helps someone, somehow haha.