import type { PropsOf } from "@qwik.dev/core"; export type DateSegmentType = "month" | "day" | "year"; export type DateSegment = { numericValue?: number; isoValue?: string; placeholderText: string; type: DateSegmentType; isPlaceholder: boolean; min: number; max: number; maxLength: number; }; export type PublicDateInputSegmentProps = PropsOf<"input"> & { _index?: number; placeholder?: string; showLeadingZero?: boolean; }; type DayFormats = "dd" | "d"; type MonthFormats = "mm" | "m" | "MMM" | "MMMM"; type YearFormats = "yyyy" | "yy"; export type Separator = "/" | "-" | "."; export type DateFormat = `${DayFormats}${Separator}${MonthFormats}${Separator}${YearFormats}` | `${YearFormats}${Separator}${MonthFormats}${Separator}${DayFormats}` | `${MonthFormats}${Separator}${DayFormats}${Separator}${YearFormats}`; export type Locale = "en"; export type Month = "01" | "02" | "03" | "04" | "05" | "06" | "07" | "08" | "09" | "10" | "11" | "12"; export type DayOfMonth = "01" | "02" | "03" | "04" | "05" | "06" | "07" | "08" | "09" | "10" | "11" | "12" | "13" | "14" | "15" | "16" | "17" | "18" | "19" | "20" | "21" | "22" | "23" | "24" | "25" | "26" | "27" | "28" | "29" | "30" | "31"; export type ISODate = `${number}-${Month}-${DayOfMonth}`; export {};