import type { ArtifactObligation, ProviderConfig, ProviderTurnActionPolicy } from "@best-agent/protocol";
import type { AgentProfile } from "../../agent/profile-registry.js";
import type { ProviderToolOption } from "../../provider/model-provider.js";
import type { ProviderCorrectionTrace, ProviderDecideCheckpointRequest, ProviderRequestCheckpointPayload } from "../checkpoint-codec.js";
import type { ReplayTerminalRepairState } from "./provider-replay-terminal-repair-state.js";
import type { ProviderTurnBudget } from "./provider-turn-budget.js";
import { type RuntimeObservation } from "./runtime-observation.js";
import type { RequiredToolConstraint } from "./tool-constraint-types.js";
export declare function decideReplayRepairWithObservation(input: {
    artifactObligations: ArtifactObligation[];
    missingProfileMessage: string;
    repairCode: ProviderCorrectionTrace["code"];
    repairInput: {
        assertTerminal?: boolean;
        repairActionPolicy: ProviderTurnActionPolicy;
        requiresDeliverableAssertion?: boolean;
        suppressStructuredControls?: boolean;
    };
    repairObservation: RuntimeObservation;
    repairSystemPrompt: string | undefined;
    request: ProviderDecideCheckpointRequest;
    state: ReplayTerminalRepairState;
}): Promise<string>;
export declare function replayTurnContext(input: {
    artifactObligations?: ArtifactObligation[];
    availableTools?: ProviderToolOption[];
    downgradeEligible?: boolean;
    payload: ProviderRequestCheckpointPayload;
    profile: AgentProfile;
    profileName: string;
    replayProviderTurnBudget: ProviderTurnBudget;
    replayRouteConfig?: ProviderConfig;
    requiredToolConstraint?: RequiredToolConstraint;
}): {
    activeSkillIds: string[];
    advancedPhase: import("../checkpoint-codec.js").AdvancedPhaseLoopState | undefined;
    artifactObligations: ArtifactObligation[] | undefined;
    availableTools: ProviderToolOption[] | undefined;
    budget: ProviderTurnBudget;
    compactionFollowUpMarker: import("../checkpoint-codec.js").PendingCompactionFollowUpMarker | undefined;
    downgradeEligible: boolean | undefined;
    escalationLevel: number | undefined;
    fixedRouteConfigOverride: boolean;
    objective: string | undefined;
    phaseName: import("@best-agent/protocol").RunPhaseName | undefined;
    profile: AgentProfile;
    profileName: string;
    requiredToolConstraint: RequiredToolConstraint | undefined;
    routeConfigOverride: ProviderConfig | undefined;
    requestBudgetSnapshot: undefined;
    supersedePendingProviderRequest: boolean;
    toolStepCount: number;
};
//# sourceMappingURL=provider-replay-repair-decision-runner.d.ts.map