import { type ParsedCron } from './cron.js'; /** Slot granularity. Every slot timestamp satisfies `slot % SLOT_MS === 0`. */ export declare const SLOT_MS = 60000; /** Reserved job-type prefix for cron occurrences. */ export declare const CRON_PREFIX = "cron:"; /** How far back either catch-up mode will look. */ export declare const DEFAULT_CATCH_UP_WINDOW_MS: number; export type CatchUp = 'latest' | 'all'; /** Aligns `ms` down to its containing slot. */ export declare function floorSlot(ms: number): number; /** * Slots matching `cron` in the half-open range `(from, to]`, oldest first. * * `from` is exclusive so a stored watermark is never re-emitted. Both modes are * clamped to `catchUpWindowMs` — without it a watermark far in the past would * make this iterate unbounded minutes. */ export declare function slotsDue(args: { cron: ParsedCron; from: number; to: number; catchUp?: CatchUp; catchUpWindowMs?: number; }): number[]; //# sourceMappingURL=slots.d.ts.map