import { z } from "zod"; export declare const ScheduleStatusSchema: z.ZodEnum<{ completed: "completed"; active: "active"; paused: "paused"; }>; export type ScheduleStatus = z.infer; export declare const ScheduleCadenceSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{ type: z.ZodLiteral<"every">; everyMs: z.ZodNumber; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"cron">; expression: z.ZodString; timezone: z.ZodOptional; }, z.core.$strip>], "type">; export type ScheduleCadence = z.infer; export declare const ScheduleTargetSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{ type: z.ZodLiteral<"agent">; agentId: z.ZodGUID; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"new-agent">; config: z.ZodObject<{ provider: z.ZodString; cwd: z.ZodString; modeId: z.ZodOptional; model: z.ZodOptional; thinkingOptionId: z.ZodOptional; archiveOnFinish: z.ZodOptional; isolation: z.ZodOptional>; title: z.ZodOptional>; providerOptions: z.ZodOptional>; featureValues: z.ZodOptional>; systemPrompt: z.ZodOptional; mcpServers: z.ZodOptional>; }, z.core.$strip>; }, z.core.$strip>], "type">; export type ScheduleTarget = z.infer; export declare const ScheduleRunSchema: z.ZodObject<{ id: z.ZodString; scheduledFor: z.ZodString; startedAt: z.ZodString; endedAt: z.ZodNullable; status: z.ZodEnum<{ running: "running"; failed: "failed"; succeeded: "succeeded"; }>; agentId: z.ZodNullable; workspaceId: z.ZodOptional>; output: z.ZodNullable; error: z.ZodNullable; }, z.core.$strip>; export type ScheduleRun = z.infer; export declare const StoredScheduleSchema: z.ZodObject<{ id: z.ZodString; name: z.ZodNullable; prompt: z.ZodString; cadence: z.ZodDiscriminatedUnion<[z.ZodObject<{ type: z.ZodLiteral<"every">; everyMs: z.ZodNumber; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"cron">; expression: z.ZodString; timezone: z.ZodOptional; }, z.core.$strip>], "type">; target: z.ZodDiscriminatedUnion<[z.ZodObject<{ type: z.ZodLiteral<"agent">; agentId: z.ZodGUID; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"new-agent">; config: z.ZodObject<{ provider: z.ZodString; cwd: z.ZodString; modeId: z.ZodOptional; model: z.ZodOptional; thinkingOptionId: z.ZodOptional; archiveOnFinish: z.ZodOptional; isolation: z.ZodOptional>; title: z.ZodOptional>; providerOptions: z.ZodOptional>; featureValues: z.ZodOptional>; systemPrompt: z.ZodOptional; mcpServers: z.ZodOptional>; }, z.core.$strip>; }, z.core.$strip>], "type">; status: z.ZodEnum<{ completed: "completed"; active: "active"; paused: "paused"; }>; createdAt: z.ZodString; updatedAt: z.ZodString; nextRunAt: z.ZodNullable; lastRunAt: z.ZodNullable; pausedAt: z.ZodNullable; expiresAt: z.ZodNullable; maxRuns: z.ZodNullable; runs: z.ZodArray; status: z.ZodEnum<{ running: "running"; failed: "failed"; succeeded: "succeeded"; }>; agentId: z.ZodNullable; workspaceId: z.ZodOptional>; output: z.ZodNullable; error: z.ZodNullable; }, z.core.$strip>>; }, z.core.$strip>; export type StoredSchedule = z.infer; export declare const ScheduleSummarySchema: z.ZodObject<{ name: z.ZodNullable; id: z.ZodString; status: z.ZodEnum<{ completed: "completed"; active: "active"; paused: "paused"; }>; createdAt: z.ZodString; updatedAt: z.ZodString; cadence: z.ZodDiscriminatedUnion<[z.ZodObject<{ type: z.ZodLiteral<"every">; everyMs: z.ZodNumber; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"cron">; expression: z.ZodString; timezone: z.ZodOptional; }, z.core.$strip>], "type">; target: z.ZodDiscriminatedUnion<[z.ZodObject<{ type: z.ZodLiteral<"agent">; agentId: z.ZodGUID; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"new-agent">; config: z.ZodObject<{ provider: z.ZodString; cwd: z.ZodString; modeId: z.ZodOptional; model: z.ZodOptional; thinkingOptionId: z.ZodOptional; archiveOnFinish: z.ZodOptional; isolation: z.ZodOptional>; title: z.ZodOptional>; providerOptions: z.ZodOptional>; featureValues: z.ZodOptional>; systemPrompt: z.ZodOptional; mcpServers: z.ZodOptional>; }, z.core.$strip>; }, z.core.$strip>], "type">; prompt: z.ZodString; nextRunAt: z.ZodNullable; lastRunAt: z.ZodNullable; pausedAt: z.ZodNullable; expiresAt: z.ZodNullable; maxRuns: z.ZodNullable; }, z.core.$strip>; export type ScheduleSummary = z.infer; export interface CreateScheduleInput { name?: string | null; prompt: string; cadence: ScheduleCadence; target: ScheduleTarget; maxRuns?: number | null; expiresAt?: string | null; runOnCreate?: boolean | null; } export interface UpdateScheduleNewAgentConfig { provider?: string; model?: string | null; modeId?: string | null; thinkingOptionId?: string | null; archiveOnFinish?: boolean; isolation?: "local" | "worktree"; cwd?: string; } export interface UpdateScheduleInput { id: string; name?: string | null; prompt?: string; cadence?: ScheduleCadence; newAgentConfig?: UpdateScheduleNewAgentConfig; maxRuns?: number | null; expiresAt?: string | null; } export interface ScheduleExecutionResult { agentId: string | null; output: string | null; } //# sourceMappingURL=types.d.ts.map