import type { Lang } from "@/constants/languages"
import type { UserQueryRouter } from "../user"

export type UpcomingStaysResponse = Awaited<
  ReturnType<UserQueryRouter["stays"]["upcoming"]>
>
export type UpcomingStaysNonNullResponseObject =
  NonNullable<UpcomingStaysResponse>
export type UpcomingStays = NonNullable<UpcomingStaysNonNullResponseObject>["data"]
export type UpcomingStay = NonNullable<UpcomingStaysNonNullResponseObject>["data"][number]

export interface UpcomingStaysClientProps {
  lang: Lang
  initialUpcomingStays: UpcomingStaysNonNullResponseObject
}
