import { z } from "zod"; export declare const routineVariableSchema: z.ZodEffects>; type: z.ZodDefault>>; defaultValue: z.ZodNullable>>; required: z.ZodDefault>; options: z.ZodDefault>>; }, "strip", z.ZodTypeAny, { name: string; required: boolean; options: string[]; type: "number" | "boolean" | "text" | "textarea" | "select"; label?: string | null | undefined; defaultValue?: string | number | boolean | null | undefined; }, { name: string; label?: string | null | undefined; required?: boolean | undefined; options?: string[] | undefined; type?: "number" | "boolean" | "text" | "textarea" | "select" | undefined; defaultValue?: string | number | boolean | null | undefined; }>, { name: string; required: boolean; options: string[]; type: "number" | "boolean" | "text" | "textarea" | "select"; label?: string | null | undefined; defaultValue?: string | number | boolean | null | undefined; }, { name: string; label?: string | null | undefined; required?: boolean | undefined; options?: string[] | undefined; type?: "number" | "boolean" | "text" | "textarea" | "select" | undefined; defaultValue?: string | number | boolean | null | undefined; }>; export declare const createRoutineSchema: z.ZodObject<{ projectId: z.ZodNullable>; goalId: z.ZodNullable>; parentIssueId: z.ZodNullable>; title: z.ZodString; description: z.ZodNullable>; assigneeAgentId: z.ZodNullable>; priority: z.ZodDefault>>; status: z.ZodDefault>>; concurrencyPolicy: z.ZodDefault>>; catchUpPolicy: z.ZodDefault>>; variables: z.ZodDefault>; type: z.ZodDefault>>; defaultValue: z.ZodNullable>>; required: z.ZodDefault>; options: z.ZodDefault>>; }, "strip", z.ZodTypeAny, { name: string; required: boolean; options: string[]; type: "number" | "boolean" | "text" | "textarea" | "select"; label?: string | null | undefined; defaultValue?: string | number | boolean | null | undefined; }, { name: string; label?: string | null | undefined; required?: boolean | undefined; options?: string[] | undefined; type?: "number" | "boolean" | "text" | "textarea" | "select" | undefined; defaultValue?: string | number | boolean | null | undefined; }>, { name: string; required: boolean; options: string[]; type: "number" | "boolean" | "text" | "textarea" | "select"; label?: string | null | undefined; defaultValue?: string | number | boolean | null | undefined; }, { name: string; label?: string | null | undefined; required?: boolean | undefined; options?: string[] | undefined; type?: "number" | "boolean" | "text" | "textarea" | "select" | undefined; defaultValue?: string | number | boolean | null | undefined; }>, "many">>>; env: z.ZodNullable; value: z.ZodString; }, "strip", z.ZodTypeAny, { value: string; type: "plain"; }, { value: string; type: "plain"; }>, z.ZodObject<{ type: z.ZodLiteral<"secret_ref">; secretId: z.ZodString; version: z.ZodOptional, z.ZodNumber]>>; }, "strip", z.ZodTypeAny, { secretId: string; type: "secret_ref"; version?: number | "latest" | undefined; }, { secretId: string; type: "secret_ref"; version?: number | "latest" | undefined; }>]>>>>; }, "strip", z.ZodTypeAny, { title: string; status: "active" | "paused" | "archived"; priority: "critical" | "high" | "medium" | "low"; concurrencyPolicy: "coalesce_if_active" | "always_enqueue" | "skip_if_active"; catchUpPolicy: "skip_missed" | "enqueue_missed_with_cap"; variables: { name: string; required: boolean; options: string[]; type: "number" | "boolean" | "text" | "textarea" | "select"; label?: string | null | undefined; defaultValue?: string | number | boolean | null | undefined; }[]; description?: string | null | undefined; projectId?: string | null | undefined; assigneeAgentId?: string | null | undefined; goalId?: string | null | undefined; parentIssueId?: string | null | undefined; env?: Record | null | undefined; }, { title: string; description?: string | null | undefined; status?: "active" | "paused" | "archived" | undefined; projectId?: string | null | undefined; priority?: "critical" | "high" | "medium" | "low" | undefined; assigneeAgentId?: string | null | undefined; goalId?: string | null | undefined; parentIssueId?: string | null | undefined; concurrencyPolicy?: "coalesce_if_active" | "always_enqueue" | "skip_if_active" | undefined; catchUpPolicy?: "skip_missed" | "enqueue_missed_with_cap" | undefined; variables?: { name: string; label?: string | null | undefined; required?: boolean | undefined; options?: string[] | undefined; type?: "number" | "boolean" | "text" | "textarea" | "select" | undefined; defaultValue?: string | number | boolean | null | undefined; }[] | undefined; env?: Record | null | undefined; }>; export type CreateRoutine = z.infer; export declare const updateRoutineSchema: z.ZodObject<{ projectId: z.ZodOptional>>; goalId: z.ZodOptional>>; parentIssueId: z.ZodOptional>>; title: z.ZodOptional; description: z.ZodOptional>>; assigneeAgentId: z.ZodOptional>>; priority: z.ZodOptional>>>; status: z.ZodOptional>>>; concurrencyPolicy: z.ZodOptional>>>; catchUpPolicy: z.ZodOptional>>>; variables: z.ZodOptional>; type: z.ZodDefault>>; defaultValue: z.ZodNullable>>; required: z.ZodDefault>; options: z.ZodDefault>>; }, "strip", z.ZodTypeAny, { name: string; required: boolean; options: string[]; type: "number" | "boolean" | "text" | "textarea" | "select"; label?: string | null | undefined; defaultValue?: string | number | boolean | null | undefined; }, { name: string; label?: string | null | undefined; required?: boolean | undefined; options?: string[] | undefined; type?: "number" | "boolean" | "text" | "textarea" | "select" | undefined; defaultValue?: string | number | boolean | null | undefined; }>, { name: string; required: boolean; options: string[]; type: "number" | "boolean" | "text" | "textarea" | "select"; label?: string | null | undefined; defaultValue?: string | number | boolean | null | undefined; }, { name: string; label?: string | null | undefined; required?: boolean | undefined; options?: string[] | undefined; type?: "number" | "boolean" | "text" | "textarea" | "select" | undefined; defaultValue?: string | number | boolean | null | undefined; }>, "many">>>>; env: z.ZodOptional; value: z.ZodString; }, "strip", z.ZodTypeAny, { value: string; type: "plain"; }, { value: string; type: "plain"; }>, z.ZodObject<{ type: z.ZodLiteral<"secret_ref">; secretId: z.ZodString; version: z.ZodOptional, z.ZodNumber]>>; }, "strip", z.ZodTypeAny, { secretId: string; type: "secret_ref"; version?: number | "latest" | undefined; }, { secretId: string; type: "secret_ref"; version?: number | "latest" | undefined; }>]>>>>>; } & { baseRevisionId: z.ZodNullable>; }, "strip", z.ZodTypeAny, { title?: string | undefined; description?: string | null | undefined; status?: "active" | "paused" | "archived" | undefined; projectId?: string | null | undefined; priority?: "critical" | "high" | "medium" | "low" | undefined; assigneeAgentId?: string | null | undefined; goalId?: string | null | undefined; parentIssueId?: string | null | undefined; baseRevisionId?: string | null | undefined; concurrencyPolicy?: "coalesce_if_active" | "always_enqueue" | "skip_if_active" | undefined; catchUpPolicy?: "skip_missed" | "enqueue_missed_with_cap" | undefined; variables?: { name: string; required: boolean; options: string[]; type: "number" | "boolean" | "text" | "textarea" | "select"; label?: string | null | undefined; defaultValue?: string | number | boolean | null | undefined; }[] | undefined; env?: Record | null | undefined; }, { title?: string | undefined; description?: string | null | undefined; status?: "active" | "paused" | "archived" | undefined; projectId?: string | null | undefined; priority?: "critical" | "high" | "medium" | "low" | undefined; assigneeAgentId?: string | null | undefined; goalId?: string | null | undefined; parentIssueId?: string | null | undefined; baseRevisionId?: string | null | undefined; concurrencyPolicy?: "coalesce_if_active" | "always_enqueue" | "skip_if_active" | undefined; catchUpPolicy?: "skip_missed" | "enqueue_missed_with_cap" | undefined; variables?: { name: string; label?: string | null | undefined; required?: boolean | undefined; options?: string[] | undefined; type?: "number" | "boolean" | "text" | "textarea" | "select" | undefined; defaultValue?: string | number | boolean | null | undefined; }[] | undefined; env?: Record | null | undefined; }>; export type UpdateRoutine = z.infer; export declare const routineRevisionSnapshotRoutineV1Schema: z.ZodObject<{ id: z.ZodString; companyId: z.ZodString; projectId: z.ZodNullable; goalId: z.ZodNullable; parentIssueId: z.ZodNullable; title: z.ZodString; description: z.ZodNullable; assigneeAgentId: z.ZodNullable; priority: z.ZodEnum<["critical", "high", "medium", "low"]>; status: z.ZodEnum<["active", "paused", "archived"]>; concurrencyPolicy: z.ZodEnum<["coalesce_if_active", "always_enqueue", "skip_if_active"]>; catchUpPolicy: z.ZodEnum<["skip_missed", "enqueue_missed_with_cap"]>; variables: z.ZodArray>; type: z.ZodDefault>>; defaultValue: z.ZodNullable>>; required: z.ZodDefault>; options: z.ZodDefault>>; }, "strip", z.ZodTypeAny, { name: string; required: boolean; options: string[]; type: "number" | "boolean" | "text" | "textarea" | "select"; label?: string | null | undefined; defaultValue?: string | number | boolean | null | undefined; }, { name: string; label?: string | null | undefined; required?: boolean | undefined; options?: string[] | undefined; type?: "number" | "boolean" | "text" | "textarea" | "select" | undefined; defaultValue?: string | number | boolean | null | undefined; }>, { name: string; required: boolean; options: string[]; type: "number" | "boolean" | "text" | "textarea" | "select"; label?: string | null | undefined; defaultValue?: string | number | boolean | null | undefined; }, { name: string; label?: string | null | undefined; required?: boolean | undefined; options?: string[] | undefined; type?: "number" | "boolean" | "text" | "textarea" | "select" | undefined; defaultValue?: string | number | boolean | null | undefined; }>, "many">; env: z.ZodDefault; value: z.ZodString; }, "strip", z.ZodTypeAny, { value: string; type: "plain"; }, { value: string; type: "plain"; }>, z.ZodObject<{ type: z.ZodLiteral<"secret_ref">; secretId: z.ZodString; version: z.ZodOptional, z.ZodNumber]>>; }, "strip", z.ZodTypeAny, { secretId: string; type: "secret_ref"; version?: number | "latest" | undefined; }, { secretId: string; type: "secret_ref"; version?: number | "latest" | undefined; }>]>>>>; }, "strict", z.ZodTypeAny, { title: string; description: string | null; companyId: string; status: "active" | "paused" | "archived"; id: string; projectId: string | null; priority: "critical" | "high" | "medium" | "low"; assigneeAgentId: string | null; goalId: string | null; parentIssueId: string | null; concurrencyPolicy: "coalesce_if_active" | "always_enqueue" | "skip_if_active"; catchUpPolicy: "skip_missed" | "enqueue_missed_with_cap"; variables: { name: string; required: boolean; options: string[]; type: "number" | "boolean" | "text" | "textarea" | "select"; label?: string | null | undefined; defaultValue?: string | number | boolean | null | undefined; }[]; env: Record | null; }, { title: string; description: string | null; companyId: string; status: "active" | "paused" | "archived"; id: string; projectId: string | null; priority: "critical" | "high" | "medium" | "low"; assigneeAgentId: string | null; goalId: string | null; parentIssueId: string | null; concurrencyPolicy: "coalesce_if_active" | "always_enqueue" | "skip_if_active"; catchUpPolicy: "skip_missed" | "enqueue_missed_with_cap"; variables: { name: string; label?: string | null | undefined; required?: boolean | undefined; options?: string[] | undefined; type?: "number" | "boolean" | "text" | "textarea" | "select" | undefined; defaultValue?: string | number | boolean | null | undefined; }[]; env?: Record | null | undefined; }>; export declare const routineRevisionSnapshotTriggerV1Schema: z.ZodObject<{ id: z.ZodString; kind: z.ZodEnum<["schedule", "webhook", "api"]>; label: z.ZodNullable; enabled: z.ZodBoolean; cronExpression: z.ZodNullable; timezone: z.ZodNullable; publicId: z.ZodNullable; signingMode: z.ZodNullable>; replayWindowSec: z.ZodNullable; }, "strict", z.ZodTypeAny, { kind: "schedule" | "webhook" | "api"; id: string; label: string | null; enabled: boolean; cronExpression: string | null; timezone: string | null; publicId: string | null; signingMode: "none" | "bearer" | "hmac_sha256" | "github_hmac" | null; replayWindowSec: number | null; }, { kind: "schedule" | "webhook" | "api"; id: string; label: string | null; enabled: boolean; cronExpression: string | null; timezone: string | null; publicId: string | null; signingMode: "none" | "bearer" | "hmac_sha256" | "github_hmac" | null; replayWindowSec: number | null; }>; export declare const routineRevisionSnapshotV1Schema: z.ZodObject<{ version: z.ZodLiteral<1>; routine: z.ZodObject<{ id: z.ZodString; companyId: z.ZodString; projectId: z.ZodNullable; goalId: z.ZodNullable; parentIssueId: z.ZodNullable; title: z.ZodString; description: z.ZodNullable; assigneeAgentId: z.ZodNullable; priority: z.ZodEnum<["critical", "high", "medium", "low"]>; status: z.ZodEnum<["active", "paused", "archived"]>; concurrencyPolicy: z.ZodEnum<["coalesce_if_active", "always_enqueue", "skip_if_active"]>; catchUpPolicy: z.ZodEnum<["skip_missed", "enqueue_missed_with_cap"]>; variables: z.ZodArray>; type: z.ZodDefault>>; defaultValue: z.ZodNullable>>; required: z.ZodDefault>; options: z.ZodDefault>>; }, "strip", z.ZodTypeAny, { name: string; required: boolean; options: string[]; type: "number" | "boolean" | "text" | "textarea" | "select"; label?: string | null | undefined; defaultValue?: string | number | boolean | null | undefined; }, { name: string; label?: string | null | undefined; required?: boolean | undefined; options?: string[] | undefined; type?: "number" | "boolean" | "text" | "textarea" | "select" | undefined; defaultValue?: string | number | boolean | null | undefined; }>, { name: string; required: boolean; options: string[]; type: "number" | "boolean" | "text" | "textarea" | "select"; label?: string | null | undefined; defaultValue?: string | number | boolean | null | undefined; }, { name: string; label?: string | null | undefined; required?: boolean | undefined; options?: string[] | undefined; type?: "number" | "boolean" | "text" | "textarea" | "select" | undefined; defaultValue?: string | number | boolean | null | undefined; }>, "many">; env: z.ZodDefault; value: z.ZodString; }, "strip", z.ZodTypeAny, { value: string; type: "plain"; }, { value: string; type: "plain"; }>, z.ZodObject<{ type: z.ZodLiteral<"secret_ref">; secretId: z.ZodString; version: z.ZodOptional, z.ZodNumber]>>; }, "strip", z.ZodTypeAny, { secretId: string; type: "secret_ref"; version?: number | "latest" | undefined; }, { secretId: string; type: "secret_ref"; version?: number | "latest" | undefined; }>]>>>>; }, "strict", z.ZodTypeAny, { title: string; description: string | null; companyId: string; status: "active" | "paused" | "archived"; id: string; projectId: string | null; priority: "critical" | "high" | "medium" | "low"; assigneeAgentId: string | null; goalId: string | null; parentIssueId: string | null; concurrencyPolicy: "coalesce_if_active" | "always_enqueue" | "skip_if_active"; catchUpPolicy: "skip_missed" | "enqueue_missed_with_cap"; variables: { name: string; required: boolean; options: string[]; type: "number" | "boolean" | "text" | "textarea" | "select"; label?: string | null | undefined; defaultValue?: string | number | boolean | null | undefined; }[]; env: Record | null; }, { title: string; description: string | null; companyId: string; status: "active" | "paused" | "archived"; id: string; projectId: string | null; priority: "critical" | "high" | "medium" | "low"; assigneeAgentId: string | null; goalId: string | null; parentIssueId: string | null; concurrencyPolicy: "coalesce_if_active" | "always_enqueue" | "skip_if_active"; catchUpPolicy: "skip_missed" | "enqueue_missed_with_cap"; variables: { name: string; label?: string | null | undefined; required?: boolean | undefined; options?: string[] | undefined; type?: "number" | "boolean" | "text" | "textarea" | "select" | undefined; defaultValue?: string | number | boolean | null | undefined; }[]; env?: Record | null | undefined; }>; triggers: z.ZodArray; label: z.ZodNullable; enabled: z.ZodBoolean; cronExpression: z.ZodNullable; timezone: z.ZodNullable; publicId: z.ZodNullable; signingMode: z.ZodNullable>; replayWindowSec: z.ZodNullable; }, "strict", z.ZodTypeAny, { kind: "schedule" | "webhook" | "api"; id: string; label: string | null; enabled: boolean; cronExpression: string | null; timezone: string | null; publicId: string | null; signingMode: "none" | "bearer" | "hmac_sha256" | "github_hmac" | null; replayWindowSec: number | null; }, { kind: "schedule" | "webhook" | "api"; id: string; label: string | null; enabled: boolean; cronExpression: string | null; timezone: string | null; publicId: string | null; signingMode: "none" | "bearer" | "hmac_sha256" | "github_hmac" | null; replayWindowSec: number | null; }>, "many">; }, "strict", z.ZodTypeAny, { routine: { title: string; description: string | null; companyId: string; status: "active" | "paused" | "archived"; id: string; projectId: string | null; priority: "critical" | "high" | "medium" | "low"; assigneeAgentId: string | null; goalId: string | null; parentIssueId: string | null; concurrencyPolicy: "coalesce_if_active" | "always_enqueue" | "skip_if_active"; catchUpPolicy: "skip_missed" | "enqueue_missed_with_cap"; variables: { name: string; required: boolean; options: string[]; type: "number" | "boolean" | "text" | "textarea" | "select"; label?: string | null | undefined; defaultValue?: string | number | boolean | null | undefined; }[]; env: Record | null; }; version: 1; triggers: { kind: "schedule" | "webhook" | "api"; id: string; label: string | null; enabled: boolean; cronExpression: string | null; timezone: string | null; publicId: string | null; signingMode: "none" | "bearer" | "hmac_sha256" | "github_hmac" | null; replayWindowSec: number | null; }[]; }, { routine: { title: string; description: string | null; companyId: string; status: "active" | "paused" | "archived"; id: string; projectId: string | null; priority: "critical" | "high" | "medium" | "low"; assigneeAgentId: string | null; goalId: string | null; parentIssueId: string | null; concurrencyPolicy: "coalesce_if_active" | "always_enqueue" | "skip_if_active"; catchUpPolicy: "skip_missed" | "enqueue_missed_with_cap"; variables: { name: string; label?: string | null | undefined; required?: boolean | undefined; options?: string[] | undefined; type?: "number" | "boolean" | "text" | "textarea" | "select" | undefined; defaultValue?: string | number | boolean | null | undefined; }[]; env?: Record | null | undefined; }; version: 1; triggers: { kind: "schedule" | "webhook" | "api"; id: string; label: string | null; enabled: boolean; cronExpression: string | null; timezone: string | null; publicId: string | null; signingMode: "none" | "bearer" | "hmac_sha256" | "github_hmac" | null; replayWindowSec: number | null; }[]; }>; export declare const routineRevisionSnapshotSchema: z.ZodObject<{ version: z.ZodLiteral<1>; routine: z.ZodObject<{ id: z.ZodString; companyId: z.ZodString; projectId: z.ZodNullable; goalId: z.ZodNullable; parentIssueId: z.ZodNullable; title: z.ZodString; description: z.ZodNullable; assigneeAgentId: z.ZodNullable; priority: z.ZodEnum<["critical", "high", "medium", "low"]>; status: z.ZodEnum<["active", "paused", "archived"]>; concurrencyPolicy: z.ZodEnum<["coalesce_if_active", "always_enqueue", "skip_if_active"]>; catchUpPolicy: z.ZodEnum<["skip_missed", "enqueue_missed_with_cap"]>; variables: z.ZodArray>; type: z.ZodDefault>>; defaultValue: z.ZodNullable>>; required: z.ZodDefault>; options: z.ZodDefault>>; }, "strip", z.ZodTypeAny, { name: string; required: boolean; options: string[]; type: "number" | "boolean" | "text" | "textarea" | "select"; label?: string | null | undefined; defaultValue?: string | number | boolean | null | undefined; }, { name: string; label?: string | null | undefined; required?: boolean | undefined; options?: string[] | undefined; type?: "number" | "boolean" | "text" | "textarea" | "select" | undefined; defaultValue?: string | number | boolean | null | undefined; }>, { name: string; required: boolean; options: string[]; type: "number" | "boolean" | "text" | "textarea" | "select"; label?: string | null | undefined; defaultValue?: string | number | boolean | null | undefined; }, { name: string; label?: string | null | undefined; required?: boolean | undefined; options?: string[] | undefined; type?: "number" | "boolean" | "text" | "textarea" | "select" | undefined; defaultValue?: string | number | boolean | null | undefined; }>, "many">; env: z.ZodDefault; value: z.ZodString; }, "strip", z.ZodTypeAny, { value: string; type: "plain"; }, { value: string; type: "plain"; }>, z.ZodObject<{ type: z.ZodLiteral<"secret_ref">; secretId: z.ZodString; version: z.ZodOptional, z.ZodNumber]>>; }, "strip", z.ZodTypeAny, { secretId: string; type: "secret_ref"; version?: number | "latest" | undefined; }, { secretId: string; type: "secret_ref"; version?: number | "latest" | undefined; }>]>>>>; }, "strict", z.ZodTypeAny, { title: string; description: string | null; companyId: string; status: "active" | "paused" | "archived"; id: string; projectId: string | null; priority: "critical" | "high" | "medium" | "low"; assigneeAgentId: string | null; goalId: string | null; parentIssueId: string | null; concurrencyPolicy: "coalesce_if_active" | "always_enqueue" | "skip_if_active"; catchUpPolicy: "skip_missed" | "enqueue_missed_with_cap"; variables: { name: string; required: boolean; options: string[]; type: "number" | "boolean" | "text" | "textarea" | "select"; label?: string | null | undefined; defaultValue?: string | number | boolean | null | undefined; }[]; env: Record | null; }, { title: string; description: string | null; companyId: string; status: "active" | "paused" | "archived"; id: string; projectId: string | null; priority: "critical" | "high" | "medium" | "low"; assigneeAgentId: string | null; goalId: string | null; parentIssueId: string | null; concurrencyPolicy: "coalesce_if_active" | "always_enqueue" | "skip_if_active"; catchUpPolicy: "skip_missed" | "enqueue_missed_with_cap"; variables: { name: string; label?: string | null | undefined; required?: boolean | undefined; options?: string[] | undefined; type?: "number" | "boolean" | "text" | "textarea" | "select" | undefined; defaultValue?: string | number | boolean | null | undefined; }[]; env?: Record | null | undefined; }>; triggers: z.ZodArray; label: z.ZodNullable; enabled: z.ZodBoolean; cronExpression: z.ZodNullable; timezone: z.ZodNullable; publicId: z.ZodNullable; signingMode: z.ZodNullable>; replayWindowSec: z.ZodNullable; }, "strict", z.ZodTypeAny, { kind: "schedule" | "webhook" | "api"; id: string; label: string | null; enabled: boolean; cronExpression: string | null; timezone: string | null; publicId: string | null; signingMode: "none" | "bearer" | "hmac_sha256" | "github_hmac" | null; replayWindowSec: number | null; }, { kind: "schedule" | "webhook" | "api"; id: string; label: string | null; enabled: boolean; cronExpression: string | null; timezone: string | null; publicId: string | null; signingMode: "none" | "bearer" | "hmac_sha256" | "github_hmac" | null; replayWindowSec: number | null; }>, "many">; }, "strict", z.ZodTypeAny, { routine: { title: string; description: string | null; companyId: string; status: "active" | "paused" | "archived"; id: string; projectId: string | null; priority: "critical" | "high" | "medium" | "low"; assigneeAgentId: string | null; goalId: string | null; parentIssueId: string | null; concurrencyPolicy: "coalesce_if_active" | "always_enqueue" | "skip_if_active"; catchUpPolicy: "skip_missed" | "enqueue_missed_with_cap"; variables: { name: string; required: boolean; options: string[]; type: "number" | "boolean" | "text" | "textarea" | "select"; label?: string | null | undefined; defaultValue?: string | number | boolean | null | undefined; }[]; env: Record | null; }; version: 1; triggers: { kind: "schedule" | "webhook" | "api"; id: string; label: string | null; enabled: boolean; cronExpression: string | null; timezone: string | null; publicId: string | null; signingMode: "none" | "bearer" | "hmac_sha256" | "github_hmac" | null; replayWindowSec: number | null; }[]; }, { routine: { title: string; description: string | null; companyId: string; status: "active" | "paused" | "archived"; id: string; projectId: string | null; priority: "critical" | "high" | "medium" | "low"; assigneeAgentId: string | null; goalId: string | null; parentIssueId: string | null; concurrencyPolicy: "coalesce_if_active" | "always_enqueue" | "skip_if_active"; catchUpPolicy: "skip_missed" | "enqueue_missed_with_cap"; variables: { name: string; label?: string | null | undefined; required?: boolean | undefined; options?: string[] | undefined; type?: "number" | "boolean" | "text" | "textarea" | "select" | undefined; defaultValue?: string | number | boolean | null | undefined; }[]; env?: Record | null | undefined; }; version: 1; triggers: { kind: "schedule" | "webhook" | "api"; id: string; label: string | null; enabled: boolean; cronExpression: string | null; timezone: string | null; publicId: string | null; signingMode: "none" | "bearer" | "hmac_sha256" | "github_hmac" | null; replayWindowSec: number | null; }[]; }>; export type RoutineRevisionSnapshotV1 = z.infer; export type RoutineRevisionSnapshot = z.infer; export declare const createRoutineTriggerSchema: z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{ label: z.ZodNullable>; enabled: z.ZodDefault>; } & { kind: z.ZodLiteral<"schedule">; cronExpression: z.ZodString; timezone: z.ZodDefault; }, "strip", z.ZodTypeAny, { kind: "schedule"; enabled: boolean; cronExpression: string; timezone: string; label?: string | null | undefined; }, { kind: "schedule"; cronExpression: string; label?: string | null | undefined; enabled?: boolean | undefined; timezone?: string | undefined; }>, z.ZodObject<{ label: z.ZodNullable>; enabled: z.ZodDefault>; } & { kind: z.ZodLiteral<"webhook">; signingMode: z.ZodDefault>>; replayWindowSec: z.ZodDefault>; }, "strip", z.ZodTypeAny, { kind: "webhook"; enabled: boolean; signingMode: "none" | "bearer" | "hmac_sha256" | "github_hmac"; replayWindowSec: number; label?: string | null | undefined; }, { kind: "webhook"; label?: string | null | undefined; enabled?: boolean | undefined; signingMode?: "none" | "bearer" | "hmac_sha256" | "github_hmac" | undefined; replayWindowSec?: number | undefined; }>, z.ZodObject<{ label: z.ZodNullable>; enabled: z.ZodDefault>; } & { kind: z.ZodLiteral<"api">; }, "strip", z.ZodTypeAny, { kind: "api"; enabled: boolean; label?: string | null | undefined; }, { kind: "api"; label?: string | null | undefined; enabled?: boolean | undefined; }>]>; export type CreateRoutineTrigger = z.infer; export declare const updateRoutineTriggerSchema: z.ZodObject<{ label: z.ZodNullable>; enabled: z.ZodOptional; cronExpression: z.ZodNullable>; timezone: z.ZodNullable>; signingMode: z.ZodNullable>>; replayWindowSec: z.ZodNullable>; }, "strip", z.ZodTypeAny, { label?: string | null | undefined; enabled?: boolean | undefined; cronExpression?: string | null | undefined; timezone?: string | null | undefined; signingMode?: "none" | "bearer" | "hmac_sha256" | "github_hmac" | null | undefined; replayWindowSec?: number | null | undefined; }, { label?: string | null | undefined; enabled?: boolean | undefined; cronExpression?: string | null | undefined; timezone?: string | null | undefined; signingMode?: "none" | "bearer" | "hmac_sha256" | "github_hmac" | null | undefined; replayWindowSec?: number | null | undefined; }>; export type UpdateRoutineTrigger = z.infer; export declare const runRoutineSchema: z.ZodObject<{ triggerId: z.ZodNullable>; payload: z.ZodNullable>>; variables: z.ZodNullable>>>; projectId: z.ZodNullable>; assigneeAgentId: z.ZodNullable>; idempotencyKey: z.ZodNullable>; source: z.ZodDefault>>; executionWorkspaceId: z.ZodNullable>; executionWorkspacePreference: z.ZodNullable>>; executionWorkspaceSettings: z.ZodNullable>; environmentId: z.ZodNullable>; workspaceStrategy: z.ZodNullable>; baseRef: z.ZodNullable>; branchTemplate: z.ZodNullable>; worktreeParentDir: z.ZodNullable>; provisionCommand: z.ZodNullable>; teardownCommand: z.ZodNullable>; }, "strict", z.ZodTypeAny, { type?: "project_primary" | "git_worktree" | "adapter_managed" | "cloud_sandbox" | undefined; provisionCommand?: string | null | undefined; teardownCommand?: string | null | undefined; baseRef?: string | null | undefined; branchTemplate?: string | null | undefined; worktreeParentDir?: string | null | undefined; }, { type?: "project_primary" | "git_worktree" | "adapter_managed" | "cloud_sandbox" | undefined; provisionCommand?: string | null | undefined; teardownCommand?: string | null | undefined; baseRef?: string | null | undefined; branchTemplate?: string | null | undefined; worktreeParentDir?: string | null | undefined; }>>>; workspaceRuntime: z.ZodNullable>>; }, "strict", z.ZodTypeAny, { environmentId?: string | null | undefined; workspaceRuntime?: Record | null | undefined; mode?: "shared_workspace" | "isolated_workspace" | "operator_branch" | "inherit" | "reuse_existing" | "agent_default" | undefined; workspaceStrategy?: { type?: "project_primary" | "git_worktree" | "adapter_managed" | "cloud_sandbox" | undefined; provisionCommand?: string | null | undefined; teardownCommand?: string | null | undefined; baseRef?: string | null | undefined; branchTemplate?: string | null | undefined; worktreeParentDir?: string | null | undefined; } | null | undefined; }, { environmentId?: string | null | undefined; workspaceRuntime?: Record | null | undefined; mode?: "shared_workspace" | "isolated_workspace" | "operator_branch" | "inherit" | "reuse_existing" | "agent_default" | undefined; workspaceStrategy?: { type?: "project_primary" | "git_worktree" | "adapter_managed" | "cloud_sandbox" | undefined; provisionCommand?: string | null | undefined; teardownCommand?: string | null | undefined; baseRef?: string | null | undefined; branchTemplate?: string | null | undefined; worktreeParentDir?: string | null | undefined; } | null | undefined; }>>>; }, "strip", z.ZodTypeAny, { source: "manual" | "api"; idempotencyKey?: string | null | undefined; projectId?: string | null | undefined; executionWorkspaceId?: string | null | undefined; assigneeAgentId?: string | null | undefined; executionWorkspacePreference?: "shared_workspace" | "isolated_workspace" | "operator_branch" | "inherit" | "reuse_existing" | "agent_default" | null | undefined; executionWorkspaceSettings?: { environmentId?: string | null | undefined; workspaceRuntime?: Record | null | undefined; mode?: "shared_workspace" | "isolated_workspace" | "operator_branch" | "inherit" | "reuse_existing" | "agent_default" | undefined; workspaceStrategy?: { type?: "project_primary" | "git_worktree" | "adapter_managed" | "cloud_sandbox" | undefined; provisionCommand?: string | null | undefined; teardownCommand?: string | null | undefined; baseRef?: string | null | undefined; branchTemplate?: string | null | undefined; worktreeParentDir?: string | null | undefined; } | null | undefined; } | null | undefined; payload?: Record | null | undefined; variables?: Record | null | undefined; triggerId?: string | null | undefined; }, { source?: "manual" | "api" | undefined; idempotencyKey?: string | null | undefined; projectId?: string | null | undefined; executionWorkspaceId?: string | null | undefined; assigneeAgentId?: string | null | undefined; executionWorkspacePreference?: "shared_workspace" | "isolated_workspace" | "operator_branch" | "inherit" | "reuse_existing" | "agent_default" | null | undefined; executionWorkspaceSettings?: { environmentId?: string | null | undefined; workspaceRuntime?: Record | null | undefined; mode?: "shared_workspace" | "isolated_workspace" | "operator_branch" | "inherit" | "reuse_existing" | "agent_default" | undefined; workspaceStrategy?: { type?: "project_primary" | "git_worktree" | "adapter_managed" | "cloud_sandbox" | undefined; provisionCommand?: string | null | undefined; teardownCommand?: string | null | undefined; baseRef?: string | null | undefined; branchTemplate?: string | null | undefined; worktreeParentDir?: string | null | undefined; } | null | undefined; } | null | undefined; payload?: Record | null | undefined; variables?: Record | null | undefined; triggerId?: string | null | undefined; }>; export type RunRoutine = z.infer; export declare const rotateRoutineTriggerSecretSchema: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>; export type RotateRoutineTriggerSecret = z.infer; //# sourceMappingURL=routine.d.ts.map