import { WorkspaceConfig } from '../types/index.js'; /** * Create Command * * Handles workspace (worktree) creation with automatic environment setup, * dependency installation, and project metadata tracking. */ export declare class CreateCommand { private config; private paths; private configManager; private worktreeResolver; /** True when the user passed --base explicitly; suppresses auto-detection. */ private readonly baseWasExplicit; private branchResolver; private remote; private startPoint; /** Non-fatal problems collected during the run, surfaced in the summary. */ private warnings; constructor(config: WorkspaceConfig); run(): Promise; /** * Run a post-creation step, recording rather than propagating its failure. */ private runIndependently; private validateInputs; private discoverRepository; /** * Refresh remote-tracking refs before anything reads them. * * This runs *before* base-branch detection and pre-flight checks so every * later decision is made against the current state of the remote rather than * whatever the local clone last saw. */ private syncWithRemote; /** * Determine which branch to fork from, and which revision that branch is at. * * Precedence: * 1. --base passed explicitly * 2. auto-detected primary branch (unless disabled in config) * 3. preferences.defaultBaseBranch */ private resolveBaseBranch; /** * Build an actionable error listing every branch the user could have meant. */ private formatMissingBaseError; private detectRepositoryType; private showExistingWorktrees; private getRelativeTime; private getWorktreeStatus; private promptForTicketId; private calculatePaths; private runPreflightChecks; private confirmCreation; private createWorkspace; private copyEnvironmentFiles; private detectPackageManager; private installDependencies; private updateProjectMetadata; private logSuccess; private log; private handleError; } //# sourceMappingURL=create.d.ts.map