export declare function compareDates(recordDate: string, buffer: number): boolean; export declare function epochToDateStringFormat(epoch: number, format?: string): string; export declare function convertDateCodeToFormat(dateString: string, toFormat: string): string; /** * Current calendar date resolved in Asia/Kolkata (IST). * * TIMEZONE RULE: IST = UTC + 5:30 (fixed offset, no DST). * Converting IST -> UTC: subtract 5:30. * - If IST time < 05:30 -> UTC date is the PREVIOUS calendar day. * - If IST time >= 05:30 -> UTC date is the SAME calendar day. * * Example: IST 01:00 -> UTC 19:30 (prev day). * * Why this matters: the production container (node:20.10-alpine) sets no TZ, * so it defaults to UTC. A bare `new Date().getDate()` at 01:00 IST would read * UTC's date (still "yesterday"), causing classification jobs to target the * wrong day or silently miss their trigger window. * * This function returns a Date whose local getFullYear()/getMonth()/getDate() * always equal the IST calendar date, regardless of container timezone. */ export declare function getTodayInIST(): Date;