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