import { ReactRoot } from '../types/react/ReactRoot'; /** * Mounts React into a container using whichever API the host's React provides. * * Staffbase widgets run against a host-supplied React that may be 18+ (concurrent * `createRoot`) or legacy 17 (`render`). This adapter picks the right one so a * widget mounts identically on both, returning a uniform render/unmount handle. * @param {Element} container - The element to mount into. * @returns {ReactRoot} The render/unmount handle. */ export declare const createReactRoot: (container: Element) => ReactRoot; //# sourceMappingURL=createReactRoot.d.ts.map