/** * Librarian policy loader — resolves the active `ConflictPolicy` at runtime. * * Merges three layers in priority order (lowest → highest): * 1. `DEFAULT_POLICY` — hard-coded baseline from `policy.ts` * 2. Stored policy entry at `system/librarian/conflict_policy` — operator * overrides persisted to the knowledge store * 3. Learned source-reliability scores from `source-reliability.ts` — online * updates from past conflict resolutions * * Falls back to `DEFAULT_POLICY` + learned scores if the stored entry is * missing or unparseable. Errors from `getReliabilityScores` are silenced so * a reliability-store failure never blocks a write path. */ import { ConflictPolicy } from './policy'; import { findEntry } from '../library/queries'; export declare function getConflictPolicy(db?: Parameters[1]): Promise; //# sourceMappingURL=getPolicy.d.ts.map