import { Options, ParseOptions } from "./types.js"; import { Schedule } from "./schedule.js"; export { Schedule } from "./schedule.js"; export { Unit, Options } from "./types.js"; /** * Parses a cron string * * @param str The string to parse * @param options Parse options * @return The cron schedule as an array */ export declare function stringToArray(str: string, options?: Partial): number[][]; /** * Parses a 2-dimentional array of integers and serializes it to a string * * @param arr The array to parse * @return The cron schedule as a string */ export declare function arrayToString(arr: number[][], options?: Partial): string; /** * Returns the schedule iterator * * @param arr The cron schedule as an array * @param now An optional reference `Date` * @param timezone An optional timezone string * @return A schedule iterator */ export declare function getSchedule(arr: number[][], now?: Date | string, timezone?: string): Schedule; /** * Returns a readonly array of cron units. * These specify the minimum and maximum values * for each part of a cron expression, as well as * the unit name and any alternative respresentations * for the values of that unit. * * @returns The `units` array */ export declare function getUnits(): readonly import("./types.js").Unit[];