import { FunctionComponent } from 'react'; import { RootType } from './react-dom'; import { GlobalContextParams } from '../context-provider'; export declare const renderRootCache: Record; export declare class ReactDOMRender { root: RootType | undefined; app: FunctionComponent; container: Element | DocumentFragment; context: GlobalContextParams | undefined; rootCacheId: string | undefined; constructor(app: FunctionComponent, container: Element | DocumentFragment, context?: GlobalContextParams, rootCacheId?: string, // root id in cache root?: RootType); render: (props: any) => void; setRootCache: () => void; clearRootCache: () => void; unmount: () => void; }