///
import * as fs from 'fs';
export declare class CachingFileReader {
private readonly fileMap;
constructor(ttl?: number);
/**
* reads the entire contents of a file and cache it, speed up in next time of reading.
* @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
* @param options used to specified encoding
*/
readFile(path: fs.PathLike, options?: {
encoding?: string | null;
} | string): Promise;
private monitorChange;
}