import type { IndexFiles } from "./index-files.js"; import { type OllamaChatOptions } from "../utils/ollama.js"; export interface EnrichOptions extends OllamaChatOptions { topN?: number; force?: boolean; onProgress?: (done: number, total: number, symbol: string) => void; } export interface EnrichResult { enriched: number; skipped: number; failed: number; failures: Array<{ symbol: string; reason: string; }>; } export declare function enrichSymbolPurposes(indexer: IndexFiles, opts?: EnrichOptions): Promise; /** * Strip the content-hash prefix from a stored purpose for display. */ export declare function displayPurpose(purposeField: string | null): string | null;