import { AddOptions, InstallOptions, PruneOptions, Packager } from './packager-protocol'; export declare class NPM implements Packager { get lockfileName(): string; get copyPackageSectionNames(): never[]; get mustCopyModules(): boolean; getProdDependencies(depth: number, cwd?: string): Promise; readLockfile(lockfilePath: string): Promise; writeLockfile(lockfilePath: string, content: any): Promise; _rebaseFileReferences(pathToPackageRoot: string, moduleVersion: string): string; /** * We should not be modifying 'package-lock.json' * because this file should be treated as internal to npm. * * Rebase package-lock is a temporary workaround and must be * removed as soon as https://github.com/npm/npm/issues/19183 gets fixed. */ rebaseLockfile(pathToPackageRoot: string, lockfile: any): any; install(opts?: InstallOptions, cwd?: string): Promise; add(packages: string[], opts?: AddOptions, cwd?: string): Promise; prune(opts?: PruneOptions, cwd?: string): Promise; runScripts(scriptNames: string[], cwd?: string): Promise; } //# sourceMappingURL=npm.d.ts.map