import { z } from 'zod'; import type { Result } from '../../domain/result.js'; import type { ProcessRunner } from '../ports/process-runner.js'; export type UpdateError = { type: 'spawn_failed'; message: string; } | { type: 'install_failed'; exitCode: number; }; export type PackageManager = 'npm' | 'bun'; declare const schema: z.ZodObject<{}, z.core.$strict>; declare const execute: (runner: ProcessRunner, manager: PackageManager) => Promise>; export { execute, schema };