import type { CliContext } from '../context.js'; export interface UseOptions { /** Instant switch by restarting the session (--continue) instead of the seamless swap. */ now?: boolean; /** Target the session running in the current folder. */ here?: boolean; /** Target a specific ccx-run pid (from `ccx sessions`). */ session?: string; } /** * Set the active account. A live session moves to it (seamless, or --now * restart). With `--here` or `--session ` the switch is aimed at ONE running * session, leaving the others on their own accounts; without either it broadcasts * to whichever session is running and sets the account new sessions start on. */ export declare function useCommand(context: CliContext, name: string, opts?: UseOptions): number;