export declare function getDuckDBDateStringFromYearMonthDay(year: number, month: number, dayOfMonth: number): string; export declare function getDuckDBDateStringFromDays(days: number): string; export declare function getFormatterForTimeZone(timeZone: string): Intl.DateTimeFormat; export declare function getTimeZoneName(date: Date, timeZone: string): string | undefined; /** * Returns the offset of the time zone at the given instant, in seconds. Includes the seconds of offsets that have them, * such as local mean time offsets before standard time zones (e.g. -07:52:58 for America/Los_Angeles before 1883). */ export declare function getTimeZoneOffsetInSeconds(millisecondsSinceEpoch: number, timeZone: string): number; export declare function getAbsoluteOffsetStringFromParts(hoursPart: number, minutesPart: number, secondsPart: number): string; export declare function getOffsetStringFromAbsoluteSeconds(absoluteOffsetInSeconds: number): string; export declare function getOffsetStringFromSeconds(offsetInSeconds: number): string; /** * The fractional part of the seconds is given as an integer of `fractionDigits` digits: microseconds (6, the default) * or nanoseconds (9). Trailing zeros of the fraction are omitted, as DuckDB does. */ export declare function getDuckDBTimeStringFromParts(hoursPart: bigint, minutesPart: bigint, secondsPart: bigint, fractionPart: bigint, fractionDigits?: number): string; /** Formats a TIME_NS: nanoseconds since midnight, from 00:00:00 up to and including 24:00:00. */ export declare function getDuckDBTimeStringFromNanosecondsInDay(nanosecondsInDay: bigint): string; export declare function getDuckDBTimeStringFromPositiveMicroseconds(positiveMicroseconds: bigint): string; export declare function getDuckDBTimeStringFromMicrosecondsInDay(microsecondsInDay: bigint): string; export declare function getDuckDBTimeStringFromMicroseconds(microseconds: bigint): string; export declare function getDuckDBTimestampStringFromDaysAndMicroseconds(days: bigint, microsecondsInDay: bigint, timeZonePart?: string): string; export declare function getDuckDBTimestampStringFromMicroseconds(microseconds: bigint, timeZone?: string): string; /** Formats a TIMESTAMPTZ_NS: nanoseconds since the epoch, shown in the given time zone with its offset. */ export declare function getDuckDBTimestampTZStringFromNanoseconds(nanoseconds: bigint, timeZone: string): string; export declare function getDuckDBTimestampStringFromSeconds(seconds: bigint): string; export declare function getDuckDBTimestampStringFromMilliseconds(milliseconds: bigint): string; /** Formats a TIMESTAMP_NS: nanoseconds since the epoch. */ export declare function getDuckDBTimestampStringFromNanoseconds(nanoseconds: bigint): string; export declare function getDuckDBIntervalString(months: number, days: number, microseconds: bigint): string;