import type { ArtifactObligation, ProviderTurnActionPolicy, SessionUsageOperation, Turn } from "@best-agent/protocol";
import type { ConversationMessage, ProviderCacheControl, ProviderToolOption } from "../../provider/model-provider.js";
import type { PromptDeliverableFailure } from "../../prompt/runtime-prompts.js";
import type { ProviderCorrectionTrace } from "../checkpoint-codec.js";
import type { ProviderDecisionResolutionControls } from "./provider-decision-resolution.js";
import type { ProviderReplayRepairRuntime } from "./provider-replay-context.js";
import type { ProviderTurnInvokeContext } from "./provider-turn-budget.js";
import { type RuntimeObservation } from "./runtime-observation.js";
import type { RequiredToolConstraint } from "./tool-constraint-types.js";
export declare function runReplayRepairDecision(input: {
    actionPolicy?: ProviderTurnActionPolicy;
    allowPhaseResult: boolean;
    allowPlanUpdate: boolean;
    artifactObligations: ArtifactObligation[];
    assertArtifacts?: boolean;
    assertTerminal?: boolean;
    availableTools: ProviderToolOption[];
    baseMessages: ConversationMessage[];
    cacheControl?: ProviderCacheControl;
    controls: ProviderDecisionResolutionControls;
    correctionOperation: SessionUsageOperation;
    phaseResultPhaseName?: ProviderDecisionResolutionControls["phaseResultPhaseName"];
    providerContext: ProviderTurnInvokeContext;
    repairCode: ProviderCorrectionTrace["code"];
    repairObservation: RuntimeObservation;
    requiredToolConstraint?: RequiredToolConstraint;
    responseRepairDeliverableFailures?: PromptDeliverableFailure[];
    resolveContext: ProviderTurnInvokeContext;
    runtime: Pick<ProviderReplayRepairRuntime, "assertArtifactObligationsSatisfied" | "assertValidTerminalAssistantTextOrFallback" | "buildCorrectionTrace" | "provider" | "resolveProviderDecision">;
    systemPrompt?: string;
    toolsForTrace?: ProviderToolOption[];
    toolStepCount: number;
    traceSystemPrompt?: string;
    turn: Turn;
    visibleTools: ProviderToolOption[];
    objective?: string;
}): Promise<string>;
//# sourceMappingURL=provider-replay-decision-runner.d.ts.map