import type { NpmOptions } from '../../interfaces/npm-controller.interface'; export declare class NpmController { private readonly registry; private npmVersion; private npmPaths; private npmRcPaths; private distTag?; private options; private useLegacyNpm; constructor({ cwd, registry, token, npmVersion, distTag, ...options }: NpmOptions); install(args: string[], deps: string[]): Promise; installWithNpmLegacy(args: string[], deps: string[]): Promise; installWithNpmLatest(args: string[], deps: string[]): Promise; publish(args: string[]): Promise; uninstall(args: string[], deps: string[]): Promise; setNpmPaths(): Promise; private getNpmPaths; private getNpmRcPaths; private runNpm; private runNpmWithRc; private runNpmCommands; private createNpmRc; private removeNpmRc; private generateNpmConfig; private runNpmProcess; private getUpdateLockFileCommand; private handleVueOverrides; private askToInstallLegacyNpm; }