/** * `peaks worktree release` — transition a lease to 'released' and run * `git worktree remove`. * * Extracted verbatim from `worktree-lease-commands.ts` (mechanical move of * the `.action()` body). The lease-file failures now route through the * shared `loadLeaseOrStop` (same envelope, same hints, same exit code); * the idempotent already-released branch, the best-effort git removal and * the ok/fail envelopes are unchanged. */ import type { Command } from 'commander'; import { type ProgramIO } from '../cli-helpers.js'; export declare function registerWorktreeLeaseReleaseCommand(auth: Command, io: ProgramIO): void;