/** * CalendarMethodsTemporal — JS-native Temporal implementation of CalendarMethods. * * Wire format: ISO 8601 string (matches the moment/dayjs adapters, NOT the * `Temporal.PlainDateTime#toString()` form). The internal representation is * `Temporal.ZonedDateTime` in the system time zone, mirroring how dayjs/moment * default to local time when reading/writing ISO strings. * * Locale week support: uses `Intl.Locale(locale).weekInfo` (Stage 3 / widely * available) to determine the first day of week and minimal days in week 1. * Falls back to the static ISO_WEEK_LOCALES set when `weekInfo` is missing * from the runtime. * * Polyfill: this module relies on `globalThis.Temporal`. Apps that need to * support Safari or Node SSR must install `@js-temporal/polyfill` and * register it on `globalThis` from a Client Component (or equivalent client * entry point) BEFORE this module is imported: * * import { Temporal } from '@js-temporal/polyfill'; * (globalThis as { Temporal?: unknown }).Temporal = Temporal; * * If Temporal is not present at the time any method is invoked, the call * throws with the same installation guide. */ import { CalendarMethods as CalendarMethodsType } from '../calendar/typings'; declare const CalendarMethodsTemporal: CalendarMethodsType; export default CalendarMethodsTemporal;