// Registry react-dom shim. See registry-react.mjs for rationale.
const D = window.__HOST_REACT_DOM__
if (!D) {
  throw new Error('Registry react-dom shim: window.__HOST_REACT_DOM__ not installed')
}

export default D
export const createPortal = D.createPortal
export const flushSync = D.flushSync
export const preconnect = D.preconnect
export const prefetchDNS = D.prefetchDNS
export const preinit = D.preinit
export const preinitModule = D.preinitModule
export const preload = D.preload
export const preloadModule = D.preloadModule
export const requestFormReset = D.requestFormReset
export const unstable_batchedUpdates = D.unstable_batchedUpdates
export const useFormState = D.useFormState
export const useFormStatus = D.useFormStatus
export const version = D.version
