import type { DoctorCheck } from "./doctor.js";
/**
 * Detect the retired pre-2.198 project-level Codex overlay. Lisa now delivers
 * Codex hooks and skills through the repository plugin marketplace
 * (`.agents/plugins/marketplace.json` → `node_modules`), and postinstall
 * applies deliberately skip agent emits — so a committed legacy overlay is
 * never cleaned up automatically. Fresh clones/worktrees then load stale
 * hooks/skills from it, and a later explicit apply retires them out from
 * under whatever session is running (exit-127 hooks, vanished skills — the
 * incident behind CodySwannGT/lisa#1632).
 * @param targetPath - Project path to inspect
 * @returns Doctor check result
 */
export declare function checkLegacyCodexOverlay(targetPath: string): DoctorCheck;
//# sourceMappingURL=doctor-legacy-overlay.d.ts.map