/** * Gets the timezone offset in hours and timezone name for the company's timezone * (uses cached {@link getCompanyInfo} — no extra HTTP when already loaded). * @returns Promise<{ offset: number; timezone: string }> The timezone offset in hours and timezone name * @throws Error if unable to fetch timezone information */ export declare const getTimezoneOffset: () => Promise<{ offset: number; timezone: string; }>; /** * Converts a UTC/Zulu time to local time based on the provided timezone offset * @param zuluTime The UTC/Zulu time to convert * @param timezoneOffset The timezone offset in hours * @returns The converted local time, or undefined if input is null/undefined */ export declare const convertToLocalTime: (zuluTime: string | Date | null | undefined, timezoneOffset: number) => Date | undefined; /** * Formats a date with the timezone offset in ISO format with offset * @param date The date string in format YYYY-MM-DD HH:mm:ss or YYYY-MM-DDTHH:mm:ss * @param timezoneOffset The timezone offset in hours * @returns The formatted date string in format: YYYY-MM-DDTHH:mm:ss+/-HH:MM */ export declare const formatDateWithTZOffset: (date: string | null | undefined, timezoneOffset: number) => string | undefined; /** * Formats a Date object as an ISO string with the specified timezone offset * @param date The Date object to format (should be a Date that has been shifted by convertToLocalTime) * @param timezoneOffset The timezone offset in hours * @returns ISO string with offset in format: YYYY-MM-DDTHH:mm:ss.SSS±HH:MM */ export declare const toISOWithOffset: (date: Date, timezoneOffset: number) => string; //# sourceMappingURL=timezone.d.ts.map