import type { MemoryEdge, MemoryRecord } from './types.js'; interface EvolutionInput { incoming: Pick; existing: Array & { _semanticMatch?: boolean; }>; } export interface EvolutionResult { edges: MemoryEdge[]; } /** * Resolve how an incoming memory relates to existing memories. * * Supersede rules (conservative — avoid information loss): * 1. Raw → Extracted: structured fact replaces raw conversation (same topic, raw kind) * 2. Same fact update: same topic + high summary overlap (≥0.6) between two extracted facts * * Everything else → builds_on (preserves independent facts under same topic) */ export declare function resolveMemoryEvolution(input: EvolutionInput): EvolutionResult; export {}; //# sourceMappingURL=evolution-engine.d.ts.map