// packages/editor/src/store/index.js
import { createReduxStore, register } from "@wordpress/data";
import reducer from "./reducer";
import * as selectors from "./selectors";
import * as actions from "./actions";
import * as privateActions from "./private-actions";
import * as privateSelectors from "./private-selectors";
import { STORE_NAME } from "./constants";
import { unlock } from "../lock-unlock";
var storeConfig = {
  reducer,
  selectors,
  actions
};
var store = createReduxStore(STORE_NAME, {
  ...storeConfig
});
register(store);
unlock(store).registerPrivateActions(privateActions);
unlock(store).registerPrivateSelectors(privateSelectors);
export {
  store,
  storeConfig
};
//# sourceMappingURL=index.js.map
