/** Resolve npm's JS entry point so a Windows .cmd never needs shell evaluation. */ export declare function findNpm(runtime: string): string; export declare function runNpm(runtime: string, npm: string, args: string[], cwd?: string): string; /** Copy all helper modules before either the app or the active CLI is replaced. */ export declare function stageUpdateCode(entrypoint: string, directory: string): string; export interface StagedCli { version: string; archive: string; packageRoot: string; } export declare function stageCliPackage(runtime: string, npm: string, requested: string, directory: string): StagedCli; /** Commit a managed version pin and rewrite the current shim immediately. */ export declare function activateManagedCli(paneDir: string, version: string, entrypoint: string, runtime: string): void; //# sourceMappingURL=updatePackage.d.ts.map