/** * `peaks worktree gc` — sweep released/expired leases. * * Extracted verbatim from `worktree-lease-commands.ts` (mechanical move of * the `.action()` body). The per-lease sweep is now `sweepLease`; the * `--lease-id` / `--dry-run` semantics, the expired-active transition, the * best-effort git removal + prune, the per-lease metric emit and the * ok/fail envelopes are unchanged. */ import type { Command } from 'commander'; import { type ProgramIO } from '../cli-helpers.js'; export declare function registerWorktreeLeaseGcCommand(auth: Command, io: ProgramIO): void;