import type { IR } from '../../ir.js'; import type { ProjectionArtifact, ProjectionDiagnostic } from '../interface.js'; export type ScheduleGeneratorOptions = { runtimeImportPath: string; /** Next.js app dir (e.g. 'app/api'); cron routes land under `${appDir}/cron/...`. */ appDir: string; }; /** * Emit the Next.js cron routes for a program's schedules plus the maintenance * routes it needs (approval expiry, async-job drain), and a single vercel.json * that registers them all so Vercel invokes them on schedule — no separate cron * script to host. Non-Vercel hosts run `startScheduleWorker` from * `@angriff36/manifest/schedule-worker` instead. */ export declare function generateScheduleCronRoutes(ir: IR, options: ScheduleGeneratorOptions): { artifacts: ProjectionArtifact[]; diagnostics: ProjectionDiagnostic[]; }; //# sourceMappingURL=schedule-generator.d.ts.map