import { isAction } from "@reduxjs/toolkit";
import {
  InternalActionTypes
} from "../state/actions/internal";
import { BuilderActionTypes } from "../state/builder-api/actions";
const HostToBuilderActionTypes = {
  ...BuilderActionTypes,
  REGISTER_COMPONENT: InternalActionTypes.REGISTER_COMPONENT,
  UNREGISTER_COMPONENT: InternalActionTypes.UNREGISTER_COMPONENT
};
function isHostToBuilderAction(action) {
  return isAction(action) && Object.hasOwn(HostToBuilderActionTypes, action.type);
}
export {
  HostToBuilderActionTypes,
  isHostToBuilderAction
};
//# sourceMappingURL=host-to-builder-actions.js.map