import type { AgentScheduleConfig, ScheduleConfig, ScheduleDefinition } from "./types.js"; /** * Validate and normalize a source-defined schedule configuration. * * The schedule uses a bounded five-field POSIX cron expression. Month and * weekday names are accepted, timezones must be recognized IANA names, and * the `cron` alias is converted to the canonical `schedule` field. Invalid * top-level or nested fields fail with `schedule-config-invalid`. * * Agent targets accept `conversationMode`, `conversationId`, and * `agentMessage.prompt`. Task and workflow targets reject all three fields. */ export declare function schedule(config: AgentScheduleConfig): ScheduleDefinition; export declare function schedule(config: ScheduleConfig & { agentMessage?: never; }): ScheduleDefinition; //# sourceMappingURL=factory.d.ts.map