Redux plugin RootState gives wrong objects

I have been having some issues with using Redux Toolkit’s ‘RootState’ instance, since importing RootState from redux store gives various Grafana-related objects instead of the content from my reducers. I was wondering if this is some commonly known issue?

Also is there any known problems about implementing redux / redux toolkit to Grafana’s plugin? Or is it just plug and play?