main
js 30 lines 1.2 KB
Raw
1 /**
2 * Copyright (c) Meta Platforms, Inc. and affiliates.
3 *
4 * This source code is licensed under the MIT license found in the
5 * LICENSE file in the root directory of this source tree.
6 *
7 * @flow
8 */
9
10 export {default as rendererVersion} from 'shared/ReactVersion';
11 export const rendererPackageName = 'react-server-dom-bun';
12
13 export * from 'react-client/src/ReactFlightClientStreamConfigWeb';
14 export * from 'react-client/src/ReactClientConsoleConfigPlain';
15 export * from 'react-client/src/ReactClientDebugConfigPlain';
16 export * from 'react-dom-bindings/src/shared/ReactFlightClientConfigDOM';
17
18 export opaque type ModuleLoading = mixed;
19 export opaque type ServerConsumerModuleMap = mixed;
20 export opaque type ServerManifest = mixed;
21 export opaque type ServerReferenceId = string;
22 export opaque type ClientReferenceMetadata = mixed;
23 export opaque type ClientReference<T> = mixed; // eslint-disable-line no-unused-vars
24 export const resolveClientReference: any = null;
25 export const resolveServerReference: any = null;
26 export const preloadModule: any = null;
27 export const requireModule: any = null;
28 export const getModuleDebugInfo: any = null;
29 export const prepareDestinationForModule: any = null;
30 export const usedWithSSR = true;