/** * CronJob / CronRun ontology + defineType schemas. * @module trellis/plugins/cron/ontology */ import { z } from 'zod'; import { type InferType } from '../../schema/define.js'; import type { OntologySchema } from '../../core/ontology/types.js'; export declare const CronJobType: import("../../schema/define.js").TrellisType<"CronJob", { name: z.ZodString; enabled: z.ZodDefault; intervalMs: z.ZodNumber; handler: z.ZodString; payload: z.ZodOptional; nextRunAt: z.ZodOptional; lastRunAt: z.ZodOptional; leaseOwner: z.ZodOptional; leaseExpiresAt: z.ZodOptional; lastError: z.ZodOptional; timezone: z.ZodOptional; }, Record, Record>; export declare const CronRunType: import("../../schema/define.js").TrellisType<"CronRun", { jobId: z.ZodString; startedAt: z.ZodString; finishedAt: z.ZodString; status: z.ZodEnum<["ok", "error", "skipped"]>; error: z.ZodOptional; result: z.ZodOptional; }, Record, Record>; export type CronJob = InferType; export type CronRun = InferType; export declare const cronOntology: OntologySchema; //# sourceMappingURL=ontology.d.ts.map