/** * Shared memory file utilities — used by memory-migrate tool and file-watcher service. * * Provides chunking, marker file I/O, file discovery, and safe file reading. */ export declare const MARKER_FILE = ".engram-migrated.json"; export declare const MAX_FILE_SIZE = 50000; export interface MigrationMarker { lastMigrated: string; files: Record; } export interface MemoryChunk { title: string; content: string; sourcePath: string; type: string; } export declare function splitIntoChunks(content: string, sourcePath: string): MemoryChunk[]; export declare function inferType(_sourcePath: string, content: string): string; export declare function loadMarker(path: string): Promise; export declare function saveMarker(markerPath: string, marker: MigrationMarker): Promise; export declare function discoverMemoryFiles(workspaceDir: string): Promise; export declare function fileExists(path: string): Promise; export declare function safeReadFile(path: string): Promise; //# sourceMappingURL=memory-files.d.ts.map