import type { UpdateReference } from './types/types'; /** Common interface for install package results */ interface InstallPackagesResult { packagePaths: Record; cwd: string; } /** Helper function to install multiple packages by updating package.json and running npm install */ export declare function installAndUpgradePackages(options: { /** The project root path */ root: string; /** The update references containing the current and the latest version of a package */ updateReferences: Record; /** If set to true it will install the packages in temporary folders */ temporary: boolean; }): Promise; /** 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; export {};