import type { Migration, MigrationContext, MigrationResult } from "./migration.interface.js";
/**
 * Migration: stop git-tracking the generated `.agents/plugins/marketplace.json`.
 *
 * The Codex marketplace points its plugin sources at `./node_modules/@codyswann/
 * lisa/plugins/<name>` (install-location-relative). Because `node_modules` is
 * gitignored, a *committed* copy of this manifest is broken in any checkout where
 * deps are not installed — most notably **git worktrees** and fresh clones — which
 * surfaces as a Claude Code "Plugin lisa not cached" error that `/plugins` cannot
 * fix (the files genuinely aren't on disk there).
 *
 * The fix pairs with a gitignore entry (so new projects never commit it): this
 * migration heals **existing** projects by removing the file from the index with
 * `git rm --cached` (the working copy is kept and continues to be regenerated by
 * `lisa apply`). Idempotent — once untracked, `applies` returns false. Safe in
 * non-git dirs and when the file is absent. See lisa#1366.
 */
export declare class UntrackCodexMarketplaceMigration implements Migration {
    readonly name = "untrack-codex-marketplace";
    readonly description = "Untrack the generated .agents/plugins/marketplace.json (it points into node_modules and breaks plugins in git worktrees); it is gitignored and regenerated on apply";
    /**
     * Applies when the marketplace file exists and is git-tracked.
     * @param ctx - Migration context
     * @returns True when there is work to do
     */
    applies(ctx: MigrationContext): Promise<boolean>;
    /**
     * Remove the marketplace file from the git index (keeping the working copy).
     * @param ctx - Migration context
     * @returns Result describing the action taken
     */
    apply(ctx: MigrationContext): Promise<MigrationResult>;
}
//# sourceMappingURL=untrack-codex-marketplace.d.ts.map