/** A parsed cron field: the allowed values, or `null` meaning "every". */ export type CronField = readonly number[] | null; export interface CronFields { readonly minute: CronField; readonly hour: CronField; readonly dayOfMonth: CronField; readonly month: CronField; readonly dayOfWeek: CronField; } /** * Parse a 5-field cron expression or a `@`-macro into structured fields. * Throws a named error when the expression is malformed, or when * day-of-month and day-of-week are both restricted (see the check below). */ export declare function parseCron(expression: string): CronFields; /** * The next occurrence strictly after `from`, in local time, truncated to the * minute. Returns `null` when nothing matches within 366 days — the guard * against an expression that can never fire, such as day-of-month 30 paired * with February. */ export declare function nextFire(fields: CronFields, from: Date): Date | null;