import type { Room } from "@/types/hotel"
import type {
  BookingConfirmation,
  BookingConfirmationSchema,
} from "@/types/trpc/routers/booking/confirmation"

export interface BookingConfirmationProps {
  refId: string
  membershipFailedError: boolean
}

export interface BookingConfirmationRoom extends Room {
  bedType: Room["roomTypes"][number]
}

export interface ConfirmationProps
  extends Pick<BookingConfirmation, "booking" | "hotel"> {
  room: BookingConfirmationRoom
}

export interface BookingConfirmationAlertsProps {
  booking: BookingConfirmationSchema
}
