import type { ToolResult, GitConfig } from '../../types/index.js';
export declare function handleCreateBranch(projectId: string, specId: string | undefined, config?: GitConfig): Promise<ToolResult>;
export declare function handleCheckBranch(projectId: string, _specId: string | undefined, config?: GitConfig): Promise<ToolResult>;
/**
 * Auto-setup: detect git workflow, sync base branch, create feature branch.
 * Combines detectGitFlowType + resolveBaseBranch + fetch/pull + create-branch
 * into a single atomic operation for spec creation.
 */
export declare function handleAutoSetup(projectId: string, specId: string | undefined, config?: GitConfig): Promise<ToolResult>;
/**
 * Returns a structured worktree-start payload with commands/paths so the caller
 * knows exactly how to spin up an isolated Claude Code session.
 */
export declare function handleWorktreeStart(_projectId: string, specId?: string, config?: {
    customName?: string;
}): ToolResult;
/**
 * Lists all git worktrees by parsing `git worktree list --porcelain`.
 */
export declare function handleWorktreeList(projectId: string): Promise<ToolResult>;
/**
 * Returns cleanup commands for worktrees (does NOT execute them — caller runs them).
 */
export declare function handleWorktreeCleanup(_projectId: string, config?: {
    removeAll?: boolean;
    name?: string;
}): ToolResult;
//# sourceMappingURL=branch-ops.d.ts.map