import { Lang } from "@/constants/languages"

import type { Locale } from "date-fns"
import type { DateRange } from "react-day-picker"

export interface DatePickerFormProps {
  name?: string
}

type LangWithoutEn = Lang.da | Lang.de | Lang.fi | Lang.no | Lang.sv

export interface DatePickerProps {
  close: () => void
  handleOnSelect: (selected: Date) => void
  locales: Record<LangWithoutEn, Locale>
  selectedDate: DateRange
}
