export interface ServeOptions { queuePath?: string; cliPath: string; failFast?: boolean; } export interface JobInput { cmd: string; args?: string[]; project?: string; } export interface JobResult { ok: boolean; cmd: string; args: string[]; status: number | null; stdout?: unknown; stderr?: string; } /** * Stateless JSONL queue runner. Reads {cmd, args, project} jobs from either a * file or stdin, dispatches each to the existing CLI, writes one JSONL result * line per job to stdout. No daemon, no port, no shared state — the process * exits when the queue drains. * * This unlocks n8n / Coze / Make / cron without becoming a stateful service. */ export declare function serveQueue(opts: ServeOptions): Promise<{ succeeded: number; failed: number; }>;