import type { ParsedResultBlock, TrackedAgentName } from "./protocol.js"; import type { WorkItemState } from "./state.js"; export declare const MAX_REVIEW_ROUNDS = 2; export declare function getAllowedNextAgent(state: WorkItemState): TrackedAgentName | null; export declare function isAllowedTransition(state: WorkItemState, agent: TrackedAgentName): boolean; export declare function getNextState(currentState: WorkItemState, result: ParsedResultBlock): WorkItemState; export declare function shouldBlockRound(reviewRound: number): boolean;