import type { MemoryId } from '../../types/ids/index.js'; import type { MemoryIndex, MemoryIndexEntry, MemorySearchParams, MemorySearchResult } from '../../types/memory/index.js'; /** Exact normalized word membership; no substring, stemming or alias inference. */ export declare function matchesMemoryIdentifier(text: string, identifiers: ReadonlySet): boolean; /** Shared lexical ranking; a caller-owned index can omit body content. */ export declare function searchMemoryEntries(entries: readonly MemoryIndexEntry[], params: MemorySearchParams, contentOf?: (id: MemoryId) => string): MemorySearchResult; export declare class InMemoryMemoryIndex implements MemoryIndex { private entries; search(params: MemorySearchParams): MemorySearchResult; getEntry(id: MemoryId): MemoryIndexEntry | undefined; allEntries(): readonly MemoryIndexEntry[]; count(): number; rebuild(entries: MemoryIndexEntry[]): void; set(entry: MemoryIndexEntry): void; remove(id: MemoryId): boolean; } //# sourceMappingURL=index.d.ts.map