1 | /// <reference types="node" />
|
2 | import { EventEmitter } from "events";
|
3 | import DirectoryWatcher = require("./DirectoryWatcher");
|
4 |
|
5 | declare class Watcher extends EventEmitter {
|
6 | data: number;
|
7 | directoryWatcher: DirectoryWatcher;
|
8 | path: string;
|
9 | startTime: number;
|
10 |
|
11 | constructor(directoryWatcher: DirectoryWatcher, filePath: string, startTime: number);
|
12 |
|
13 | checkStartTime(mtime: number, initial: boolean): boolean;
|
14 |
|
15 | close(): void;
|
16 | }
|
17 |
|
18 | export = Watcher;
|