import { AnyAction, EnhancedStore } from '@reduxjs/toolkit';
import { AppState } from './modules';
import { ThunkMiddlewareFor } from '@reduxjs/toolkit/dist/getDefaultMiddleware';
export type Store = EnhancedStore<AppState, AnyAction, [
    ThunkMiddlewareFor<AppState>
]>;
declare let store: Store;
export declare const persistStore: ({ ignorePreferences, }?: Partial<{
    ignorePreferences: boolean;
}>) => void;
export declare const addStoreListeners: (...listeners: string[]) => void;
export declare const disposeStoreListeners: (...listeners: string[]) => void;
export declare const getStore: () => Store;
export type AppDispatch = typeof store.dispatch;
export {};
