export { createElement, cloneElement, isValidElement, createRef, Fragment } from './element' export type { ReactElement, ReactNode, Key, Ref, RefObject, RefCallback, Dispatch, SetStateAction, EffectCallback, DependencyList, } from '../core' // Lightweight functional-component alias — matches React's FC shape closely // enough for the common `const X: FC
= (props) => …` pattern used in // tests and downstream consumer code. export type FC
= (props: P & { children?: import('../core').ReactNode }) => import('../core').ReactElement | null
export {
useState,
useReducer,
useEffect,
useLayoutEffect,
useInsertionEffect,
useRef,
useMemo,
useCallback,
useContext,
useImperativeHandle,
useDebugValue,
useId,
useTransition,
useDeferredValue,
useSyncExternalStore,
useSyncExternalStoreWithSelector,
use,
useActionState,
useFormStatus,
useOptimistic,
useEffectEvent,
startTransition,
} from './hooks'
export {
createContext,
REACT_CONTEXT_TYPE,
REACT_PROVIDER_TYPE,
REACT_CONSUMER_TYPE,
type Context,
type ProviderExoticComponent,
type ConsumerExoticComponent,
} from './context'
export { Component, PureComponent } from './class'
export {
memo, forwardRef, lazy,
REACT_MEMO_TYPE,
REACT_FORWARD_REF_TYPE,
REACT_LAZY_TYPE,
} from './memo'
export {
Suspense, StrictMode, Profiler,
REACT_SUSPENSE_TYPE,
REACT_STRICT_MODE_TYPE,
REACT_PROFILER_TYPE,
} from './suspense'
export { REACT_PORTAL_TYPE } from './portal'
export { Children } from './children'
export { ReactSharedInternals } from './shared-internals'
// Stub exports
export const cache =