import type { CommandContext, CommandResult } from '../types.js'; /** * Emit a supervisor unit for `org serve`. * * Why this is an EXTERNAL supervisor and not an `--supervise` flag: the daemon * already logs every death it can observe — signals, uncaught exceptions, * unhandled rejections, and the event loop draining. The one death it cannot * observe is SIGKILL, which is what the OOM killer sends, and which is the * suspected cause of the reported disappearance (its org logs showed repeated * low-memory warnings). No in-process handler survives SIGKILL, so a daemon * that restarts itself is theatre for exactly the case that matters. Only * something outside the process can bring it back. * * launchd and systemd both already do this well, so this generates a correct * unit rather than reimplementing them. */ export declare const supervisorAction: (ctx: CommandContext) => Promise; export declare const serveAction: (ctx: CommandContext) => Promise; //# sourceMappingURL=org-serve.d.ts.map