/** * TermConflictChecker — 三类术语冲突检测 * FR-H03 * * 1. 别名冲突(精确匹配,不依赖 LLM) * 2. 范围重叠(scope 交集 + constraints 矛盾,委托 ConflictDetector LLM 精判) * 3. 语义矛盾(复用 ConflictDetector 两阶段判定,独立阈值) */ import type { KnowledgeEntry } from '../types/index.js'; import type { ConflictDetector } from '../conflict/conflict-detector.js'; import type { TermConflictResult, DictionaryConfig } from './term-types.js'; export interface TermConflictCheckerOptions { conflictDetector?: ConflictDetector; config?: Partial; } export declare class TermConflictChecker { private readonly conflictDetector?; private readonly config; constructor(options?: TermConflictCheckerOptions); /** 检测新术语与已有术语集合的冲突 */ check(incoming: KnowledgeEntry, existingTerms: KnowledgeEntry[]): Promise; /** 别名精确匹配(大小写不敏感) */ private checkAliasConflict; /** 范围重叠 + constraints 矛盾 */ private checkScopeOverlap; /** 语义矛盾检测 — 复用 ConflictDetector,传递独立阈值 (P1-4) */ private checkSemanticContradiction; } //# sourceMappingURL=term-conflict-checker.d.ts.map