export type ScheduleRunState = Readonly<{
    lastRunAt?: number;
    lastSuccessAt?: number;
    lastErrorAt?: number;
    lastErrorMessage?: string;
    nextRunAt?: number;
    consecutiveFailures?: number;
}>;
export type ScheduleRunStatePatch = Partial<ScheduleRunState>;
export type IScheduleStateStore = Readonly<{
    get: (name: string) => Promise<ScheduleRunState | null>;
    set: (name: string, patch: ScheduleRunStatePatch) => Promise<void>;
    list: () => Promise<Array<{
        name: string;
        state: ScheduleRunState;
    }>>;
}>;
export declare const InMemoryScheduleStateStore: Readonly<{
    create(): IScheduleStateStore;
}>;
declare const _default: {
    InMemoryScheduleStateStore: Readonly<{
        create(): IScheduleStateStore;
    }>;
};
export default _default;
//# sourceMappingURL=ScheduleStateStore.d.ts.map