export { default as rendererVersion } from 'shared/ReactVersion';
export const rendererPackageName = 'react-markup';
import type { Thenable } from 'shared/ReactTypes';
export * from 'react-markup/src/ReactMarkupLegacyClientStreamConfig.js';
export * from 'react-client/src/ReactClientConsoleConfigPlain';
export * from 'react-client/src/ReactClientDebugConfigPlain';
export type ModuleLoading = null;
export type ServerConsumerModuleMap = null;
export type ServerManifest = null;
export type ServerReferenceId = string;
export type ClientReferenceMetadata = null;
export type ClientReference<T> = null;
export function prepareDestinationForModule(
moduleLoading: ModuleLoading,
nonce: ?string,
metadata: ClientReferenceMetadata,
) {
throw new Error(
'renderToHTML should not have emitted Client References. This is a bug in React.',
);
}
export function resolveClientReference<T>(
bundlerConfig: ServerConsumerModuleMap,
metadata: ClientReferenceMetadata,
): ClientReference<T> {
throw new Error(
'renderToHTML should not have emitted Client References. This is a bug in React.',
);
}
export function resolveServerReference<T>(
config: ServerManifest,
id: ServerReferenceId,
): ClientReference<T> {
throw new Error(
'renderToHTML should not have emitted Server References. This is a bug in React.',
);
}
export function preloadModule<T>(
metadata: ClientReference<T>,
): null | Thenable<T> {
return null;
}
export function requireModule<T>(metadata: ClientReference<T>): T {
throw new Error(
'renderToHTML should not have emitted Client References. This is a bug in React.',
);
}
export function getModuleDebugInfo<T>(metadata: ClientReference<T>): null {
throw new Error(
'renderToHTML should not have emitted Client References. This is a bug in React.',
);
}
export const usedWithSSR = true;
type HintCode = string;
type HintModel<T extends HintCode> = null;
export function dispatchHint<Code extends HintCode>(
code: Code,
model: HintModel<Code>,
): void {
}
export function preinitModuleForSSR(
href: string,
nonce: ?string,
crossOrigin: ?string,
) {
}
export function preinitScriptForSSR(
href: string,
nonce: ?string,
crossOrigin: ?string,
) {
}