import type { Application } from '@atlex/core'; /** * In-memory storage fake with assertion helpers. */ export declare class StorageFake { private readonly driver; private constructor(); /** * Replace a disk with an isolated memory driver. * * @param app - Application with `storage` bound. * @param disk - Disk name (default disk when omitted). * @returns Fake for assertions. */ static fake(app: Application, disk?: string): StorageFake; /** * Assert a file exists on the fake disk. * * @param path - Relative path. */ assertExists(path: string): Promise; /** * Assert a file is missing. * * @param path - Relative path. */ assertMissing(path: string): Promise; /** * Assert file count under a directory prefix (non-recursive file list). * * @param directory - Directory prefix. * @param count - Expected count from {@link MemoryDriver.files}. */ assertCount(directory: string, count: number): Promise; /** * Assert total stored file keys (all prefixes). * * @param count - Expected number of files. */ assertTotalCount(count: number): Promise; /** * Assert a directory exists (has child entries or explicit empty dir). * * @param path - Directory path. */ assertDirectoryExists(path: string): Promise; /** * Assert no files exist under a directory prefix. * * @param path - Directory path. */ assertDirectoryMissing(path: string): Promise; /** * All stored paths. * * @returns Relative paths. */ allFiles(): Promise; /** * Clear memory driver contents. */ flush(): Promise; } //# sourceMappingURL=StorageFake.d.ts.map