import type { MemoryIndex } from '../types.js'; export declare function readMemoryFileMtime(filePath: string): string; export declare function readStoredMemoryNames(memoryDir: string): Set; /** * Build the hot/warm index object from the current `.peaks/memory/` contents * without touching disk. Pure read + in-memory assembly; `generateMemoryIndexFile` * serializes the result. Exposed so `peaks memory reindex` can reuse the exact * same entry construction for its counts + `MEMORY.md` regeneration instead of * duplicating it. */ export declare function buildMemoryIndex(projectRoot: string): MemoryIndex; export declare function generateMemoryIndexFile(projectRoot: string, memoryDir: string, indexPath: string, prebuilt?: MemoryIndex): void; export declare function readExistingIndex(indexPath: string): MemoryIndex | null; export declare function readMemoryIndex(projectRoot: string): MemoryIndex | null;