Actually right now I’m writing a plugin that do the exact same thing (a button to export and import the data in the layout). I simply used the useSelector hook provided by redux and it will simply supply you with all the states you need and more.
Here how I use it:
import { useSelector } from "react-redux";
const MyInjectedComponent = () => {
// it has all the info you need
const state = useSelector()
}
Notice that you can access the redux provided by strapi because you are in the injection zone which is located under the list view page that is mapped with redux and you will not be able to use it in plugin pages that you’ve created or plugins injection zones other than content-manager plugin.