/** * Copyright (c) 2026, Salesforce, Inc., * All rights reserved. * For full license text, see the LICENSE.txt file */ import type { FileCopySchema, InstallationContext } from "./types.js"; /** * Install a single npm package and ensure it's saved to package.json. * npm output is suppressed by default; shown on verbose or error. */ export declare function installPackage(packageName: string, isDev: boolean, uiBundleDir: string, dryRun?: boolean, verbose?: boolean): Promise; /** * Install package dependencies from schema. * Merges dependencies into package.json and runs npm install with a spinner. */ export declare function installPackageDependencies(schema: FileCopySchema, context: InstallationContext): Promise; /** * Check if a package is already installed and listed in package.json * This ensures the package won't be removed by subsequent npm install commands */ export declare function isPackageInstalled(packageName: string, uiBundleDir: string): boolean; //# sourceMappingURL=package-manager.d.ts.map