import { z } from 'zod'; declare const service: { name: string; slug: string; description: string; endpoints: ({ exampleBody?: undefined; id: string; title: string; sectionTitle: string; method: string; path: string; description: string; pathParams: never[]; queryParams: { name: string; type: string; description: string; required: boolean; }[]; requestBody: null; responseDescription: string; responseFields: { stripRequired?: undefined; schema: 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>; }; statuses: { code: number; description: string; }[]; examplePath: string; } | { exampleBody?: undefined; id: string; title: string; sectionTitle: string; method: string; path: string; description: string; pathParams: { name: string; type: string; description: string; required: boolean; }[]; queryParams: never[]; requestBody: null; responseDescription: string; responseFields: { schema: 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>; stripRequired: boolean; }; statuses: { code: number; description: string; }[]; examplePath: string; } | { id: string; title: string; sectionTitle: string; method: string; path: string; description: string; pathParams: never[]; queryParams: never[]; requestBody: { description: string; fields: { schema: 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>; }; }; responseDescription: string; responseFields: { stripRequired?: undefined; schema: 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>; }; statuses: { code: number; description: string; }[]; examplePath: string; exampleBody: { payload?: undefined; name: string; source_type: string; source_ref_id: string; status?: undefined; graph_json?: undefined; }; } | { id: string; title: string; sectionTitle: string; method: string; path: string; description: string; pathParams: { name: string; type: string; description: string; required: boolean; }[]; queryParams: never[]; requestBody: { description: string; fields: { schema: z.ZodObject<{ name: z.ZodOptional; description: z.ZodOptional>; status: z.ZodOptional>; }, z.core.$strip>; }; }; responseDescription: string; responseFields: { schema: 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>; stripRequired: boolean; }; statuses: { code: number; description: string; }[]; examplePath: string; exampleBody: { payload?: undefined; source_type?: undefined; source_ref_id?: undefined; name: string; status: string; graph_json?: undefined; }; } | { id: string; title: string; sectionTitle: string; method: string; path: string; description: string; pathParams: { name: string; type: string; description: string; required: boolean; }[]; queryParams: never[]; requestBody: { description: string; fields: { schema: 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>; }; }; responseDescription: string; responseFields: { schema: 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>; stripRequired: boolean; }; statuses: { code: number; description: string; }[]; examplePath: string; exampleBody: { payload?: undefined; name?: undefined; source_type?: undefined; source_ref_id?: undefined; status?: undefined; graph_json: { nodes: { id: string; type: string; }[]; edges: { id: string; source: string; target: string; }[]; }; }; } | { exampleBody?: undefined; responseFields?: undefined; id: string; title: string; sectionTitle: string; method: string; path: string; description: string; pathParams: { name: string; type: string; description: string; required: boolean; }[]; queryParams: never[]; requestBody: null; responseDescription: string; statuses: { code: number; description: string; }[]; examplePath: string; } | { id: string; title: string; sectionTitle: string; method: string; path: string; description: string; pathParams: { name: string; type: string; description: string; required: boolean; }[]; queryParams: never[]; requestBody: { description: string; fields: { schema: z.ZodObject<{ payload: z.ZodUnknown; }, z.core.$strip>; }; }; responseDescription: string; responseFields: { stripRequired?: undefined; schema: z.ZodObject<{ execution_id: z.ZodString; status: z.ZodString; steps: z.ZodOptional; error: z.ZodOptional; }, z.core.$strip>>>; error: z.ZodOptional; }, z.core.$strip>; }; statuses: { code: number; description: string; }[]; examplePath: string; exampleBody: { name?: undefined; source_type?: undefined; source_ref_id?: undefined; status?: undefined; graph_json?: undefined; payload: { event: string; data: { key: string; }; }; }; } | { exampleBody?: undefined; id: string; title: string; sectionTitle: string; method: string; path: string; description: string; pathParams: never[]; queryParams: { name: string; type: string; description: string; required: boolean; }[]; requestBody: null; responseDescription: string; responseFields: { stripRequired?: undefined; schema: 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>; }; statuses: { code: number; description: string; }[]; examplePath: string; } | { exampleBody?: undefined; id: string; title: string; sectionTitle: string; method: string; path: string; description: string; pathParams: { name: string; type: string; description: string; required: boolean; }[]; queryParams: never[]; requestBody: null; responseDescription: string; responseFields: { stripRequired?: undefined; schema: z.ZodArray; 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>>; }; statuses: { code: number; description: string; }[]; examplePath: string; } | { exampleBody?: undefined; id: string; title: string; sectionTitle: string; method: string; path: string; description: string; pathParams: { name: string; type: string; description: string; required: boolean; }[]; queryParams: never[]; requestBody: null; responseDescription: string; responseFields: { stripRequired?: undefined; schema: z.ZodArray; sent_at: z.ZodNullable; response: z.ZodNullable; error: z.ZodNullable; }, z.core.$strip>>; }; statuses: { code: number; description: string; }[]; examplePath: string; })[]; }; export default service; //# sourceMappingURL=workflow.d.ts.map