import type { PathLike } from 'fs'; /** * @internal */ export declare function findProjectRoot(path: string, lastPath?: string): string; /** * Read a JSON file from the file system. * @param path - The path to the JSON file. * @returns An object parsed from the JSON file. */ export declare function readJSON(path: PathLike): { [key: string]: any; };