/** * * Checks if the given dependency/module is registered on npm * * @param {String} moduleName - The dependency to be checked * @returns {Promise} constant - Returns either true or false, * based on if it exists or not */ export declare function npmExists(moduleName: string): Promise; /** * * Loops through an array and checks if a package is registered * on npm and throws an error if it is not. * * @param {String[]} pkg - Array of packages to check existence of * @returns {Array} resolvePackages - Returns a process to install the packages */ export declare function npmPackagesExists(pkg: string[]): void;