import { HolidaysLimitType } from './generatorDisabledCallback'; import { Moment } from 'moment'; /** * 判断是否为节假日 * @param cur * @returns */ export declare const isHoliday: (cur: Moment) => boolean; /** * 是否为周末 * @param cur * @returns */ export declare const isWeekend: (cur: Moment) => boolean; /** * 判断是否为工作日 * @param cur 当前时间 */ export declare const isWorkdays: (cur: Moment) => boolean; /** * 节假日检测 * @param holidaysLimit 限制类型 * @returns */ export declare const getHolidaysChecker: (holidaysLimit: HolidaysLimitType) => { disabledHoliday: boolean; disabledWeekend: boolean; isHolidayLimit: (cur: Moment) => boolean; }; declare const _default: { workdays: string[]; holidays: string[]; }; export default _default;