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