/** * Entry point for the `run` command. Splits into two roles for self-healing: * * - SUPERVISOR (default): a thin parent that spawns the real agent as a worker * and force-restarts it if its event loop wedges (see supervisor.ts). * - WORKER (AIC_ROLE=worker): the actual agent — registers, connects, executes, * and stamps a heartbeat the supervisor watches. * * The supervisor sets AIC_ROLE=worker when spawning, so re-execing the binary * lands in the worker branch. */ export declare function startAgent(opts?: { force?: boolean; }): Promise; /** Run the agent: register with the relay, show the session code, and listen for commands. */ export declare function runAgent(): Promise;