interface AutoUpdateInstallContext { installDir: string; packageJsonPath: string; } export declare function resolveInstallContext(runtimePackageJsonPath?: string | null): AutoUpdateInstallContext | null; export declare function preparePackageUpdate(version: string, packageName?: string, runtimePackageJsonPath?: string | null): string | null; export declare function runNpmInstallSafe(installDir: string, options?: { timeoutMs?: number; signal?: AbortSignal; }): Promise<{ ok: boolean; reason?: string; stderrTail?: string; }>; export {}; //# sourceMappingURL=cache.d.ts.map