import type { Hotel } from "@/types/hotel"
import type { ProductType } from "@/types/trpc/routers/hotel/availability"
import type { HotelResponse } from "@/components/HotelReservation/SelectHotel/helpers"

export enum HotelCardListingTypeEnum {
  MapListing = "mapListing",
  PageListing = "pageListing",
}

export type HotelData = {
  hotelData: Hotel
  price: ProductType
}

export type HotelCardListingProps = {
  hotelData: HotelResponse[]
  type?: HotelCardListingTypeEnum
}

export interface NullableHotelData extends Omit<HotelData, "hotelData"> {
  hotelData: HotelData["hotelData"] | null
}
