liudong
2023-05-29 340f156319b863525e50e900c58e59b86ecb3d5e
1
2
3
4
5
6
7
8
import { CronosExpression } from './expression';
import { CronosTask, refreshSchedulerTimer } from './scheduler';
import { CronosTimezone } from './date';
export declare function scheduleTask(cronString: string, task: (timestamp: number) => void, options: Parameters<typeof CronosExpression.parse>[1]): CronosTask;
export declare function validate(cronString: string, options?: {
    strict: NonNullable<Parameters<typeof CronosExpression.parse>[1]>['strict'];
}): boolean;
export { CronosExpression, CronosTask, CronosTimezone, refreshSchedulerTimer };