import { ReactElement } from 'react'; import { Root } from 'react-dom/client'; declare const MARK = "__react_root__"; type ContainerType = (Element | DocumentFragment) & { [MARK]?: Root; }; declare function mount(node: ReactElement, container: ContainerType): void; declare function unmount(container: ContainerType): Promise; export { mount, unmount };