/** * StalledDiagnosticianTaskReadModel — read model to detect stalled diagnostician tasks. * * A stalled task has taskKind = 'diagnostician', status = 'pending', attemptCount = 0, * no runs, and age > thresholdSeconds. * * PRI-377 — Surface stalled diagnostician tasks with explicit next actions. */ import type { RuntimeStateManager } from './store/runtime-state-manager.js'; export interface StalledDiagnosticianTaskInfo { readonly taskId: string; readonly inputRef: string | null; readonly age: number; readonly reason: string; readonly nextAction: string; } export interface StalledDiagnosticianTaskReadModelOptions { stateManager: RuntimeStateManager; } export declare class StalledDiagnosticianTaskReadModel { private readonly stateManager; constructor(opts: StalledDiagnosticianTaskReadModelOptions); checkStalledTask(taskId: string, thresholdSeconds?: number): Promise; listStalledTasks(thresholdSeconds?: number): Promise; } //# sourceMappingURL=stalled-diagnostician-task-read-model.d.ts.map