import { defineStore } from 'pinia' import { state } from './state' import { getters } from './getters' import { actions } from './actions' import type { Actions } from './actions' import type { Root } from '../types' import type { State } from './state' import type { Getters } from './getters' export const useRootStore = defineStore('root', { state, getters, actions })