/** * @deprecated use findFirstParentModulePath instead */ export declare function detectModuleRootPath(moduleName: string, deepLimit?: number, basePath?: string): string | null; /** * Looks for package.json file in current working directory and parent directories. * Returns first path, where package.json was found. */ export declare function findFirstParentModulePath(basePath?: string, deepLimit?: number): string | null;