export declare const NO_REPORT_REDISPATCH_COUNT_PREFIX = "Auto Status Check: NO_REPORT_AGAIN "; export declare const SILENT_CRASH_ESCALATION_PHRASE = "The agent may have crashed or stopped silently"; export declare const REPORTING_LOOP_ESCALATION_PHRASE = "This task has been marked as Failed Preparation"; export declare const DISPATCH_LOOP_ESCALATION_PHRASE = "the issue is escalated for a decision"; export declare const STORY_UNSET_ESCALATION_PHRASE = "the story field must be set by the owner before dispatch can continue"; export declare const DEFAULT_THRESHOLD_FOR_DISPATCH_LOOP = 6; export type NextStepAgentDispatchRepetition = { type: 'notRepeated'; } | { type: 'dispatchAgain'; comment: string; } | { type: 'escalateSilentRedispatch'; comment: string; } | { type: 'escalateReportingLoop'; comment: string; } | { type: 'escalateDispatchLoop'; comment: string; } | { type: 'storyUnset'; comment: string; existingCommentId: string | null; } | { type: 'escalateStoryUnsetLoop'; comment: string; } | { type: 'sessionInterruptedBeforeCompletion'; comment: string; }; export declare const countConsecutiveNoReportDispatches: (params: { comments: CommentLike[]; isTrustedAuthor: (author: string) => boolean; latestReopenedAt?: Date | null; agentFieldValue: string | null; }) => number; export declare const resolveNextStepAgentDispatchRepetition: (params: { agentFieldValue: string | null; nextStepAgent: string | null; currentDispatchHasNoReportRejection: boolean; comments: CommentLike[]; isTrustedAuthor: (author: string) => boolean; thresholdForAutoReject: number; thresholdForDispatchLoop: number; isNoStory: boolean; dependedIssueUrls: string[]; latestReopenedAt?: Date | null; sessionEndedWithoutCompletingTurn?: boolean; }) => NextStepAgentDispatchRepetition; //# sourceMappingURL=resolveNextStepAgentDispatchRepetition.d.ts.map