import type { CronJob, Connector, JinnConfig } from "../shared/types.js"; import type { SessionManager } from "../sessions/manager.js"; import type { GatewayEmit } from "../shared/gateway-events.js"; export interface RunCronJobOptions { /** * Deterministic identity of *this logical fire*, owned by the caller (the * scheduler captures it once at fire time). Drives `sessionKey`/`sourceRef` as * `cron::`, so a re-invocation of the same logical fire reuses the * session *row* by sessionKey and returns the existing work item + re-stamps the * same link, rather than creating a second of either (GRS-003b-1). * * Defaults to a fresh `new Date().toISOString()` when absent, so ad-hoc callers * (manual `/cron run`, HTTP run-now) get a per-call identity — every ad-hoc call is * a new fire by definition. */ fireIso?: string; /** Gateway broadcast seam. Absent in CLI/unit contexts without a live server. */ emit?: GatewayEmit; } export declare function runCronJob(job: CronJob, sessionManager: SessionManager, config: JinnConfig, connectors: Map, opts?: RunCronJobOptions): Promise; //# sourceMappingURL=runner.d.ts.map