import type {SharedStateServer} from 'react/src/ReactSharedInternalsServer';
import * as React from 'react';
const ReactSharedInternalsServer: SharedStateServer =
React.__SERVER_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;
if (!ReactSharedInternalsServer) {
throw new Error(
'The "react" package in this environment is not configured correctly. ' +
'The "react-server" condition must be enabled in any environment that ' +
'runs React Server Components.',
);
}
export default ReactSharedInternalsServer;