import { createStore , persist , PersistConfig , createTypedHooks } from 'easy-peasy' ; import model , { StoreModel } from './models' ; import type { PreloadWindow } from './preload' ; declare const window ; export const { useStoreActions , useStoreDispatch , useStoreState } = createTypedHooks < StoreModel > ( ) ; const persistConfig = { } ; const store = createStore ( persist ( model , persistConfig ) , { } ) ; const debugStore = createStore ( model , { } ) ; export default debugStore ;