/**
 * `agents trash` — list and restore soft-deleted version directories.
 *
 * `removeVersion` moves a version dir to ~/.agents/.history/trash/versions/<agent>/<version>/<timestamp>/
 * instead of hard-deleting. These commands let the user inspect what's there
 * and put a soft-deleted version back. The trash never auto-expires; only
 * `rm -rf ~/.agents/.history/trash/` removes bytes from disk.
 */
import type { Command } from 'commander';
/**
 * Restore a soft-deleted version back into ~/.agents/.history/versions/.
 * Backs the top-level `agents restore` command.
 * Exits the process with a non-zero code on any failure.
 */
export declare function restoreVersion(target: string): void;
/**
 * Register the top-level `agents restore` command — a shorthand for
 * `agents restore` so users can undo a `remove`/`prune` directly.
 */
export declare function registerRestoreCommand(program: Command): void;
export declare function registerTrashCommands(program: Command): void;
