/** * Temporal Inhibition — anti-recency bias. * * Memories just created get an inflated importance simply because they are * fresh. When the query carries no temporal intent, freshness is noise: * the user did not ask for what is new. Penalize young memories so the * historical signal can compete. */ import type { SearchResult } from "@massa-th0th/shared"; export interface TemporalInhibitionConfig { enabled: boolean; penaltyAgeMs: number; penalty: number; } export declare function hasTemporalIndicator(query: string): boolean; /** * Apply absolute score penalty to results younger than `penaltyAgeMs` when * the query has no temporal intent. Returns a new sorted array. */ export declare function applyTemporalInhibition(results: SearchResult[], query: string, config: TemporalInhibitionConfig, now?: number): SearchResult[]; //# sourceMappingURL=temporal-inhibition.d.ts.map