import * as mongoose from "mongoose"; import { ScheduleAction } from "./schedule_action.schema"; import { BaseService } from "../common/base/base.service"; import { EntitiesService } from "../entities/entities.service"; import { ScheduleLogService } from "./log/schedule_log.service"; import { ClsService } from "nestjs-cls"; export declare class ScheduleActionService extends BaseService { readonly cls: ClsService; private entitiesService; private log; protected model: mongoose.Model; private _scheduleSetting; constructor(cls: ClsService, entitiesService: EntitiesService, log: ScheduleLogService, model: mongoose.Model); init(): Promise; initRefresh(): Promise; private _initialSystemSchedule; private _sendNotifyScheduleFailed; private _sendNofiyByEmail; private _sendNotifyBySMS; create(data: ScheduleAction): Promise; delete(id: string): Promise; _generateNextExecuteTime(cronTab: string, current: Date): Date; createSystemSchedule(data: ScheduleAction): Promise; private _getScheduleSetting; finishSchedule(id: string, data: any): Promise; forceToWaiting(id: string): Promise; forceExecute(id: string): Promise; purgeLog(): Promise; syncExternalProvider(): Promise; }