import { AbstractSource } from "./abstract-source"; /** * @export * @class NPM * @implements {Source} */ export declare class NPM extends AbstractSource { constructor(paths: { data: string; temp: string; }); /** * @param {string} value * @param version * @returns {Promise} * @memberof NPM */ exists(value: string, version?: string): Promise; /** * @param {string} value * @returns {Promise} * @memberof NPM */ update(value: string): Promise; protected preparePackage(value: string, version?: string): Promise; /** * @private * @param {string} value * @returns {Promise<{ name: string; tarball: string }>} * @memberof NPM */ private getPackage; /** * @private * @param {string} source * @param {string} dest * @returns {Promise} * @memberof NPM */ private downloadPackage; /** * @private * @param {string} name * @param {string} file * @returns {Promise} * @memberof NPM */ private extractPackage; } //# sourceMappingURL=npm.d.ts.map