export interface UninstallOptions { /** Actually delete ~/.genius-cortex (⚠️ includes the vault). Default false. */ purgeData?: boolean; /** Test override for the home directory (defaults to os.homedir()). */ home?: string; /** Test override for the Cortex data dir (defaults to getCortexDir()). */ cortexDir?: string; } export interface UninstallResult { removedMcpEntry: boolean; claudeMdCleaned: boolean; hookRemoved: boolean; dataPurged: boolean; cortexDir: string; /** True when ~/.genius-cortex/vault existed at uninstall time (drives the warning). */ vaultExisted: boolean; /** Backup paths produced by the in-place edits (for reporting). */ backups: string[]; /** Footprint the user must remove by hand (npm pkg, app, and the data dir if kept). */ manualSteps: string[]; } /** * Remove Cortex's in-place edits and — only when `purgeData` — the data dir. * Never touches the npm package or the desktop app (returned as manual steps). */ export declare function uninstall(opts?: UninstallOptions): UninstallResult;