import { type Message } from "../../opaque.ts"; export type DateTimeArgStyle = DateTimeArgStyleShorthand | DateTimeArgShorthandPair | ComplexDateTimeArgStyle; export type DateTimeArgShorthandPair = { timeStyle: TimeArgStyleShorthand; dateStyle?: DateArgStyleShorthand | undefined; era?: undefined; year?: undefined; month?: undefined; day?: undefined; dayPeriod?: undefined; hour?: undefined; minute?: undefined; second?: undefined; fractionalSecondDigits?: undefined; timeZoneName?: undefined; } | { timeStyle?: TimeArgStyleShorthand | undefined; dateStyle: DateArgStyleShorthand; era?: undefined; year?: undefined; month?: undefined; day?: undefined; dayPeriod?: undefined; hour?: undefined; minute?: undefined; second?: undefined; fractionalSecondDigits?: undefined; timeZoneName?: undefined; }; export type DateArgStyleShorthand = "short" | "medium" | "long" | "full"; export type TimeArgStyleShorthand = "short" | "medium" | "long" | "full"; export type DateTimeArgStyleShorthand = DateArgStyleShorthand & TimeArgStyleShorthand; export type ComplexDateTimeArgStyle = { timeStyle?: undefined; dateStyle?: undefined; weekday?: WeekdayStyle | undefined; era?: "narrow" | "short" | "long" | undefined; year?: YearStyle | undefined; month?: MonthStyle | undefined; day?: DayStyle | undefined; dayPeriod?: DayPeriodStyle | undefined; hour?: HourStyle | undefined; minute?: MinuteStyle | undefined; second?: SecondStyle | undefined; fractionalSecondDigits?: FractionalSecondDigits | undefined; timeZoneName?: TimeZoneNameStyle | undefined; }; export type WeekdayStyle = "narrow" | "short" | "long"; export type EraStyle = "narrow" | "short" | "long"; export type YearStyle = "2-digit" | "numeric"; export type MonthStyle = "2-digit" | "numeric" | "narrow" | "short" | "long"; export type DayStyle = "2-digit" | "numeric"; export type DayPeriodStyle = "narrow" | "short" | "long"; export type HourStyle = "2-digit" | "numeric"; export type MinuteStyle = "2-digit" | "numeric"; export type SecondStyle = "2-digit" | "numeric"; export type FractionalSecondDigits = 1 | 2 | 3; export type TimeZoneNameStyle = "short" | "long" | "shortOffset" | "longOffset" | "shortGeneric" | "longGeneric"; export declare function dateTimeArg(name: Name, argStyle?: DateTimeArgStyle): Message<{ [K in Name]: Date; } & { timeZone: string; }>; //# sourceMappingURL=datetime.d.ts.map