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 getStore: () => import('@reduxjs/toolkit/dist/configureStore').ToolkitStore<import('redux').EmptyObject & {
    root: import('./modules').IRootState;
    explorer: import('./modules').ITreeItem[];
    debugger: import('./modules').IDebuggerState;
    settings: import('./modules').ISettingsState;
    catalog: {
        state: "loading";
    } | {
        state: "loaded";
        model: datasources.IEnhancedCatalog;
    } | {
        state: "error";
        error: string;
    };
    roles: import('./modules').IRolesState;
    sharedDatasources: import('./modules').ISharedDatasourcesState;
    savedConditions: import('./modules').ISavedConditionsState;
    webforms: import('./modules').IWebformEditorState;
    modals: import('./modules').IModalsState;
    sharedCSS: import('./modules').ISharedCSSState;
    model: import('./modules').IModelState;
    tasks: import('@ws-ui/shared').ISingleTask[];
}, AnyAction, [import('@reduxjs/toolkit').ThunkMiddleware<import('redux').CombinedState<{
    root: import('./modules').IRootState;
    explorer: import('./modules').ITreeItem[];
    debugger: import('./modules').IDebuggerState;
    settings: import('./modules').ISettingsState;
    catalog: {
        state: "loading";
    } | {
        state: "loaded";
        model: datasources.IEnhancedCatalog;
    } | {
        state: "error";
        error: string;
    };
    roles: import('./modules').IRolesState;
    sharedDatasources: import('./modules').ISharedDatasourcesState;
    savedConditions: import('./modules').ISavedConditionsState;
    webforms: import('./modules').IWebformEditorState;
    modals: import('./modules').IModalsState;
    sharedCSS: import('./modules').ISharedCSSState;
    model: import('./modules').IModelState;
    tasks: import('@ws-ui/shared').ISingleTask[];
}>, AnyAction>]>;
export type AppDispatch = typeof store.dispatch;
export {};
