import { z } from 'zod'; /** * Zod schema for the WorkflowRun model. * Defines the structure and validation rules for this data type. * This is the shape used in application code - what developers interact with. */ export declare const workflowRun: z.ZodLazy; id: z.ZodOptional; status: z.ZodOptional; error: z.ZodOptional; nextStep: z.ZodOptional; startedAt: z.ZodOptional; state: z.ZodOptional; }, "strip", z.ZodTypeAny, { state?: number | undefined; completedAt?: string | undefined; error?: string | undefined; nextStep?: number | undefined; startedAt?: string | undefined; }, { state?: number | undefined; completedAt?: string | undefined; error?: string | undefined; nextStep?: number | undefined; startedAt?: string | undefined; }>>>; workflowKey: z.ZodOptional; }, "strip", z.ZodTypeAny, { status?: { state?: number | undefined; completedAt?: string | undefined; error?: string | undefined; nextStep?: number | undefined; startedAt?: string | undefined; } | undefined; createdAt?: string | undefined; id?: string | undefined; workflowKey?: string | undefined; }, { status?: { state?: number | undefined; completedAt?: string | undefined; error?: string | undefined; nextStep?: number | undefined; startedAt?: string | undefined; } | undefined; createdAt?: string | undefined; id?: string | undefined; workflowKey?: string | undefined; }>>; /** * * @typedef {WorkflowRun} workflowRun * @property {string} * @property {string} * @property {WorkflowRunStatus} * @property {string} */ export type WorkflowRun = z.infer; /** * Zod schema for mapping API responses to the WorkflowRun application shape. * Handles any property name transformations from the API schema. * If property names match the API schema exactly, this is identical to the application shape. */ export declare const workflowRunResponse: z.ZodLazy; id: z.ZodOptional; status: z.ZodOptional; error: z.ZodOptional; next_step: z.ZodOptional; started_at: z.ZodOptional; state: z.ZodOptional; }, "strip", z.ZodTypeAny, { state?: number | undefined; error?: string | undefined; completed_at?: string | undefined; next_step?: number | undefined; started_at?: string | undefined; }, { state?: number | undefined; error?: string | undefined; completed_at?: string | undefined; next_step?: number | undefined; started_at?: string | undefined; }>, { completedAt: string | undefined; error: string | undefined; nextStep: number | undefined; startedAt: string | undefined; state: number | undefined; }, { state?: number | undefined; error?: string | undefined; completed_at?: string | undefined; next_step?: number | undefined; started_at?: string | undefined; }>>>; workflow_key: z.ZodOptional; }, "strip", z.ZodTypeAny, { status?: { completedAt: string | undefined; error: string | undefined; nextStep: number | undefined; startedAt: string | undefined; state: number | undefined; } | undefined; id?: string | undefined; created_at?: string | undefined; workflow_key?: string | undefined; }, { status?: { state?: number | undefined; error?: string | undefined; completed_at?: string | undefined; next_step?: number | undefined; started_at?: string | undefined; } | undefined; id?: string | undefined; created_at?: string | undefined; workflow_key?: string | undefined; }>, { createdAt: string | undefined; id: string | undefined; status: { completedAt: string | undefined; error: string | undefined; nextStep: number | undefined; startedAt: string | undefined; state: number | undefined; } | undefined; workflowKey: string | undefined; }, { status?: { state?: number | undefined; error?: string | undefined; completed_at?: string | undefined; next_step?: number | undefined; started_at?: string | undefined; } | undefined; id?: string | undefined; created_at?: string | undefined; workflow_key?: string | undefined; }>>; /** * Zod schema for mapping the WorkflowRun application shape to API requests. * Handles any property name transformations required by the API schema. * If property names match the API schema exactly, this is identical to the application shape. */ export declare const workflowRunRequest: z.ZodLazy; id: z.ZodOptional; status: z.ZodOptional; error: z.ZodOptional; nextStep: z.ZodOptional; startedAt: z.ZodOptional; state: z.ZodOptional; }, "strip", z.ZodTypeAny, { state?: number | undefined; completedAt?: string | undefined; error?: string | undefined; nextStep?: number | undefined; startedAt?: string | undefined; }, { state?: number | undefined; completedAt?: string | undefined; error?: string | undefined; nextStep?: number | undefined; startedAt?: string | undefined; }>, { completed_at: string | undefined; error: string | undefined; next_step: number | undefined; started_at: string | undefined; state: number | undefined; }, { state?: number | undefined; completedAt?: string | undefined; error?: string | undefined; nextStep?: number | undefined; startedAt?: string | undefined; }>>>; workflowKey: z.ZodOptional; }, "strip", z.ZodTypeAny, { status?: { completed_at: string | undefined; error: string | undefined; next_step: number | undefined; started_at: string | undefined; state: number | undefined; } | undefined; createdAt?: string | undefined; id?: string | undefined; workflowKey?: string | undefined; }, { status?: { state?: number | undefined; completedAt?: string | undefined; error?: string | undefined; nextStep?: number | undefined; startedAt?: string | undefined; } | undefined; createdAt?: string | undefined; id?: string | undefined; workflowKey?: string | undefined; }>, { created_at: string | undefined; id: string | undefined; status: { completed_at: string | undefined; error: string | undefined; next_step: number | undefined; started_at: string | undefined; state: number | undefined; } | undefined; workflow_key: string | undefined; }, { status?: { state?: number | undefined; completedAt?: string | undefined; error?: string | undefined; nextStep?: number | undefined; startedAt?: string | undefined; } | undefined; createdAt?: string | undefined; id?: string | undefined; workflowKey?: string | undefined; }>>; //# sourceMappingURL=workflow-run.d.ts.map