import { ImportanceLevel, MemoryFile, ImportanceScore, MemoryCategory } from './types.js';
import './index-1qIcnbG1.js';

/**
 * Local Importance Scoring (Phase 1B)
 *
 * Zero-LLM heuristic system that evaluates each memory's significance.
 * Analyzes content for markers like explicit importance statements,
 * personal information, instructions, emotional content, and factual density.
 */

/**
 * Calculate importance score for a memory.
 * Pure local heuristics, zero LLM calls.
 */
declare function scoreImportance(content: string, category: MemoryCategory, tags?: string[]): ImportanceScore;
/**
 * Recompute importance for an existing memory file using current local heuristics.
 */
declare function rescoreMemoryImportance(memory: MemoryFile): ImportanceScore;
/**
 * Get importance level from numeric score.
 */
declare function importanceLevel(score: number): ImportanceLevel;
/**
 * Return true if `candidate` meets or exceeds `threshold`. Used by the
 * extraction write gate in orchestrator.persistExtraction() to drop trivial
 * content before it is written to the memory store.
 *
 * Note: callers should pass the ALREADY-BOOSTED level returned by
 * scoreImportance(), because category boosts (e.g. corrections) are applied
 * inside scoreImportance() before the level is derived.
 */
declare function isAboveImportanceThreshold(candidate: ImportanceLevel, threshold: ImportanceLevel): boolean;

export { importanceLevel, isAboveImportanceThreshold, rescoreMemoryImportance, scoreImportance };
