/** * In-memory ring buffer for manual POST /admin/batch/run executions (#295). * Per-process only; resets on server restart. */ export declare const BATCH_RUN_HISTORY_DEFAULT_LIMIT = 50; export declare const BATCH_RUN_HISTORY_MAX_STORED = 100; export interface BatchRunHistoryRecord { jobType: string; requestedAt: string; completedAt: string; durationMs: number; success: boolean; processed: number; errorCount: number; warningCount: number; errorsPreview: string; /** JSON-safe snapshot of scheduler result */ result: Record | null; failureMessage?: string; } /** Minimal shape from BatchScheduler.runJob return value */ export declare function recordManualBatchRunSuccess(jobType: string, requestedAt: Date, result: { jobType: string; startTime: Date; endTime: Date; duration: number; success: boolean; processed: number; errors: string[]; warnings: string[]; details?: unknown; retryCount?: number; }): void; export declare function recordManualBatchRunFailure(jobType: string, requestedAt: Date, completedAt: Date, message: string): void; export declare function getManualBatchRunHistory(limit: number): BatchRunHistoryRecord[]; export declare function resetBatchRunHistoryForTests(): void; //# sourceMappingURL=batch-run-history.d.ts.map