import type { ReactElement } from 'react'; /** * Render a React element to static markup. * * Silences any `useLayoutEffect` warnings. * * Similar to `renderToString`, except this doesn't create extra DOM attributes * such as `data-reactid`, that React uses internally. This is useful if you want * to use React as a simple static page generator, as stripping away the extra * attributes can save lots of bytes. * * @param element React element. * @return Markup. */ declare function renderToStaticMarkup(element: ReactElement | ReactElement[] | null | string): string; export default renderToStaticMarkup; //# sourceMappingURL=renderToStaticMarkup.d.ts.map