import type { ToolResult, GitConfig, SpecDoneCleanupResult } from '../../types/index.js';
/**
 * AC-02: Eliminate gone branches + remote prune.
 * AC-03: List stale stashes (>7d); drop if force=true.
 * AC-05: Idempotent.
 * AC-06: Never deletes active branch or current HEAD.
 * AC-07: Returns detailed report.
 */
export declare function handleCleanup(projectId: string, config?: GitConfig): Promise<ToolResult>;
/**
 * AC-01: When a spec is marked done, clean its worktree, local branch, and remote branch.
 * Best-effort — never throws. Caller should fire-and-forget or log result.
 */
export declare function cleanupSpecOnDone(projectPath: string, specId: string, gitBranch: string | undefined): Promise<SpecDoneCleanupResult>;
//# sourceMappingURL=cleanup-ops.d.ts.map