import type { ReactElement } from "react"; /** * Serialises a schema.org JSON-LD document into a `` early or open a nested tag (the standard, sufficient technique for JSON in a script * element - `>` and `&` do not need escaping inside a JSON string). Kept free of any `next` import * so it renders in a server component. * * @param props.data - the JSON-LD document (a plain object) to embed. * @returns the `