import type { ClaudeCommandRunner } from "./install.js"; import { type InstallScope } from "./install-paths.js"; export type UninstallTarget = "codex" | "claude" | "grok" | "all"; export interface UninstallOptions { target: UninstallTarget; scope: InstallScope; dryRun?: boolean; cwd?: string; home?: string; /** Skip the best-effort `claude plugin uninstall` / `marketplace remove` calls. */ noPlugin?: boolean; /** Leave a running daemon alone. */ keepDaemon?: boolean; /** Runner used to invoke the `claude` CLI. Omitted -> manual instruction only. */ runClaude?: ClaudeCommandRunner; /** Best-effort daemon stop. Injected so tests never touch a real process. */ stopDaemon?: () => Promise; } export interface UninstallPlan { summary: string[]; /** Paths deleted outright. */ removed: string[]; /** Paths rewritten in place with the augment parts pruned out. */ modified: string[]; } export declare function uninstallIntegration(options: UninstallOptions): Promise;