/** * Salience gate — decides at memory creation time whether content is worth * storing at full strength, should start weakened, or should be skipped. * * Inspired by the biological salience network (anterior insula + dACC): * not everything that enters working memory deserves long-term storage. */ import type { MemoryEntry } from './memory.js'; export type SalienceDecision = 'store' | 'skip' | 'start_weak'; export interface SalienceResult { decision: SalienceDecision; reason: string; score: number; } export interface SalienceOptions { recentWindow?: number; overlapThreshold?: number; minContentLength?: number; maxRepeatErrors?: number; } export declare function computeSalience(content: string, tags: string[], recentMemories: MemoryEntry[], options?: SalienceOptions): SalienceResult; //# sourceMappingURL=salience.d.ts.map