import { z } from "zod"

import {
  bedTypeFormSchema,
  bedTypeSchema,
} from "@/components/HotelReservation/EnterDetails/BedType/schema"

export type BedTypeSelection = {
  description: string
  size: {
    min: number
    max: number
  }
  value: string
}
export type BedTypeProps = {
  bedTypes: BedTypeSelection[]
}

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

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