/** * RESTART_AGENT action — gracefully restarts the agent. * * When triggered the action: * 1. Persists a "Restarting…" memory so the event is visible in logs * 2. Returns a brief restart notice to the caller * 3. After a short delay (so the response can flush), invokes * {@link requestRestart} which delegates to the registered * {@link RestartHandler}. * * In CLI mode the default handler exits with code 75 so the runner script * rebuilds and relaunches. In headless / Electron mode a custom handler * performs an in-process restart (stop → re-init → hot-swap references). * * @module actions/restart */ import type { Action } from "@elizaos/core"; export declare const restartAction: Action; //# sourceMappingURL=restart.d.ts.map