import type { StorageProvider, StorageStats } from './storage-provider.js'; /** * InMemoryStorageProvider — test-friendly StorageProvider backed by a Map. * * No filesystem access. All paths are normalized to forward-slash POSIX form. * Useful for unit tests and DI scenarios where real I/O is undesirable. */ export declare class InMemoryStorageProvider implements StorageProvider { private files; /** Track write timestamps for stat(). Key = normalized path, value = epoch ms. */ private mtimes; private norm; read(filePath: string): Promise; write(filePath: string, data: string): Promise; append(filePath: string, data: string): Promise; exists(filePath: string): Promise; list(dirPath: string): Promise; delete(filePath: string): Promise; deleteDir(dirPath: string): Promise; isDirectory(targetPath: string): Promise; mkdir(dirPath: string, _options?: { recursive?: boolean; }): Promise; rename(oldPath: string, newPath: string): Promise; copy(srcPath: string, destPath: string): Promise; stat(targetPath: string): Promise; readSync(filePath: string): string | undefined; writeSync(filePath: string, data: string): void; existsSync(filePath: string): boolean; listSync(dirPath: string): string[]; isDirectorySync(targetPath: string): boolean; mkdirSync(_dirPath: string, _options?: { recursive?: boolean; }): void; statSync(targetPath: string): StorageStats | undefined; appendSync(filePath: string, data: string): void; deleteSync(filePath: string): void; renameSync(oldPath: string, newPath: string): void; copySync(srcPath: string, destPath: string): void; deleteDirSync(dirPath: string): void; /** Return a shallow copy of the internal state for test assertions. */ snapshot(): Map; /** Reset all stored files. */ clear(): void; } //# sourceMappingURL=in-memory-storage-provider.d.ts.map