import { type FormatOptionsWithLanguage } from './OptionsWithLanguage.js'; type DateFormatOptions = FormatOptionsWithLanguage; /** Constructing a formatter costs far more than using one, so they are kept and reused. */ export declare const getDateTimeFormatter: (language: string, options?: Intl.DateTimeFormatOptions) => Intl.DateTimeFormat; export declare function extractDateTimeFormatOptions(calendarId?: string, timeZoneId?: string, explicitOptions?: DateFormatOptions, defaultOptions?: Intl.DateTimeFormatOptions): readonly [import("../LanguageCode.js").LanguageCode, { readonly localeMatcher?: "best fit" | "lookup" | undefined; readonly weekday?: "long" | "short" | "narrow" | undefined; readonly era?: "long" | "short" | "narrow" | undefined; readonly year?: "numeric" | "2-digit" | undefined; readonly month?: "numeric" | "2-digit" | "long" | "short" | "narrow" | undefined; readonly day?: "numeric" | "2-digit" | undefined; readonly hour?: "numeric" | "2-digit" | undefined; readonly minute?: "numeric" | "2-digit" | undefined; readonly second?: "numeric" | "2-digit" | undefined; readonly timeZoneName?: "short" | "long" | "shortOffset" | "longOffset" | "shortGeneric" | "longGeneric" | undefined; readonly formatMatcher?: "best fit" | "basic" | undefined; readonly hour12?: boolean | undefined; timeZone: string | undefined; calendar: string | undefined; readonly dayPeriod?: "narrow" | "short" | "long" | undefined; readonly numberingSystem?: string | undefined; readonly dateStyle?: "full" | "long" | "medium" | "short" | undefined; readonly timeStyle?: "full" | "long" | "medium" | "short" | undefined; readonly hourCycle?: "h11" | "h12" | "h23" | "h24" | undefined; readonly fractionalSecondDigits?: 1 | 2 | 3 | undefined; }]; declare global { interface Date { readonly calendarId?: string; readonly timeZoneId?: string; format(...options: DateFormatOptions): string; formatToParts(...options: DateFormatOptions): Intl.DateTimeFormatPart[]; } } export {}; //# sourceMappingURL=Date.format.d.ts.map