import type { SpotlightMemoryEntry } from "@inupedia/spotlight-protocol"; import type { PackMemoryPaths } from "./paths.js"; export interface ExactMemoryStoreOptions { paths: PackMemoryPaths; lruMax?: number; } /** L0 exact cache: jsonl persistence + in-process LRU + index.json. */ export declare class ExactMemoryStore { private readonly paths; private readonly lruMax; private index; private entries; private lruKeys; constructor(options: ExactMemoryStoreOptions); private loadFromDisk; private persistIndex; private appendEntry; private touchLru; getExact(cacheKey: string): Promise; hasExact(cacheKey: string): Promise; putExact(cacheKey: string, entry: SpotlightMemoryEntry): Promise; touch(entryId: string): Promise; listEntries(limit?: number): Promise; listEntriesSync(limit?: number): SpotlightMemoryEntry[]; deleteEntry(entryId: string): Promise; deleteEntrySync(entryId: string): boolean; deleteAll(projectId: string): Promise; deleteAllSync(projectId: string): number; count(): Promise; /** @deprecated use async count() */ countSync(): number; private rewriteEntriesFile; } //# sourceMappingURL=exactStore.d.ts.map