import type { CalendarDate, DateValue, TimeValue, ZonedDateTime } from './shared.js'; /** Client-side `Date` -> zoned date value in `timeZone`. */ export declare function fromDate(date: Date, timeZone: string): ZonedDateTime; /** The runtime's local IANA time zone. */ export declare function getLocalTimeZone(): string; export declare function toDateValue(d: Date, timeZone?: string): DateValue; /** 4.x Date | 'YYYY-MM-DD' -> CalendarDate (day granularity). */ export declare function toCalendarDate(d: Date | string | null | undefined, timeZone?: string): CalendarDate | undefined; /** 4.x Date | 'HH:mm[:ss]' -> Time. */ export declare function toTimeValue(d: Date | string | null | undefined, timeZone?: string): TimeValue | undefined; /** 5.0 date value -> 4.x Date at local midnight (or the zoned instant). */ export declare function toJsDate(v: DateValue | null | undefined, timeZone?: string): Date | null; //# sourceMappingURL=legacy-bridge.d.ts.map