import type * as React from 'react';
import type { Root } from 'react-dom/client';
type ContainerType = (Element | DocumentFragment) & {
__rc_react_root__?: Root;
};
/**
* 渲染 React 节点(React 18/19)
*
* Render React node(React 18/19)
* @param node - React 节点 | React node
* @param container - 容器 | Container
*/
export declare function render(node: React.ReactNode, container: ContainerType): Promise;
/**
* 卸载 React 节点(React 18/19)
*
* Unmount React node(React 18/19)
* @param container - 容器 | Container
* @returns Promise | Promise
*/
export declare function unmount(container: ContainerType): Promise;
export {};