import type { HomeHeroData } from "@/components/dashboard/home/HeroSection"
import type { StatsSectionData } from "@/components/dashboard/home/StatsSection"
import type { ServicesSectionData } from "@/components/dashboard/home/ServicesSection"
import type { WhyChooseUsSectionData } from "@/components/dashboard/home/WhyChooseUsSection"
import type { TestimonialsSectionData } from "@/components/dashboard/home/TestimonialsSection"
import type { ProcessSectionData } from "@/components/dashboard/home/ProcessSection"
import type { DoctorsSectionData } from "@/components/dashboard/home/DoctorsSection"
import type { ReviewsSectionData } from "@/components/dashboard/home/ReviewsSection"
import type { HospitalsSectionData } from "@/components/dashboard/home/HospitalsSection"
import type { CertificationsSectionData } from "@/components/dashboard/home/CertificationsSection"
import type { FAQSectionData } from "@/components/dashboard/home/FAQSection"
import type { BlogSectionData } from "@/components/dashboard/home/BlogSection"
import type { FinalCTASectionData } from "@/components/dashboard/home/FinalCTASection"

export interface HomePageFormStateShape {
  hero: HomeHeroData
  stats: StatsSectionData
  services: ServicesSectionData
  whyChooseUs: WhyChooseUsSectionData
  testimonials: TestimonialsSectionData
  process: ProcessSectionData
  doctors: DoctorsSectionData
  reviews: ReviewsSectionData
  hospitals: HospitalsSectionData
  certifications: CertificationsSectionData
  faq: FAQSectionData
  blog: BlogSectionData
  finalCTA: FinalCTASectionData
}

export function createEmptyHomePageFormState(): HomePageFormStateShape {
  return {
    hero: { title: "", description: "", primaryButtonText: "", primaryButtonLink: "" },
    stats: { title: "", stats: [] },
    services: { title: "", categories: [], serviceDetails: [], buttonText: "", buttonLink: "" },
    whyChooseUs: { title: "", features: [] },
    testimonials: { title: "", subtitle: "", testimonials: [], buttonText: "", buttonLink: "" },
    process: { title: "", steps: [] },
    doctors: { title: "", subtitle: "", buttonText: "", buttonLink: "" },
    reviews: { title: "", subtitle: "", reviews: [] },
    hospitals: { title: "", subtitle: "", hospitals: [] },
    certifications: { title: "", subtitle: "", certifications: [] },
    faq: { title: "", categories: [], faqs: [] },
    blog: { eyebrow: "", title: "", subtitle: "" },
    finalCTA: {
      eyebrow: "",
      title: "",
      description: "",
      primaryButtonText: "",
      primaryButtonLink: "",
      secondaryButtonIcon: "",
      secondaryButtonText: "",
      secondaryButtonLink: "",
      badges: [],
    },
  }
}
