/**
 * `agents _callback` — the machine-only OS callback for `agents://` deep links.
 *
 *   agents _callback agents://session/<id>    resume that session in a terminal
 *
 * This is NOT a user command: humans resume with `agents sessions resume`, and
 * manage the OS URL-scheme handler with `agents setup url-scheme`. The bare-URL
 * verb exists only because a rendered artifact (plan/report) embeds
 * `agents://session/<id>` in its provenance line; clicking it hands the URL to
 * the OS, which invokes the registered handler — `agents _callback <url>`. This
 * command parses it (lib/deeplink/url.ts) and hands the session id to the
 * existing resume dispatcher, which resolves the owning host and opens the
 * terminal with the cursor in the input bar. The id is passed as argv, never
 * interpolated into a shell.
 *
 * The command is hidden. `open` is kept as a HIDDEN alias so machines whose OS
 * handler was written by an older CLI (which emitted `agents open <url>`) keep
 * resolving until `agents setup url-scheme register` re-writes the handler to the
 * `_callback` verb. Dropping `open` would break every previously-registered link.
 */
import type { Command } from 'commander';
export declare function registerOpenCommand(program: Command): void;
/**
 * Attach `register` / `unregister` / `status` subcommands that manage the
 * `agents://` OS URL-scheme handler onto `parent`. One implementation, mounted
 * both under the hidden `_callback` command (back-compat) and under the visible
 * `agents setup url-scheme` group.
 */
export declare function addUrlSchemeSubcommands(parent: Command, opts?: {
    hidden?: boolean;
}): void;
