UNPKG

next

Version:

The React Framework

5 lines (4 loc) • 403 B
import type { AgentUpgradeHandoffMethod } from '../../telemetry/events/agent-upgrade'; type UpgradePrompt = string | ((useWorktree: boolean | null) => string); export declare function handoffUpgrade(prompt: UpgradePrompt, directory: string, onHandoff: ((method: AgentUpgradeHandoffMethod, selectedAgentProduct: string | null) => void) | null): Promise<'handed_off' | 'cancelled' | 'failed'>; export {};