/** * In-memory storage for codebase index */ export interface CodebaseFile { path: string; content: string; size: number; mtime: number | Date; language?: string; hash: string; } export interface Storage { storeFile(file: CodebaseFile): Promise; storeFiles?(files: CodebaseFile[]): Promise; getFile(path: string): Promise; getAllFiles(): Promise; deleteFile(path: string): Promise; clear(): Promise; count(): Promise; getChunkCount?(): Promise; exists(path: string): Promise; } export declare class MemoryStorage implements Storage { private files; /** * Store a file */ storeFile(file: CodebaseFile): Promise; /** * Store multiple files (batch operation) */ storeFiles(files: CodebaseFile[]): Promise; /** * Get a file by path */ getFile(path: string): Promise; /** * Get all files */ getAllFiles(): Promise; /** * Delete a file */ deleteFile(path: string): Promise; /** * Clear all files */ clear(): Promise; /** * Get file count */ count(): Promise; /** * Check if file exists */ exists(path: string): Promise; } //# sourceMappingURL=storage.d.ts.map