import type { ToolEffect } from "@best-agent/protocol";
import type { ConversationMessage } from "../../provider/provider-conversation.js";
import type { RuntimeObservation } from "./runtime-observation.js";
export type ProviderFinalAnswerValidation = {
    ok: true;
} | {
    ok: false;
    observation: RuntimeObservation;
};
export declare function validateProviderFinalAnswer(input: {
    messages: ConversationMessage[];
    objective?: string;
    text: string;
    toolEffects: ReadonlyMap<string, ToolEffect>;
}): ProviderFinalAnswerValidation;
//# sourceMappingURL=provider-final-validator.d.ts.map