import { toHtml } from "hast-util-to-html";
export function serializeHtml(node) {
    let doctype = { type: "doctype" };
    return new Response(toHtml([doctype, node]), {
        headers: {
            "Content-Type": "text/html; charset=utf-8;",
        },
    });
}
//# sourceMappingURL=serialize-html.js.map