// Export all from wp.data
const data = window.wp?.data || {};

export const {
  select,
  dispatch,
  subscribe,
  registerStore,
  createReduxStore,
  register,
  useSelect,
  useDispatch,
  withSelect,
  withDispatch
} = data;

export default data;
