import type { RoomData } from "@/types/hotel"
import type { SafeUser } from "@/types/user"
import type { RoomsAvailability } from "@/server/routers/hotels/output"
import type { RoomPackageCodes, RoomPackageData } from "./roomFilter"
import type { Rate } from "./selectRate"

export interface RoomSelectionProps {
  roomsAvailability: RoomsAvailability
  roomCategories: RoomData[]
  user: SafeUser
  packages: RoomPackageData | undefined
  selectedPackages: RoomPackageCodes[]
  setRateSummary: (rateSummary: Rate) => void
  rateSummary: Rate | null
}

export interface SelectRateProps {
  roomsAvailability: RoomsAvailability
  roomCategories: RoomData[]
  user: SafeUser
  packages: RoomPackageData
}
