///
import type { Root } from 'react-dom/client';
export declare const S2_REACT_ROOT_SYMBOL_ID = "__s2_react_root__";
type ContainerType = (Element | DocumentFragment) & {
[S2_REACT_ROOT_SYMBOL_ID]?: Root;
};
export declare const isLegacyReactVersion: () => boolean;
export declare function reactRender(node: React.ReactElement | null, container: ContainerType): Promise;
export declare function reactUnmount(container: ContainerType): void | Promise;
export declare function forceClearContent(container: ContainerType): void | Promise;
export {};