import { type SchedulerWaitError } from './scheduler.js'; import { type JobScope, type JobSnapshot } from './job-store.js'; import { OfflineJobWorker, type JobReservation, type OfflineItemExecutor } from './job-worker.js'; export interface ScheduledJobItem { actor: JobScope; jobId: string; itemId: string; executor: OfflineItemExecutor; reservation?: JobReservation; } /** Offline round-robin across authenticated principal/project lanes; not a distributed admission authority. */ export declare class OfflineJobScheduler { private readonly worker; private readonly concurrency; private readonly maxQueuedItems; constructor(worker: OfflineJobWorker, concurrency: number, maxQueuedItems: number); run(work: ScheduledJobItem[], options?: { signal?: AbortSignal; deadlineEpochMs?: number; now?: () => number; }): Promise>; } //# sourceMappingURL=job-scheduler.d.ts.map