import { StoreEnhancer } from "redux"; /** * returns a store which uses reducerRegistry as it's reducer source * * @param {Object} state initial state containing at least the top-level state slices * @param {Object} enhancers * * @example * import * as React from "react"; * import { Provider } from "react-redux"; * import { applyMiddleware } from "redux"; * import { composeWithDevTools } from "redux-devtools-extension"; * * import { createLazyStore } from "@lecstor/redux-helpers" * import thunk from "redux-thunk"; * * import App from "./app"; * import initialState from "./state/initial-state"; * import "./state/session"; * * const store = createLazyStore( * initialState, * composeWithDevTools(applyMiddleware(thunk)) * ); * * export default () => ( * * * * ); */ declare function createLazyStore(initialState: State, enhancers?: StoreEnhancer): import("redux").Store<{ [x: string]: any; }, import("redux").AnyAction>; export default createLazyStore;