import type { IndexMemory } from "../indexer/index-memory.js"; export interface PruneOptions { dryRun?: boolean; maxAgeDays?: number; staleScoreThreshold?: number; recencyDecayRate?: number; similarityThreshold?: number; minClusterSize?: number; withOllama?: boolean; ollamaModel?: string; ollamaBaseUrl?: string; } export interface PruneReport { scanned: number; decayed: number; consolidatedClusters: number; consolidatedMembers: number; newSemanticMemoryIds: number[]; dryRun: boolean; /** True when the active-memory count exceeded the scan cap and the report only covers the most recent rows. */ truncated: boolean; /** Total active memories in the store, regardless of scan cap. */ totalActive: number; } export declare function runPrune(indexer: IndexMemory, opts?: PruneOptions): Promise;