import { OnModuleInit } from '@nestjs/common'; import { Schema } from 'mongoose'; import { ScheduleJob } from './interfaces/schedule-job'; import { MongoOptions } from './interfaces/store-options'; export declare class StoreService implements OnModuleInit { private options; scheduleJob: Schema, import("mongoose").Model, undefined>; scheduleJobDetail: Schema, import("mongoose").Model, undefined>; constructor(options: MongoOptions); onModuleInit(): void; private initDatabase; create(data: ScheduleJob): Promise; update(name: string, funcName: string, type: 'fail' | 'completed'): Promise; removeUnuse(slugs: string[]): void; getList(conditions?: any): Promise; getByName(name: string, funcName?: string): Promise; updateCron(data: ScheduleJob): Promise; deleteByName(name: string, funcName?: string): Promise; detectNextTime(data: ScheduleJob, timezone?: string): void; }