import { footer as i } from "./footer.js";
import { createState as s } from "./state.js";
function p(o, c) {
  const e = s(o, c), t = e.one(o, void 0), r = i(e), n = Array.isArray(t) ? { type: "root", children: t } : t || { type: "root", children: [] };
  return r && n.children.push({ type: "text", value: `
` }, r), n;
}
export {
  p as toHast
};
//# sourceMappingURL=index.js.map
