/****************************************************************** MIT License http://www.opensource.org/licenses/mit-license.php Author Mora (https://github.com/qiu8310) *******************************************************************/ /// export declare class ConditionalCacheableFile { private getFilePathFn; private parseFileContent?; filename?: string; cached?: boolean; private cacheableFile?; private cachedParseContent?; constructor(getFilePathFn: () => string | undefined | Promise, parseFileContent?: ((filename: string, buffer: Buffer) => any) | undefined); private getFile; private tryGetFileContent; getContent(): Promise; }