import type { Child, Room } from "../hotelReservation/selectRate/selectRate"

export type ChildBed = {
  label: string
  value: number
}

export type GuestsRoom = Required<Pick<Room, "adults" | "childrenInRoom">>

export type GuestsRoomPickerProps = {
  index: number
}

export type SelectorProps = {
  roomIndex: number
  currentAdults: number
  currentChildren: Child[]
  childrenInAdultsBed: number
}

export type ChildInfoSelectorProps = {
  child: Child
  adults: number
  index: number
  roomIndex: number
  childrenInAdultsBed: number
}

export interface CounterProps {
  count: number
  handleOnIncrease: () => void
  handleOnDecrease: () => void
  disableIncrease: boolean
  disableDecrease: boolean
}
