import type React from 'react'; /** * Renders a React component to a DOM element with cleanup support * Returns an object with the rendered DOM node and a destroy callback. * The destroy callback must be called to unmount the React root and prevent memory leaks. */ export declare function renderComponentToDomElement

(Component: React.ComponentType

, props: P): { dom: HTMLDivElement; destroy: () => void; }; /** * Renders a React component to an HTML string * The root is properly unmounted to prevent memory leaks. */ export declare function renderComponentToString

(Component: React.ComponentType

, props: P): string; //# sourceMappingURL=render-component.d.ts.map