import type { Embeds } from "@/types/requests/embeds"
import type { Node } from "@/types/requests/utils/edges"
import type { RTENode } from "../rte/node"
import type { RenderOptions } from "../rte/option"

export type JsonToHtmlProps = {
  embeds: Node<Embeds>[]
  nodes: RTENode[]
  renderOptions?: RenderOptions
}

export type EmbedByUid = Record<string, Node<Embeds>>
