export type JobStatus = "queued" | "running" | "done" | "failed"; export type JobKind = "import" | "import-preview" | "purge" | "export"; export interface JobProgress { processed: number; total: number; phase: string; } export interface AsyncJob { id: string; kind: JobKind; status: JobStatus; progress: JobProgress; result?: unknown; error?: string; startedAt: string; completedAt?: string; } export declare class AsyncJobRegistry { private readonly jobs; create(kind: JobKind): AsyncJob; get(id: string): AsyncJob | undefined; update(id: string, patch: Partial): void; setBinary(id: string, buffer: Buffer, contentType: string, filename: string): void; getBinary(id: string): { buffer: Buffer; contentType: string; filename: string; } | undefined; } //# sourceMappingURL=asyncJobRegistry.d.ts.map