/** * @fileoverview Detect orphaned `opensip-tools/` subtrees between cwd * and the discovered project root. These are fossils from pre-discovery * runs where `opensip-tools fit` was invoked from a subdirectory and * silently scaffolded a phantom project tree at that subdir. * * Conservative: only flag directories where `opensip-tools/` contains * EXCLUSIVELY `.runtime/` (plus optional dotfiles). Any other entry * (a `fit/`, a `sim/`, a `opensip-tools.config.yml` at that level) is * treated as legitimate user content and ignored — never warned about. * * Warn-only: returns paths. Callers print warnings to stderr but never * auto-delete. Auto-deletion of anything called `opensip-tools/` would * be too dangerous to do without explicit user invocation. */ /** * Walk every ancestor between `cwd` (inclusive) and `root` (exclusive) * and return the list of paths that host a phantom `opensip-tools/`. */ export declare function detectPhantomRuntimes(cwd: string, root: string): readonly string[]; //# sourceMappingURL=phantom-detect.d.ts.map