export interface RecentFailure { id: string; platform: string; error: string; attempts: number; } export interface TaskQueueStats { pending: number; processing: number; completed_last_hour: number; failed_last_hour: number; oldest_pending_age_seconds: number; recent_failures: RecentFailure[]; recent_tasks: Array<{ id: string; platform: string; status: string; attempts: number; dispatch_attempts: number; last_dispatch_outcome: string | null; age_seconds: number; }>; } export interface TaskQueueStatsScope { ownerEmail: string; orgId: string | null; } /** * Get a snapshot of the integration task queue health. * * Safe to call before the pending-tasks store has initialized the schema. */ export declare function getTaskQueueStats(scope: TaskQueueStatsScope): Promise; //# sourceMappingURL=task-queue-stats.d.ts.map