// packages/editor/src/store/index.js
import { createReduxStore, register } from "@wordpress/data";
import reducer from "./reducer.js";
import * as selectors from "./selectors.js";
import * as actions from "./actions.js";
import * as privateActions from "./private-actions.js";
import * as privateSelectors from "./private-selectors.js";
import { STORE_NAME } from "./constants.js";
import { unlock } from "../lock-unlock.js";
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
