import { Lang } from "@/constants/languages"
import { AccountPageContentItem } from "@/server/routers/contentstack/accountPage/output"

import { DynamicContentComponents } from "@/types/components/myPages/myPage/enums"

export type AccountPageContentProps = {
  component: DynamicContentComponents
  props: {
    title: string | null
    subtitle: string | null
    link?: { href: string; text: string }
    lang: Lang
  }
}

export type AccountPageComponentProps = {
  lang: Lang
  title: string | null
  subtitle: string | null
  link?: { href: string; text: string }
}

export type ContentProps = {
  lang: Lang
  content: AccountPageContentItem[]
}
