import type { VariantProps } from "class-variance-authority"

import type { ImageVaultAsset } from "@/types/components/imageVault"
import type { loyaltyCardVariants } from "./variants"

export interface LoyaltyCardProps
  extends React.HTMLAttributes<HTMLDivElement>,
    VariantProps<typeof loyaltyCardVariants> {
  link?: {
    href: string
    isExternal: boolean
    openInNewTab: boolean
    title: string
  }
  image?: ImageVaultAsset
  heading?: string | null
  bodyText?: string | null
  backgroundImage?: { url: string }
}
