/** * Write Stream - Memory-Efficient File Writing * * Provides streaming file write operations for large files with: * - Chunk-based writing * - Progress tracking * - Cancellation support * - Append mode support */ import { StreamOptions, StreamResult } from './read-stream.js'; export declare class WriteStream { /** * Write chunks progressively to file */ writeChunks(filePath: string, chunks: AsyncIterable, options?: StreamOptions): Promise; /** * Append chunks to existing file */ appendChunks(filePath: string, chunks: AsyncIterable, options?: StreamOptions): Promise; /** * Write buffer in chunks with progress */ writeBuffer(filePath: string, buffer: Buffer, options?: StreamOptions): Promise; /** * Copy file using streams (memory efficient) */ copyFile(sourcePath: string, destPath: string, options?: StreamOptions): Promise; } export declare const writeStream: WriteStream; //# sourceMappingURL=write-stream.d.ts.map