import type { FactInput, FactRecord } from "../../state/facts.js"; import type { ReconcileAction } from "./reconcile.js"; /** * Interface for resolving ambiguous fact collisions. * The judge is consulted ONLY on a deterministic normalized-key collision * where no exact (scope,subject,predicate) match exists. */ export interface FactJudge { resolve(incoming: FactInput, candidate: FactRecord): Promise; } /** * Build an LLM-backed FactJudge. * Mirrors the createClient pattern from src/orchestrator/architect-agent.ts:195-203. * Honoring BOBER_TEST_DETERMINISTIC=1 automatically — createClient short-circuits * to a DeterministicStubClient whose response is non-JSON, causing parseJudgeAction * to return the FALLBACK "add". */ export declare function createLLMFactJudge(provider?: string | null, endpoint?: string | null, providerConfig?: Record, model?: string): FactJudge; //# sourceMappingURL=fact-judge.d.ts.map