import * as z from "zod/v4"; import { DeploymentK8sBackendSpec, DeploymentK8sBackendSpec$Outbound } from "./deploymentk8sbackendspec.js"; import { DeploymentKoyebBackendSpec, DeploymentKoyebBackendSpec$Outbound } from "./deploymentkoyebbackendspec.js"; export type DeploymentWorkerSpecInputBackendSpec = DeploymentKoyebBackendSpec | DeploymentK8sBackendSpec; export type DeploymentWorkerSpecInput = { githubUrl: string; revision?: string | null | undefined; /** * Backend-specific configuration. The arm's 'type' picks where the worker runs: 'koyeb' (the default for a new deployment) or 'kubernetes'. Cannot be combined with the deprecated top-level 'entrypoint' and 'working_dir'. */ backendSpec?: DeploymentKoyebBackendSpec | DeploymentK8sBackendSpec | null | undefined; /** * Kubernetes-only. Setting it without 'backend_spec' selects the kubernetes backend, which is not generally available; setting it alongside 'backend_spec' returns 422. * * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. */ entrypoint?: string | null | undefined; /** * Kubernetes-only. Setting it without 'backend_spec' selects the kubernetes backend, which is not generally available; setting it alongside 'backend_spec' returns 422. * * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. */ workingDir?: string | null | undefined; }; /** @internal */ export type DeploymentWorkerSpecInputBackendSpec$Outbound = DeploymentKoyebBackendSpec$Outbound | DeploymentK8sBackendSpec$Outbound; /** @internal */ export declare const DeploymentWorkerSpecInputBackendSpec$outboundSchema: z.ZodType; export declare function deploymentWorkerSpecInputBackendSpecToJSON(deploymentWorkerSpecInputBackendSpec: DeploymentWorkerSpecInputBackendSpec): string; /** @internal */ export type DeploymentWorkerSpecInput$Outbound = { github_url: string; revision?: string | null | undefined; backend_spec?: DeploymentKoyebBackendSpec$Outbound | DeploymentK8sBackendSpec$Outbound | null | undefined; entrypoint?: string | null | undefined; working_dir?: string | null | undefined; }; /** @internal */ export declare const DeploymentWorkerSpecInput$outboundSchema: z.ZodType; export declare function deploymentWorkerSpecInputToJSON(deploymentWorkerSpecInput: DeploymentWorkerSpecInput): string; //# sourceMappingURL=deploymentworkerspecinput.d.ts.map