import type { DagLoopSnapshot, EvaluateLoopDecisionInput, LoopDecision, OrchestrationLoopState } from "./loop-state.js";
export declare const DEFAULT_LOOP_MAX_ITERATIONS = 3;
export declare const HARD_LOOP_MAX_ITERATIONS = 8;
export declare function evaluateLoopDecision(input: EvaluateLoopDecisionInput): LoopDecision;
export declare function createLoopState(input: {
    runId: string;
    inputId: string;
    runState: EvaluateLoopDecisionInput["runState"];
    decision: LoopDecision;
    parentRunId?: string;
    maxIterations?: number;
    now?: () => Date;
}): OrchestrationLoopState;
export declare function snapshotRunState(runState: EvaluateLoopDecisionInput["runState"]): DagLoopSnapshot;
