/**
 * `agents tmux` — terminal multiplexer integration.
 *
 * Why this exists: the swarmify VS Code extension was hand-rolling tmux
 * commands with brittle shell escaping (`extension/src/vscode/tmux.ts`).
 * Lifting the orchestration into the CLI gives one source of truth that the
 * extension, raw shells, `agents teams`, routines, and the Swarm MCP can all
 * call into.
 *
 * Surface mirrors `agents pty`:
 *   agents tmux check
 *   agents tmux new <name>     [--cmd ...] [--cwd DIR] [--replace] [--attach-existing] [--source S]
 *   agents tmux attach <name>
 *   agents tmux list [--json]
 *   agents tmux has <name>
 *   agents tmux split <name> <h|v> [--cmd ...] [--cwd DIR]
 *   agents tmux send <name>[:pane] <keys> [--no-enter] [--raw]
 *   agents tmux capture <name>[:pane] [--lines N] [--ansi]
 *   agents tmux info <name>    [--json]
 *   agents tmux kill [name]    no name → picker with live pane preview
 *   agents tmux kill-all       [--yes]
 */
import type { Command } from 'commander';
import { type ListedSession } from '../lib/tmux/index.js';
/** Register the `agents tmux` command tree. */
export declare function registerTmuxCommands(program: Command): void;
/** Last useful line of a pane capture — what `tmux ls` shows so a name isn't a black box. */
export declare function tmuxScreenSnippet(raw: string, max?: number): string;
/** Last non-empty lines of a pane capture, for the kill-picker preview. */
export declare function tmuxScreenPreview(raw: string, maxLines?: number): string;
export declare function formatTmuxKillLabel(s: ListedSession, snippet: string, nowMs?: number): string;
export declare function formatTmuxKillPreview(s: ListedSession, raw: string, nowMs?: number): string;
