import { CreditCard } from "@/types/user"

export interface SectionProps {
  nextPath: string
}

export interface BedSelectionProps extends SectionProps {
  alternatives: {
    value: string
    name: string
    payment: string
    pricePerNight: number
    membersPricePerNight: number
    currency: string
  }[]
}

export interface BreakfastSelectionProps extends SectionProps {
  alternatives: {
    value: string
    name: string
    payment: string
    pricePerNight: number
    currency: string
  }[]
}

export interface DetailsProps extends SectionProps {}

export interface PaymentProps {
  roomPrice: number
  otherPaymentOptions: string[]
  savedCreditCards: CreditCard[] | null
  mustBeGuaranteed: boolean
}

export interface SectionPageProps {
  breakfast?: string
  bed?: string
  fromDate: string
  toDate: string
  room: { adults: number; child: { age: number; bed: number }[] }[]
}
