import { staticPageVariants } from "./variants"

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

import type { TrackingSDKPageData } from "@/types/components/tracking"
import type { CollectionPage } from "@/types/trpc/routers/contentstack/collectionPage"
import type { ContentPage } from "@/types/trpc/routers/contentstack/contentPage"

export interface StaticPageProps
  extends Omit<React.HTMLAttributes<HTMLDivElement>, "content">,
    VariantProps<typeof staticPageVariants> {
  pageType?: "collection" | "content"
  content: CollectionPage["collection_page"] | ContentPage["content_page"]
  tracking: TrackingSDKPageData
}
