/** * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * * @flow */ // Keep in sync with https://github.com/facebook/flow/blob/main/lib/react.js export type ElementType = React$ElementType; export type Element<+C> = React$Element; export type MixedElement = React$Element; export type Key = React$Key; export type Node = React$Node; export type Context = React$Context; export type Portal = React$Portal; export type RefSetter<-I> = React$RefSetter; export type ElementProps = React$ElementProps; export type ElementConfig = React$ElementConfig; export type ElementRef = React$ElementRef; export type ChildrenArray<+T> = $ReadOnlyArray> | T; export { __CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, __COMPILER_RUNTIME, Children, Component, Fragment, Profiler, PureComponent, StrictMode, Suspense, cloneElement, createContext, createElement, createRef, use, forwardRef, isValidElement, lazy, memo, cache, cacheSignal, startTransition, unstable_LegacyHidden, Activity, unstable_Scope, unstable_SuspenseList, unstable_TracingMarker, ViewTransition, addTransitionType, unstable_getCacheForType, unstable_useCacheRefresh, useId, useCallback, useContext, useDebugValue, useDeferredValue, useEffect, useEffectEvent, useImperativeHandle, useInsertionEffect, useLayoutEffect, useMemo, useOptimistic, useSyncExternalStore, useReducer, useRef, useState, useTransition, useActionState, version, } from './src/ReactClient';