import type { z } from "zod"

import type { HotelData, Room } from "@/types/hotel"
import type {
  bookingConfirmationSchema,
  packageSchema,
} from "@/server/routers/booking/output"

export interface BookingConfirmationSchema
  extends z.output<typeof bookingConfirmationSchema> {}

export interface PackageSchema extends z.output<typeof packageSchema> {}

export interface BookingConfirmation extends HotelData {
  booking: BookingConfirmationSchema
  room:
    | (Room & {
        bedType: Room["roomTypes"][number]
      })
    | null
}
