/// import * as fs from 'fs'; /** * @ignore */ export declare class PackageDetector { readonly packageCache: Map; getRootOf(directory: string): string; getInfo(rootDir: string): any; getCallerFile(position?: number): any; readdirSync(dirPath: fs.PathLike): string[]; readFileSync(filePath: fs.PathLike, options: { encoding: 'utf8'; }): string; }