import type { Image } from "../image"
import type { RTEDocument } from "../rte/node"
import type { EdgesWithTotalCount } from "./utils/edges"

export enum PuffStyleEnum {
  button = "button",
  default = "default",
}

export type Puff = {
  imageConnection: EdgesWithTotalCount<Image>
  link: {
    href: string
    title?: string
  }
  puff_style: PuffStyleEnum
  text: {
    json: RTEDocument
  }
  title: string
}
