import { generateText } from "ai"; import { type ConflictEvaluation } from "./parser"; import { type ConflictCandidate, type ConflictNewObservation } from "./prompts"; /** Re-exported conflict evaluation types. */ export type { ConflictEvaluation, ConflictCandidate, ConflictNewObservation }; /** Re-exported conflict outcome type. */ export type { ConflictOutcome } from "./parser"; /** Configuration for the AI-powered conflict evaluator. */ export interface ConflictEvaluatorConfig { provider: string; apiKey: string | undefined; model: string; rateLimitingEnabled: boolean; fallbackProviders?: string[]; } /** * Uses an LLM to determine whether a new observation conflicts with, * updates, or duplicates existing observations. */ export declare class ConflictEvaluator { private model; private config; _generate: typeof generateText; constructor(config: ConflictEvaluatorConfig); /** * Evaluate a new observation against existing candidates for conflicts. * @returns Evaluation result, or null if AI is unavailable or no candidates. */ evaluate(newObs: ConflictNewObservation, candidates: ReadonlyArray): Promise; } //# sourceMappingURL=conflict-evaluator.d.ts.map