/**
 * `instar nuke <name>` — Completely remove a standalone agent.
 *
 * Cleans up ALL artifacts:
 *   1. Stop the running server (tmux session)
 *   2. Remove auto-start (launchd/systemd)
 *   3. Push any uncommitted changes to git remote (if configured)
 *   4. Remove from agent registry
 *   5. Delete the agent directory
 *
 * Safety:
 *   - Requires explicit confirmation (unless --yes)
 *   - Pushes to git remote before deletion (preserves cloud backup)
 *   - Shows exactly what will be removed before proceeding
 *   - Only works on standalone agents (not project-bound)
 */
interface NukeOptions {
    skipConfirm?: boolean;
}
interface NukeHereOptions {
    dir?: string;
    skipConfirm?: boolean;
}
export declare function nukeAgent(name: string, options?: NukeOptions): Promise<void>;
/**
 * `instar nuke --here` — Remove the project-local instar install in cwd.
 *
 * Sibling of nukeAgent for project-bound installs (the result of
 * `npx instar setup` inside a project directory). See
 * `specs/dev-infrastructure/nuke-here.md` for the full design.
 */
export declare function nukeHere(options?: NukeHereOptions): Promise<void>;
/**
 * Returns true when `dir` is the instar source repo (package.json name ===
 * "instar" AND src/cli.ts is present). Conservative — must match BOTH to
 * avoid false positives in projects that happen to be named "instar."
 */
export declare function isInstarSourceRepo(dir: string): boolean;
/**
 * Classifies an identity-shadow file (CLAUDE.md / AGENTS.md / GEMINI.md)
 * for `nuke --here` disposition:
 *   - 'keep'    — tracked by git at HEAD with no working-tree diff (pre-existing)
 *   - 'restore' — tracked by git at HEAD with a diff (instar modified)
 *   - 'delete'  — not tracked, or not in a git repo (instar created)
 *
 * Exported for unit testing.
 */
export declare function classifyShadowFile(dir: string, relPath: string, isGitRepo: boolean): 'keep' | 'restore' | 'delete';
export {};
//# sourceMappingURL=nuke.d.ts.map