export interface ZonedDateParts { /** Full year, e.g. 2026 */ year: number; /** Month, 1-12 */ month: number; /** Day of month, 1-31 */ day: number; /** Hour, 0-23 */ hour: number; /** Minute, 0-59 */ minute: number; /** Second, 0-59 */ second: number; /** Day of week, 0 (Sunday) - 6 (Saturday) */ weekday: number; } /** * Break a `Date` down into its calendar/clock parts as observed in the given timezone. * Returns `null` if the timezone is invalid. */ export declare function getZonedDateParts(d: Date, tz?: string): ZonedDateParts | null; /** * Get the UTC offset (in milliseconds) of the given timezone at the given instant. * A positive value means the zone is ahead of UTC (e.g. +60min for CET). * Returns 0 if the timezone is invalid. */ export declare function getZoneOffsetMs(tz: string, ts: number): number; export interface WallClockFields { year: number; /** Month, 1-12 */ month: number; day: number; hour: number; minute: number; second: number; } /** * Convert a wall-clock time (as it would read on a clock in the given timezone) into the * absolute UTC instant (ms) at which it occurs. * * When `tz` is undefined, the fields are interpreted in the process-local timezone, matching * plain `new Date(y, m, d, ...)` construction. */ export declare function zonedTimeToUtc(fields: WallClockFields, tz?: string): number; //# sourceMappingURL=Timezone.d.ts.map