import type { CandidateLesson, MemoryItem } from "../shared/types.js"; export declare function calculateMemoryScore(item: MemoryItem, now?: number): number; export declare const saveCandidate: (candidate: CandidateLesson, home?: string) => Promise; export declare const deleteCandidate: (id: string, home?: string) => Promise; export declare const saveMemoryItem: (item: MemoryItem, home?: string) => Promise; export declare const promoteCandidate: (candidate: CandidateLesson, home?: string) => Promise; export declare const mergeCandidate: (candidate: CandidateLesson, id: string, home?: string) => Promise; export declare const recordMemoryReuse: (id: string, success: boolean, home?: string) => Promise; export declare const applyMemoryDecayAndPruning: (home?: string, archiveDays?: number) => Promise<{ staled: number; archived: number; pruned: number; }>; export declare const consolidateMemories: (home?: string) => Promise<{ promoted: number; merged: number; discarded: number; }>; export declare const trimCandidates: (home?: string, maxCandidates?: number) => Promise; export declare const listCandidates: (home?: string) => Promise; export declare const listAllMemories: (home?: string) => Promise; export declare const getMemory: (id: string, home?: string) => Promise;