/** * Embedded Runtime * * Lightweight in-process runtime for compiled photon binaries. * Provides the subset of daemon functionality needed to run standalone: * - In-process pub/sub broker (replaces daemon Unix socket broker) * - In-process cron scheduler (replaces daemon job scheduler) * * This module is bundled into the binary by Bun, so the binary * is fully self-contained — no external daemon needed. */ import type { PhotonClassExtended } from '@portel/photon-core'; /** * Embedded runtime for compiled photon binaries. * Call `start()` before `PhotonServer.start()` to wire up the in-process broker and scheduler. */ export declare class EmbeddedRuntime { private broker; private scheduler; constructor(); /** * Start the embedded runtime. * Sets the global broker so all photon pub/sub works in-process. */ start(): void; /** * Register scheduled jobs from a loaded photon's tool metadata. * Call after PhotonServer.start() once the photon is loaded. */ registerScheduledJobs(mcp: PhotonClassExtended, loader: { executeTool: (mcp: any, method: string, args: Record) => Promise; }): void; /** * Stop the runtime and clean up timers. */ stop(): void; } //# sourceMappingURL=embedded-runtime.d.ts.map