/** Query-local coverage receipts. They describe a bounded stage, never recall or truth. */ export interface MemoryCandidateCoverage { route: string; population: number | null; /** Eligible scoped records before a route-specific compatibility filter. */ eligiblePopulation?: number; examined: number; selected: number; limit: number; complete: boolean; reasonCode?: string; } export type MemoryCandidateObserver = (coverage: Readonly) => void; export declare function observeCandidates(observer: MemoryCandidateObserver | undefined, coverage: MemoryCandidateCoverage): void; export declare function candidateLimit(value: number | undefined, fallback: number, maximum?: number): number; /** Keep code punctuation in cues; these are literal lexical candidates, not entity identity facts. */ export declare function memoryCueTerms(query: string): string[]; export declare function literalLike(text: string): string; export declare function lexicalPredicate(fields: string[], terms: string[]): { sql: string; params: string[]; scoreSql: string; };