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

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

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