import { type FileSystem, type Writer } from './file-system';
/**
 * A file system that writes files to in-memory buffers.
 *
 * Useful for generating output without writing to disk, such as when
 * creating data for download or further processing.
 *
 * @example
 * ```ts
 * const fs = new MemoryFileSystem();
 * await writeFile({ filename: 'output.ply', ... }, fs);
 *
 * // Get the generated data
 * const data = fs.results.get('output.ply');
 * ```
 */
declare class MemoryFileSystem implements FileSystem {
    results: Map<string, Uint8Array>;
    createWriter(filename: string): Writer;
    mkdir(_path: string): Promise<void>;
}
export { MemoryFileSystem };
