import type { ToolInputValue } from "@best-agent/protocol";
import { type ConversationMessage, type ProviderToolOption } from "../../provider/model-provider.js";
import type { CompletedProviderToolCall } from "../checkpoint-codec.js";
export declare function toProviderHistoryCompletedToolCall(call: CompletedProviderToolCall, renderToolInput?: (toolName: string, input: ToolInputValue) => ToolInputValue): CompletedProviderToolCall;
export declare function buildToolFollowUpMessages(messages: ConversationMessage[], toolCalls: CompletedProviderToolCall[], availableTools: ProviderToolOption[], renderToolInput?: (toolName: string, input: ToolInputValue) => ToolInputValue): ConversationMessage[];
export declare function renderStructuredToolObservation(input: {
    recoveryGuidance?: string;
    toolCall: CompletedProviderToolCall;
    toolOutput: string;
}): string;
//# sourceMappingURL=provider-tool-observation.d.ts.map