export interface CreateWorktreeRequest { readonly workspaceRoot: string; readonly branchPrefix: string; readonly destination: string; readonly baseRef?: string; } export interface WorktreeHandle { readonly path: string; readonly branch: string; } export declare class WorktreeError extends Error { readonly stderr: string; constructor(message: string, stderr: string); } export declare function createWorktree(request: CreateWorktreeRequest): Promise; export interface RemoveWorktreeRequest { readonly workspaceRoot: string; readonly worktreePath: string; readonly branch?: string; readonly deleteBranch?: boolean; } export declare function removeWorktree(request: RemoveWorktreeRequest): Promise; export declare function captureDiff(workspaceRoot: string, worktreePath: string): Promise; //# sourceMappingURL=worktree.d.ts.map