import type { InputEnvelope } from "../input/input-envelope.js";
import type { LoopDecision, OrchestrationLoopState } from "./loop-state.js";
export interface PersistLoopArtifactsOptions {
    root: string;
    runId?: string;
    nextInputEnvelope?: InputEnvelope;
}
export interface PersistLoopArtifactsResult {
    runDir: string;
    statePath: string;
    decisionsPath: string;
    nextInputPath?: string;
}
export declare function persistLoopArtifacts(state: OrchestrationLoopState, decision: LoopDecision, options: PersistLoopArtifactsOptions): Promise<PersistLoopArtifactsResult>;
