import { z } from 'zod'; export declare const uploadFunctionRequestSchema: z.ZodObject<{ name: z.ZodString; slug: z.ZodOptional; code: z.ZodString; description: z.ZodOptional; status: z.ZodDefault>>; }, "strip", z.ZodTypeAny, { code: string; status: "draft" | "active"; name: string; description?: string | undefined; slug?: string | undefined; }, { code: string; name: string; status?: "draft" | "active" | undefined; description?: string | undefined; slug?: string | undefined; }>; export declare const updateFunctionRequestSchema: z.ZodObject<{ name: z.ZodOptional; code: z.ZodOptional; description: z.ZodOptional; status: z.ZodOptional>; }, "strip", z.ZodTypeAny, { code?: string | undefined; status?: "draft" | "active" | undefined; name?: string | undefined; description?: string | undefined; }, { code?: string | undefined; status?: "draft" | "active" | undefined; name?: string | undefined; description?: string | undefined; }>; export declare const listFunctionsResponseSchema: z.ZodObject<{ functions: z.ZodArray; code: z.ZodString; status: z.ZodEnum<["draft", "active", "error"]>; createdAt: z.ZodString; updatedAt: z.ZodString; deployedAt: z.ZodNullable; }, "strip", z.ZodTypeAny, { code: string; status: "error" | "draft" | "active"; name: string; description: string | null; id: string; createdAt: string; updatedAt: string; slug: string; deployedAt: string | null; }, { code: string; status: "error" | "draft" | "active"; name: string; description: string | null; id: string; createdAt: string; updatedAt: string; slug: string; deployedAt: string | null; }>, "many">; runtime: z.ZodObject<{ status: z.ZodEnum<["running", "unavailable"]>; }, "strip", z.ZodTypeAny, { status: "running" | "unavailable"; }, { status: "running" | "unavailable"; }>; deploymentUrl: z.ZodOptional>; }, "strip", z.ZodTypeAny, { functions: { code: string; status: "error" | "draft" | "active"; name: string; description: string | null; id: string; createdAt: string; updatedAt: string; slug: string; deployedAt: string | null; }[]; runtime: { status: "running" | "unavailable"; }; deploymentUrl?: string | null | undefined; }, { functions: { code: string; status: "error" | "draft" | "active"; name: string; description: string | null; id: string; createdAt: string; updatedAt: string; slug: string; deployedAt: string | null; }[]; runtime: { status: "running" | "unavailable"; }; deploymentUrl?: string | null | undefined; }>; export declare const deploymentResultSchema: z.ZodObject<{ id: z.ZodString; status: z.ZodEnum<["success", "failed"]>; url: z.ZodNullable; buildLogs: z.ZodOptional>; }, "strip", z.ZodTypeAny, { status: "success" | "failed"; url: string | null; id: string; buildLogs?: string[] | undefined; }, { status: "success" | "failed"; url: string | null; id: string; buildLogs?: string[] | undefined; }>; export declare const functionResponseSchema: z.ZodObject<{ success: z.ZodBoolean; function: z.ZodObject<{ id: z.ZodString; slug: z.ZodString; name: z.ZodString; description: z.ZodNullable; code: z.ZodString; status: z.ZodEnum<["draft", "active", "error"]>; createdAt: z.ZodString; updatedAt: z.ZodString; deployedAt: z.ZodNullable; }, "strip", z.ZodTypeAny, { code: string; status: "error" | "draft" | "active"; name: string; description: string | null; id: string; createdAt: string; updatedAt: string; slug: string; deployedAt: string | null; }, { code: string; status: "error" | "draft" | "active"; name: string; description: string | null; id: string; createdAt: string; updatedAt: string; slug: string; deployedAt: string | null; }>; deployment: z.ZodOptional; url: z.ZodNullable; buildLogs: z.ZodOptional>; }, "strip", z.ZodTypeAny, { status: "success" | "failed"; url: string | null; id: string; buildLogs?: string[] | undefined; }, { status: "success" | "failed"; url: string | null; id: string; buildLogs?: string[] | undefined; }>>>; }, "strip", z.ZodTypeAny, { function: { code: string; status: "error" | "draft" | "active"; name: string; description: string | null; id: string; createdAt: string; updatedAt: string; slug: string; deployedAt: string | null; }; success: boolean; deployment?: { status: "success" | "failed"; url: string | null; id: string; buildLogs?: string[] | undefined; } | null | undefined; }, { function: { code: string; status: "error" | "draft" | "active"; name: string; description: string | null; id: string; createdAt: string; updatedAt: string; slug: string; deployedAt: string | null; }; success: boolean; deployment?: { status: "success" | "failed"; url: string | null; id: string; buildLogs?: string[] | undefined; } | null | undefined; }>; export type UploadFunctionRequest = z.infer; export type UpdateFunctionRequest = z.infer; export type ListFunctionsResponse = z.infer; export type DeploymentResult = z.infer; export type FunctionResponse = z.infer; //# sourceMappingURL=functions-api.schema.d.ts.map