1 | import { EventEmitter } from "events";
|
2 | import { File, FileJSON } from "./";
|
3 |
|
4 | declare class PersistentFile 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 = PersistentFile;
|