import { RepeatBaseOptions, RepeatableJob, RepeatOptions } from '../interfaces'; import { JobsOptions } from '../types'; import { Job } from './job'; import { QueueBase } from './queue-base'; import { RedisConnection } from './redis-connection'; export declare class Repeat extends QueueBase { private repeatStrategy; private repeatKeyHashAlgorithm; constructor(name: string, opts: RepeatBaseOptions, Connection?: typeof RedisConnection); addNextRepeatableJob(name: N, data: T, opts: JobsOptions, skipCheckExists?: boolean): Promise | undefined>; private createNextJob; removeRepeatable(name: string, repeat: RepeatOptions, jobId?: string): Promise; removeRepeatableByKey(repeatJobKey: string): Promise; private keyToData; getRepeatableJobs(start?: number, end?: number, asc?: boolean): Promise; getRepeatableCount(): Promise; private hash; private getRepeatJobId; } export declare const getNextMillis: (millis: number, opts: RepeatOptions) => number | undefined;