import type { EscalateRole } from '../../types/escalator.js';
/**
 * Maximum number of automatic retries before escalating to human.
 * Reviewer and Validator get 3 attempts; Releaser gets 2 (more conservative).
 */
export declare const RETRY_BUDGETS: Record<EscalateRole, number>;
/**
 * Determine what to do next given the role and how many attempts have been made.
 *
 * @param role     - The role being retried.
 * @param attempts - Number of attempts already completed (1-based: 1 = first try done).
 * @returns `'retry'` if within budget, `'escalate'` if budget exhausted.
 */
export declare function nextDecision(role: EscalateRole, attempts: number): 'retry' | 'escalate';
//# sourceMappingURL=policy.d.ts.map