import type { StoredSchedule } from '../types'; export type QuarantinedJob = StoredSchedule & { ownerId: string; enabled: boolean; }; export interface ReconciliationJobStore { findOwnerTypes(): Promise; findOwnerIds(ownerType: string, settledBefore: Date, limit: number, after?: string): Promise; quarantineByOwnerIds(ownerType: string, ownerIds: string[], orphanedAt: Date, settledBefore: Date): Promise; deleteQuarantinedByOwnerIds(ownerType: string, ownerIds: string[], quarantinedBefore: Date): Promise; findQuarantinedByOwnerIds(ownerType: string, ownerIds: string[], limit: number): Promise; liftQuarantine(id: number, nextRunAt: Date | null): Promise; }