/** * Explore command - Multi-agent parallel exploration * * Enables multiple AI agents to explore different solution approaches simultaneously */ import type { CommandAdapter } from '../command-adapter.interface.js'; import { WorktreeManager } from '../../exploration/worktree-manager.js'; import { type Spinner } from '../../ui/spinner-adapter.interface.js'; /** * Clean up leftover worktrees and branches when exploration state is already gone. * Exported for direct unit testing — this function previously interpolated * `explorationId` into a raw shell command string (CWE-78); it now validates * the ID and lists branches via `WorktreeManager.listBranchesByPrefix()`'s * array-form, no-shell exec instead. */ export declare function cleanupLeftoverBranches(explorationId: string, worktreeManager: WorktreeManager, loading: Spinner): Promise; /** * Configure explore command and all subcommands */ export declare function configureExploreCommand(program: CommandAdapter): void; //# sourceMappingURL=explore.d.ts.map