import React from 'react'; interface NewWorktreeProps { projectPath?: string; onComplete: (request: NewWorktreeRequest) => void; onCancel: () => void; } export type NewWorktreeRequest = { creationMode: 'manual'; path: string; branch: string; baseBranch: string; copySessionData: boolean; copyClaudeDirectory: boolean; } | { creationMode: 'prompt'; path: string; projectPath: string; autoDirectoryPattern?: string; baseBranch: string; presetId: string; initialPrompt: string; copySessionData: boolean; copyClaudeDirectory: boolean; branch?: never; }; declare const NewWorktree: React.FC; export default NewWorktree;