import type { ContradictionRecord, ContradictionStatus, ConfidenceValue } from "../types.js";
import type { ExtractedAttribute } from "./types.js";
export type ResolvedTrait = {
    value: string;
    resolution: ContradictionStatus;
};
export type DetectContradictionsResult = {
    records: ContradictionRecord[];
    resolvedTraits: Record<string, ResolvedTrait>;
};
export declare function detectContradictions(existingTraits: Record<string, ConfidenceValue>, incomingAttributes: ExtractedAttribute[], nowMs: number): DetectContradictionsResult;
export declare function pruneContradictionLog(log: ContradictionRecord[], maxSize?: number): ContradictionRecord[];
