How can i use vuex actions in a composable file with capacitor camera

Hi guys, I have a problem about how to use vuex within a composable file on the use of the capacitor camera plugin, I need once the photo is taken to send it immediately to the backend since if I send a batch of images they are too heavy and the app may is used in places with bad coverage, I am using vuex with split modules, but there is no way to use vuex dispatches in the .ts file.

And another important point is that I wanted to know what is the best way to send an image to the backend, as a blob in a formData or in a normal request but using the image as base64, which is more appropriate in terms of good practices, any help will be very well received and grateful