/** * Calculates the difference in hours between two timestamps * @param startTime ISO timestamp string * @param endTime ISO timestamp string * @param timezoneOffset timezone offset in hours * @returns number representing hours difference, rounded to 3 decimal places */ export declare function calculateTimeDifferenceInHours(startTime: string | null | undefined, endTime: string | null | undefined, timezoneOffset: number): number; export declare const getSecondsOfDay: (timestamp: string | null) => string | null; /** * Apply timezone offsets to specified datetime fields in an object * @param item The object to transform * @param fields The fields to apply timezone offset to * @param timezoneOffset The timezone offset to apply * @returns The transformed object */ export declare const applyTimezoneOffsetsToFields: (item: Record, fields: string[], timezoneOffset: number) => Record; /** * @deprecated Use {@link ensureCompanyInfo} from the MM API module; name retained for backward compatibility. * * Ensures company info (including IANA timezone) is loaded with retries. * Sync readers {@link getCachedTimezoneOffset} / {@link getCachedTimezoneName} resolve company info * from in-memory cache or persisted job-state (`companyInfo`); offset is derived from the IANA name at read time, not stored. * * @param params.maxRetries Maximum number of retry attempts * @param params.retryIntervalMs Time to wait between retries in milliseconds */ export declare const getTimezoneOffsetAndPersist: (params?: import("../services/mm-api-service/company-info.js").EnsureCompanyInfoParams) => Promise; //# sourceMappingURL=time-utils.d.ts.map