/** * Memory selection logic for quota management. * Provides preset selection strategies and scoring for smart auto-selection. */ import type { MemoryEntry } from "../types.js"; export type SelectionStrategy = "newest" | "verified" | "pinned" | "smart"; export interface SelectionResult { selected: MemoryEntry[]; unselected: MemoryEntry[]; strategy: SelectionStrategy; } /** * Select memories using a preset strategy. */ export declare function selectMemories(memories: MemoryEntry[], limit: number, strategy: SelectionStrategy): SelectionResult; /** * Get a summary of what would be selected. */ export declare function getSelectionSummary(memories: MemoryEntry[], limit: number, strategy: SelectionStrategy): { total: number; willSelect: number; willSkip: number; byStatus: Record; };