import type { IPersistenceProvider } from '../scheduler.persistence.js'; import type { IScheduledJob, IJobExecutionResult } from '../scheduler.interfaces.js'; export interface IKeyValueStore { set(key: string, value: string): Promise<'OK' | string | null>; get(key: string): Promise; del(...keys: string[]): Promise; sadd(key: string, ...members: string[]): Promise; smembers(key: string): Promise; srem(key: string, ...members: string[]): Promise; rpush(key: string, ...values: string[]): Promise; ltrim(key: string, start: number, stop: number): Promise<'OK'>; lrange(key: string, start: number, stop: number): Promise; } export declare class RedisPersistenceProvider implements IPersistenceProvider { private readonly store; constructor(store: IKeyValueStore); saveJob(job: IScheduledJob): Promise; loadJob(id: string): Promise; loadAllJobs(): Promise; deleteJob(id: string): Promise; saveExecutionResult(result: IJobExecutionResult): Promise; loadExecutionHistory(jobId: string, limit?: number): Promise; clear(): Promise; private serializeJob; private deserializeJob; } //# sourceMappingURL=redis-persistence.provider.d.ts.map