import type { SupportedPackageManager } from '../utils/package-manager';
import type { UpdateReference } from './types/types';
/** Helper function to install multiple packages by updating package.json and running npm install */
export declare function installPackages(options: {
    /** The project root path */
    root: string;
    /** The update references containing the current and the latest version of a package */
    updateReferences: Record<string, UpdateReference>;
    /** The package manager */
    packageManager: SupportedPackageManager;
    /** If set to true it will install the packages in temporary folders */
    temporary: boolean;
}): Promise<{
    packagePaths: Record<string, string>;
    cwd: string;
}>;
/** Copies npmrc from one folder to another */
export declare function copyNpmrc(srcFolder: string, destFolder: string): void;
/** Updates the passed dependency object using the provided update object */
export declare function updateDependencies(dependencies: {
    [key: string]: string;
}, updates: {
    [key: string]: string;
}): void;
