import type { Hotel, Parking } from "@/types/hotel"

export enum Periods {
  allDay = "AllDay",
  hour = "Hour",
  day = "Day",
  night = "Night",
}

export type ParkingAmenityProps = {
  parkingPageUrl?: string
  parking: Hotel["parking"]
  parkingElevatorPitch?: string
}

export interface ParkingListProps
  extends Pick<
    Parking,
    | "address"
    | "canMakeReservation"
    | "distanceToHotel"
    | "numberOfChargingSpaces"
    | "numberOfParkingSpots"
  > {}

export interface ParkingPricesProps
  extends Pick<Parking["pricing"], "freeParking">,
    Pick<NonNullable<Parking["pricing"]["localCurrency"]>, "currency"> {
  pricing: NonNullable<Parking["pricing"]["localCurrency"]>["ordinary"]
}
