import type * as React from 'react'; type ContainerType = Element | DocumentFragment; /** * 渲染 React 节点(兼容 React 16 ~ 19) * * Render React node(Compatible with React 16 ~ 19) * @param node - React 节点 | React node * @param container - 容器 | Container * @returns Promise | Promise */ export declare function render(node: React.ReactElement, container: ContainerType): Promise; /** * 卸载 React 节点(兼容 React 16 ~ 19) * * Unmount React node(Compatible with React 16 ~ 19) * @param container - 容器 | Container * @returns Promise | Promise */ export declare function unmount(container: ContainerType): Promise; export {};