import { DateTime } from "luxon"; /** * `Schedule` objects search for execution times of a cron schedule */ export declare class Schedule { readonly arr: number[][]; readonly now: DateTime; date: DateTime; pristine: boolean; /** * Default constructor * * @param arr The cron schedule as an array * @param now An optional reference date * @param timezone An optional timezone string */ constructor(arr: number[][], now?: Date | string, timezone?: string); /** * Resets the iterator */ reset(): void; /** * Returns the time the schedule would run next * * @return The time the schedule would run next */ next(): DateTime; /** * Returns the time the schedule would have last run at * * @return The time the schedule would have last run at */ prev(): DateTime; }