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<void>;
    installWithNpmLegacy(args: string[], deps: string[]): Promise<void>;
    installWithNpmLatest(args: string[], deps: string[]): Promise<void>;
    publish(args: string[]): Promise<void>;
    uninstall(args: string[], deps: string[]): Promise<void>;
    setNpmPaths(): Promise<void>;
    private getNpmPaths;
    private getNpmRcPaths;
    private runNpm;
    private runNpmWithRc;
    private runNpmCommands;
    private createNpmRc;
    private removeNpmRc;
    private generateNpmConfig;
    private runNpmProcess;
    private getUpdateLockFileCommand;
    private handleVueOverrides;
    private askToInstallLegacyNpm;
}
