import { type ComputerRunRow } from '../lib/computer/sessions-list.js';
export interface ComputerSessionsCommandOpts {
    machine?: string;
    /** Row cap for the flat table only — the interactive picker is searchable
     *  and shows every row regardless (see `runComputerSessions`). */
    limit?: number;
    json?: boolean;
    /** Commander's `--no-interactive` convention: `false` opts out. */
    interactive?: boolean;
    /** Pre-collected fleet rows. Omitted for the local ledger path. */
    rows?: ComputerRunRow[];
}
/** True when the interactive picker should open instead of the printed table:
 *  a real TTY, no `--json`, and `--no-interactive` not set. */
export declare function shouldOpenInteractiveComputerSessions(opts: ComputerSessionsCommandOpts, isTTY: boolean): boolean;
/**
 * Shared entry point for `agents computer sessions` and `agents sessions
 * --computer`. Mirrors `runBrowserSessionsCommand`'s interactive-routing
 * split so both call sites stay in lockstep.
 */
export declare function runComputerSessionsCommand(opts: ComputerSessionsCommandOpts): Promise<void>;
