import type { z } from "zod"

import type {
  bedTypeFormSchema,
  bedTypeSchema,
} from "@/components/HotelReservation/EnterDetails/BedType/schema"
import type { BedTypeEnum, ExtraBedTypeEnum } from "@/constants/booking"

export type BedTypeSelection = {
  description: string
  size: {
    min: number
    max: number
  }
  value: string
  type: BedTypeEnum
  roomsLeft: number
  extraBed:
    | {
        description: string
        type: ExtraBedTypeEnum
      }
    | undefined
}

export interface BedTypeFormSchema extends z.output<typeof bedTypeFormSchema> {}

export type BedTypeSchema = z.output<typeof bedTypeSchema>["bedType"]

export type BedTypeInfoProps = {
  hasMultipleBedTypes: boolean
}
