import type { BatchJobExecutionCoordinator } from '../batch-job-execution-coordinator.js'; import type { JobQueue } from '../job-queue.js'; import type { BatchSchedulerLogMethod } from '../handlers/batch-scheduler-run-context.js'; export interface BatchSchedulerIntervalDeps { jobExecutionCoordinator: BatchJobExecutionCoordinator; intervals: Map>; jobQueue: JobQueue; log: BatchSchedulerLogMethod; } /** * 작업 스케줄링 * 시작 시 maxConcurrentJobs를 보장하기 위해 무조건 큐를 통해 실행 */ export declare function scheduleBatchJob(deps: BatchSchedulerIntervalDeps, name: string, interval: number, job: () => Promise, priority: number): void; /** * 실행 중인 작업 완료 대기 */ export declare function waitForRunningBatchJobs(deps: BatchSchedulerIntervalDeps): Promise; //# sourceMappingURL=batch-scheduler-interval.d.ts.map