/** * `trellis uninstall` — remove every file written by `trellis init` / `update` * from the current project, plus the `.trellis/` directory itself. * * The single source of truth for "what trellis wrote" is * `.trellis/.template-hashes.json`. Files outside that manifest are never * touched (e.g. user-added hooks under `.cursor/hooks/`). * * Manifest-listed files split into two groups: * A. Opaque content files (`.py` / `.md` / `.ts` / etc.) — unlinked outright. * B. Structured config files (settings.json / hooks.json / config.toml / * package.json) — passed through a scrubber that strips just the trellis * fields, leaving user-added neighbors intact. If the scrubber says the * file is fully empty afterwards, we delete it. * * Whether the user has modified a manifest-listed file or not, it is removed * (per the PRD: "全删"). The `.trellis/` tree is removed unconditionally. */ export interface UninstallOptions { yes?: boolean; dryRun?: boolean; } /** * Entry point. */ export declare function uninstall(options?: UninstallOptions): Promise; //# sourceMappingURL=uninstall.d.ts.map