1
2
3
4
5
6
7
8
9
10
11
12
13
14
| import { EventEmitter } from 'node:events';
| import type { File, FileJSON } from "./index";
|
| declare class VolatileFile extends EventEmitter {
| constructor(properties: File);
| open(): void;
| toJSON(): FileJSON;
| toString(): string;
| write(buffer: string, cb: () => void): void;
| end(cb: () => void): void;
| destroy(): void;
| }
|
| export = VolatileFile;
|
|