import { z } from 'zod'; /** * Zod schema for the WorkflowDefinition 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 workflowDefinition: z.ZodLazy; key: z.ZodString; steps: z.ZodArray>; input: z.ZodNullable>; }, "strip", z.ZodTypeAny, { command: string; if?: string | null | undefined; input?: any; }, { command: string; if?: string | null | undefined; input?: any; }>>, "many">; }, "strip", z.ZodTypeAny, { key: string; steps: { command: string; if?: string | null | undefined; input?: any; }[]; disabled?: boolean | undefined; }, { key: string; steps: { command: string; if?: string | null | undefined; input?: any; }[]; disabled?: boolean | undefined; }>>; /** * * @typedef {WorkflowDefinition} workflowDefinition * @property {boolean} - When true, prevents the workflow from being triggered. * @property {string} - Unique identifier for this workflow definition. * @property {WorkflowDefinitionSteps[]} - Ordered list describing each action that will run inside the workflow. */ export type WorkflowDefinition = z.infer; /** * Zod schema for mapping API responses to the WorkflowDefinition 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 workflowDefinitionResponse: z.ZodLazy; key: z.ZodString; steps: z.ZodArray>; input: z.ZodNullable>; }, "strip", z.ZodTypeAny, { command: string; if?: string | null | undefined; input?: any; }, { command: string; if?: string | null | undefined; input?: any; }>, { command: string; if: string | null | undefined; input: any; }, { command: string; if?: string | null | undefined; input?: any; }>>, "many">; }, "strip", z.ZodTypeAny, { key: string; steps: { command: string; if: string | null | undefined; input: any; }[]; disabled?: boolean | undefined; }, { key: string; steps: { command: string; if?: string | null | undefined; input?: any; }[]; disabled?: boolean | undefined; }>, { disabled: boolean | undefined; key: string; steps: { command: string; if: string | null | undefined; input: any; }[]; }, { key: string; steps: { command: string; if?: string | null | undefined; input?: any; }[]; disabled?: boolean | undefined; }>>; /** * Zod schema for mapping the WorkflowDefinition 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 workflowDefinitionRequest: z.ZodLazy; key: z.ZodString; steps: z.ZodArray>; input: z.ZodNullable>; }, "strip", z.ZodTypeAny, { command: string; if?: string | null | undefined; input?: any; }, { command: string; if?: string | null | undefined; input?: any; }>, { command: string; if: string | null | undefined; input: any; }, { command: string; if?: string | null | undefined; input?: any; }>>, "many">; }, "strip", z.ZodTypeAny, { key: string; steps: { command: string; if: string | null | undefined; input: any; }[]; disabled?: boolean | undefined; }, { key: string; steps: { command: string; if?: string | null | undefined; input?: any; }[]; disabled?: boolean | undefined; }>, { disabled: boolean | undefined; key: string; steps: { command: string; if: string | null | undefined; input: any; }[]; }, { key: string; steps: { command: string; if?: string | null | undefined; input?: any; }[]; disabled?: boolean | undefined; }>>; //# sourceMappingURL=workflow-definition.d.ts.map