import { z } from 'zod'; export declare const WorkflowSourceTypeSchema: z.ZodEnum<{ email: "email"; queue: "queue"; schedule: "schedule"; webhook: "webhook"; }>; export type WorkflowSourceType = z.infer; export declare const WorkflowStatusSchema: z.ZodEnum<{ disabled: "disabled"; enabled: "enabled"; }>; export type WorkflowStatus = z.infer; export declare const WorkflowSchema: z.ZodObject<{ id: z.ZodString; created_at: z.ZodString; updated_at: z.ZodString; created_by: z.ZodString; org_id: z.ZodString; name: z.ZodString; description: z.ZodNullable; source_type: z.ZodEnum<{ email: "email"; queue: "queue"; schedule: "schedule"; webhook: "webhook"; }>; source_ref_id: z.ZodString; source_config: z.ZodNullable>; status: z.ZodEnum<{ disabled: "disabled"; enabled: "enabled"; }>; graph_json: z.ZodNullable>; execution_count: z.ZodOptional; link: z.ZodOptional; }, z.core.$strip>; export type Workflow = z.infer; export declare const WorkflowExecutionSchema: z.ZodObject<{ id: z.ZodString; workflow_id: z.ZodString; status: z.ZodEnum<{ completed: "completed"; failed: "failed"; pending: "pending"; running: "running"; }>; started_at: z.ZodNullable; completed_at: z.ZodNullable; error: z.ZodNullable; steps: z.ZodOptional; completed_at: z.ZodNullable; error: z.ZodNullable; }, z.core.$strip>>>; }, z.core.$strip>; export type WorkflowExecution = z.infer; export declare const WorkflowDeliverySchema: z.ZodObject<{ id: z.ZodString; workflow_id: z.ZodString; execution_id: z.ZodString; destination_type: z.ZodString; destination_id: z.ZodString; status: z.ZodEnum<{ failed: "failed"; pending: "pending"; success: "success"; }>; sent_at: z.ZodNullable; response: z.ZodNullable; error: z.ZodNullable; }, z.core.$strip>; export type WorkflowDelivery = z.infer; export declare const WorkflowActivitySchema: z.ZodObject<{ total_workflows: z.ZodNumber; enabled_workflows: z.ZodNumber; disabled_workflows: z.ZodNumber; total_executions: z.ZodNumber; succeeded_executions: z.ZodNumber; failed_executions: z.ZodNumber; last_activity_at: z.ZodNullable; }, z.core.$strip>; export type WorkflowActivity = z.infer; export declare const CreateWorkflowRequestSchema: z.ZodObject<{ name: z.ZodString; description: z.ZodOptional; source_type: z.ZodEnum<{ email: "email"; queue: "queue"; schedule: "schedule"; webhook: "webhook"; }>; source_ref_id: z.ZodString; source_config: z.ZodOptional>; }, z.core.$strip>; export type CreateWorkflowRequest = z.infer; export declare const UpdateWorkflowRequestSchema: z.ZodObject<{ name: z.ZodOptional; description: z.ZodOptional>; status: z.ZodOptional>; }, z.core.$strip>; export type UpdateWorkflowRequest = z.infer; export declare const UpdateWorkflowGraphRequestSchema: z.ZodObject<{ nodes: z.ZodArray; position: z.ZodOptional>; data: z.ZodOptional; }, z.core.$strip>>; edges: z.ZodArray; targetHandle: z.ZodOptional; }, z.core.$strip>>; }, z.core.$strip>; export type UpdateWorkflowGraphRequest = z.infer; export declare const TestWorkflowRequestSchema: z.ZodObject<{ payload: z.ZodUnknown; }, z.core.$strip>; export type TestWorkflowRequest = z.infer; export declare const TestWorkflowResultSchema: z.ZodObject<{ execution_id: z.ZodString; status: z.ZodString; steps: z.ZodOptional; error: z.ZodOptional; }, z.core.$strip>>>; error: z.ZodOptional; }, z.core.$strip>; export type TestWorkflowResult = z.infer; export declare const ListWorkflowsRequestSchema: z.ZodObject<{ limit: z.ZodOptional; offset: z.ZodOptional; status: z.ZodOptional>; source_type: z.ZodOptional>; filter: z.ZodOptional; }, z.core.$strip>; export type ListWorkflowsRequest = z.infer; export declare const WorkflowListResultSchema: z.ZodObject<{ workflows: z.ZodArray; source_type: z.ZodEnum<{ email: "email"; queue: "queue"; schedule: "schedule"; webhook: "webhook"; }>; source_ref_id: z.ZodString; source_config: z.ZodNullable>; status: z.ZodEnum<{ disabled: "disabled"; enabled: "enabled"; }>; graph_json: z.ZodNullable>; execution_count: z.ZodOptional; link: z.ZodOptional; }, z.core.$strip>>; total: z.ZodNumber; }, z.core.$strip>; export type WorkflowListResult = z.infer; export declare const WorkflowGetResultSchema: z.ZodObject<{ workflow: z.ZodObject<{ id: z.ZodString; created_at: z.ZodString; updated_at: z.ZodString; created_by: z.ZodString; org_id: z.ZodString; name: z.ZodString; description: z.ZodNullable; source_type: z.ZodEnum<{ email: "email"; queue: "queue"; schedule: "schedule"; webhook: "webhook"; }>; source_ref_id: z.ZodString; source_config: z.ZodNullable>; status: z.ZodEnum<{ disabled: "disabled"; enabled: "enabled"; }>; graph_json: z.ZodNullable>; execution_count: z.ZodOptional; link: z.ZodOptional; }, z.core.$strip>; }, z.core.$strip>; export type WorkflowGetResult = z.infer; export declare const WorkflowCreateResultSchema: z.ZodObject<{ workflow: z.ZodObject<{ id: z.ZodString; created_at: z.ZodString; updated_at: z.ZodString; created_by: z.ZodString; org_id: z.ZodString; name: z.ZodString; description: z.ZodNullable; source_type: z.ZodEnum<{ email: "email"; queue: "queue"; schedule: "schedule"; webhook: "webhook"; }>; source_ref_id: z.ZodString; source_config: z.ZodNullable>; status: z.ZodEnum<{ disabled: "disabled"; enabled: "enabled"; }>; graph_json: z.ZodNullable>; execution_count: z.ZodOptional; link: z.ZodOptional; }, z.core.$strip>; }, z.core.$strip>; export type WorkflowCreateResult = z.infer; export declare const WorkflowUpdateResultSchema: z.ZodObject<{ workflow: z.ZodObject<{ id: z.ZodString; created_at: z.ZodString; updated_at: z.ZodString; created_by: z.ZodString; org_id: z.ZodString; name: z.ZodString; description: z.ZodNullable; source_type: z.ZodEnum<{ email: "email"; queue: "queue"; schedule: "schedule"; webhook: "webhook"; }>; source_ref_id: z.ZodString; source_config: z.ZodNullable>; status: z.ZodEnum<{ disabled: "disabled"; enabled: "enabled"; }>; graph_json: z.ZodNullable>; execution_count: z.ZodOptional; link: z.ZodOptional; }, z.core.$strip>; }, z.core.$strip>; export type WorkflowUpdateResult = z.infer; //# sourceMappingURL=types.d.ts.map