import { WorkerSessionFailureStreakRepository } from './adapter-interfaces/WorkerSessionFailureStreakRepository'; import { WorkerSessionLogRepository } from './adapter-interfaces/WorkerSessionLogRepository'; export declare const WORKER_SESSION_CONSECUTIVE_FAILURE_THRESHOLD = 3; export type WorkerSessionEndClassifyInput = { issueUrl: string; sessionLogFilePath: string; sessionWasResumed: boolean; missingAgentNameReported: boolean; }; export type WorkerSessionEndClassification = { moveToFailedPreparation: boolean; rateLimitRejected: boolean; promptTooLongOnResume: boolean; turnNotCompleted: boolean; sessionErrorLine: string | null; diagnosticLines: string[]; }; export declare class WorkerSessionEndClassifyUseCase { private readonly workerSessionLogRepository; private readonly workerSessionFailureStreakRepository; constructor(workerSessionLogRepository: WorkerSessionLogRepository, workerSessionFailureStreakRepository: WorkerSessionFailureStreakRepository); run: (input: WorkerSessionEndClassifyInput) => Promise; private failureStreakUpdate; private failureStreakReset; private failureStreakFind; private failureStreakSave; } //# sourceMappingURL=WorkerSessionEndClassifyUseCase.d.ts.map