import { CronDate, DateType, ICronExpression, IStringResult, ParserOptions, } from '../common'; export type CronFields = { readonly second: readonly number[]; readonly minute: readonly number[]; readonly hour: readonly number[]; readonly dayOfMonth: readonly (number | 'L')[]; readonly month: readonly number[]; readonly dayOfWeek: readonly number[]; } export {ParserOptions, CronDate, DateType} export type CronExpression = ICronExpression export type StringResult = IStringResult export function parseExpression(expression: string, options?: ParserOptions): CronExpression; export function fieldsToExpression(fields: CronFields, options?: ParserOptions): CronExpression; export function parseFile(filePath: string, callback: (err: any, data: StringResult) => any): void; export function parseString(data: string): StringResult;