import type { ThreadEvidenceRecord, ToolResultItem, Turn } from "@best-agent/protocol";
import type { ToolResumeContext } from "../checkpoint-codec.js";
import type { ProviderTurnInvokeContext } from "./provider-turn-budget.js";
import type { ProviderToolLoopRuntime } from "./provider-tool-loop-runtime.js";
export { buildProviderToolLoopFollowUpState, type ProviderToolLoopFollowUpState, } from "./provider-tool-follow-up-state.js";
export { buildToolFollowUpMessages, renderStructuredToolObservation, toProviderHistoryCompletedToolCall, } from "./provider-tool-observation.js";
export declare function continueProviderToolOutputBoundary(input: {
    context: ToolResumeContext;
    evidenceRecords?: ThreadEvidenceRecord[];
    invokeContext: ProviderTurnInvokeContext;
    runtime: ProviderToolLoopRuntime;
    toolInputDigest?: string;
    toolInputStableDigest?: string;
    toolOutput: string;
    toolResultItem?: ToolResultItem;
    turn: Turn;
    persistToolResult?: boolean;
}): Promise<string>;
//# sourceMappingURL=provider-tool-loop.d.ts.map