/** * Helper function to: * * - delete the "node_modules" directory * - delete any package manager lock files that exist * - reinstall the dependencies using the detected package manager (defaulting to npm if there was * no detected package manager) * * This will attempt to validate that the directory is correct by looking for a "package.json" file. * If not found, this function will print an error message and exit. * * @param packageRoot The path to the directory that contains the "package.json" file and the * "node_modules" directory. If undefined is passed, the current working * directory will be used. * @returns Whether any dependencies were updated. * @throws If the "package.json" file cannot be found. */ export declare function nukeDependencies(packageRoot?: string): Promise; //# sourceMappingURL=nukeDependencies.d.ts.map