import * as z from "zod/v3"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; export type AgentScheduleSpec3 = { type: "cron"; cronExpression: string; timezone?: string | undefined; }; export type AgentScheduleSpec2 = { type: "interval"; intervalSeconds: number; startAt?: Date | undefined; timezone?: string | undefined; }; export type AgentScheduleSpec1 = { type: "once"; runAt: Date; timezone?: string | undefined; }; export type AgentScheduleSpec = AgentScheduleSpec1 | AgentScheduleSpec2 | AgentScheduleSpec3; /** @internal */ export declare const AgentScheduleSpec3$inboundSchema: z.ZodType; /** @internal */ export type AgentScheduleSpec3$Outbound = { type: "cron"; cron_expression: string; timezone: string; }; /** @internal */ export declare const AgentScheduleSpec3$outboundSchema: z.ZodType; export declare function agentScheduleSpec3ToJSON(agentScheduleSpec3: AgentScheduleSpec3): string; export declare function agentScheduleSpec3FromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const AgentScheduleSpec2$inboundSchema: z.ZodType; /** @internal */ export type AgentScheduleSpec2$Outbound = { type: "interval"; interval_seconds: number; start_at?: string | undefined; timezone: string; }; /** @internal */ export declare const AgentScheduleSpec2$outboundSchema: z.ZodType; export declare function agentScheduleSpec2ToJSON(agentScheduleSpec2: AgentScheduleSpec2): string; export declare function agentScheduleSpec2FromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const AgentScheduleSpec1$inboundSchema: z.ZodType; /** @internal */ export type AgentScheduleSpec1$Outbound = { type: "once"; run_at: string; timezone: string; }; /** @internal */ export declare const AgentScheduleSpec1$outboundSchema: z.ZodType; export declare function agentScheduleSpec1ToJSON(agentScheduleSpec1: AgentScheduleSpec1): string; export declare function agentScheduleSpec1FromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const AgentScheduleSpec$inboundSchema: z.ZodType; /** @internal */ export type AgentScheduleSpec$Outbound = AgentScheduleSpec1$Outbound | AgentScheduleSpec2$Outbound | AgentScheduleSpec3$Outbound; /** @internal */ export declare const AgentScheduleSpec$outboundSchema: z.ZodType; export declare function agentScheduleSpecToJSON(agentScheduleSpec: AgentScheduleSpec): string; export declare function agentScheduleSpecFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=agentschedulespec.d.ts.map