/**
 * `agents sessions attach <id>` — bring a backgrounded (or parked) agent session
 * back to the foreground: stop its headless continuation, then resume it
 * interactively in this terminal. The resume is version-pinned native resume
 * (claude/codex) or a `/continue` replay (others) — the same session, full
 * history, the exact inverse of `agents sessions detach`.
 */
import type { Command } from 'commander';
import type { SessionMeta } from '../lib/session/types.js';
export declare function registerAttachCommand(program: Command): void;
export declare function attachAction(id: string): Promise<void>;
export declare function attachRecoveryArgs(session: Pick<SessionMeta, 'id'>): string[];
