UNPKG

@vercel/sdk

Version:

<p align="center"> <a href="https://vercel.com"> <img src="https://assets.vercel.com/image/upload/v1588805858/repositories/vercel/logo.png" height="96"> <h3 align="center">Vercel</h3> </a> <p align="center">Develop. Preview. Ship.</p> </p>

1,972 lines 91.5 kB
import * as z from "zod/v3";
import { ClosedEnum } from "../types/enums.js";
import { Result as SafeParseResult } from "../types/fp.js";
import { SDKValidationError } from "./sdkvalidationerror.js";
/**
 * Forces a new deployment even if there is a previous similar deployment
 */
export declare const ForceNew: {
    readonly Zero: "0";
    readonly One: "1";
};
/**
 * Forces a new deployment even if there is a previous similar deployment
 */
export type ForceNew = ClosedEnum<typeof ForceNew>;
/**
 * Allows to skip framework detection so the API would not fail to ask for confirmation
 */
export declare const SkipAutoDetectionConfirmation: {
    readonly Zero: "0";
    readonly One: "1";
};
/**
 * Allows to skip framework detection so the API would not fail to ask for confirmation
 */
export type SkipAutoDetectionConfirmation = ClosedEnum<typeof SkipAutoDetectionConfirmation>;
/**
 * Used in the case you want to reference a file that was already uploaded
 */
export type UploadedFile = {
    /**
     * The file path relative to the project root
     */
    file: string;
    /**
     * The file contents hashed with SHA1, used to check the integrity
     */
    sha?: string | undefined;
    /**
     * The file size in bytes
     */
    size?: number | undefined;
};
/**
 * The file content encoding, it could be either a base64 (useful for images, etc.) of the files or the plain text for source code.
 */
export declare const Encoding: {
    readonly Base64: "base64";
    readonly Utf8: "utf-8";
};
/**
 * The file content encoding, it could be either a base64 (useful for images, etc.) of the files or the plain text for source code.
 */
export type Encoding = ClosedEnum<typeof Encoding>;
/**
 * Used in the case you want to inline a file inside the request
 */
export type InlinedFile = {
    /**
     * The file content, it could be either a `base64` (useful for images, etc.) of the files or the plain content for source code
     */
    data: string;
    /**
     * The file content encoding, it could be either a base64 (useful for images, etc.) of the files or the plain text for source code.
     */
    encoding?: Encoding | undefined;
    /**
     * The file name including the whole path
     */
    file: string;
};
export type Files = InlinedFile | UploadedFile;
/**
 * Populates initial git metadata for different git providers.
 */
export type GitMetadata = {
    /**
     * The git repository's remote origin url
     */
    remoteUrl?: string | undefined;
    /**
     * The name of the author of the commit
     */
    commitAuthorName?: string | undefined;
    /**
     * The email of the author of the commit
     */
    commitAuthorEmail?: string | undefined;
    /**
     * The commit message
     */
    commitMessage?: string | undefined;
    /**
     * The branch on which the commit was made
     */
    commitRef?: string | undefined;
    /**
     * The hash of the commit
     */
    commitSha?: string | undefined;
    /**
     * Whether or not there have been modifications to the working tree since the latest commit
     */
    dirty?: boolean | undefined;
    /**
     * True if process.env.CI was set when deploying
     */
    ci?: boolean | undefined;
    /**
     * The type of CI system used
     */
    ciType?: string | undefined;
    /**
     * The username used for the Git Provider (e.g. GitHub) if their CI (e.g. GitHub Actions) was used, if available
     */
    ciGitProviderUsername?: string | undefined;
    /**
     * The visibility of the Git repository if their CI (e.g. GitHub Actions) was used, if available
     */
    ciGitRepoVisibility?: string | undefined;
};
export declare const CreateDeploymentGitSourceDeploymentsRequestRequestBody8Type: {
    readonly Bitbucket: "bitbucket";
};
export type CreateDeploymentGitSourceDeploymentsRequestRequestBody8Type = ClosedEnum<typeof CreateDeploymentGitSourceDeploymentsRequestRequestBody8Type>;
export type GitSource8 = {
    owner: string;
    ref: string;
    sha?: string | undefined;
    slug: string;
    type: CreateDeploymentGitSourceDeploymentsRequestRequestBody8Type;
};
export declare const CreateDeploymentGitSourceDeploymentsRequestRequestBody7Type: {
    readonly Bitbucket: "bitbucket";
};
export type CreateDeploymentGitSourceDeploymentsRequestRequestBody7Type = ClosedEnum<typeof CreateDeploymentGitSourceDeploymentsRequestRequestBody7Type>;
export type GitSource7 = {
    ref: string;
    repoUuid: string;
    sha?: string | undefined;
    type: CreateDeploymentGitSourceDeploymentsRequestRequestBody7Type;
    workspaceUuid?: string | undefined;
};
export type ProjectId = number | string;
export declare const CreateDeploymentGitSourceDeploymentsRequestRequestBody6Type: {
    readonly Gitlab: "gitlab";
};
export type CreateDeploymentGitSourceDeploymentsRequestRequestBody6Type = ClosedEnum<typeof CreateDeploymentGitSourceDeploymentsRequestRequestBody6Type>;
export type GitSource6 = {
    projectId: number | string;
    ref: string;
    sha?: string | undefined;
    type: CreateDeploymentGitSourceDeploymentsRequestRequestBody6Type;
};
export declare const CreateDeploymentGitSourceDeploymentsRequestRequestBodyType: {
    readonly GithubLimited: "github-limited";
};
export type CreateDeploymentGitSourceDeploymentsRequestRequestBodyType = ClosedEnum<typeof CreateDeploymentGitSourceDeploymentsRequestRequestBodyType>;
export type GitSource5 = {
    org: string;
    ref: string;
    repo: string;
    sha?: string | undefined;
    type: CreateDeploymentGitSourceDeploymentsRequestRequestBodyType;
};
export type GitSourceRepoId = number | string;
export declare const CreateDeploymentGitSourceDeploymentsRequestType: {
    readonly GithubLimited: "github-limited";
};
export type CreateDeploymentGitSourceDeploymentsRequestType = ClosedEnum<typeof CreateDeploymentGitSourceDeploymentsRequestType>;
export type GitSource4 = {
    ref: string;
    repoId: number | string;
    sha?: string | undefined;
    type: CreateDeploymentGitSourceDeploymentsRequestType;
};
export declare const CreateDeploymentGitSourceDeploymentsType: {
    readonly Github: "github";
};
export type CreateDeploymentGitSourceDeploymentsType = ClosedEnum<typeof CreateDeploymentGitSourceDeploymentsType>;
export type GitSource3 = {
    org: string;
    ref: string;
    repo: string;
    sha?: string | undefined;
    type: CreateDeploymentGitSourceDeploymentsType;
};
export type RepoId = number | string;
export declare const CreateDeploymentGitSourceType: {
    readonly Github: "github";
};
export type CreateDeploymentGitSourceType = ClosedEnum<typeof CreateDeploymentGitSourceType>;
export type GitSource2 = {
    ref: string;
    repoId: number | string;
    sha?: string | undefined;
    type: CreateDeploymentGitSourceType;
};
export declare const GitSourceType: {
    readonly Vercel: "vercel";
};
export type GitSourceType = ClosedEnum<typeof GitSourceType>;
export type GitSource1 = {
    type: GitSourceType;
    sha: string;
};
/**
 * Defines the Git Repository source to be deployed. This property can not be used in combination with `files`.
 */
export type GitSource = GitSource3 | GitSource5 | GitSource8 | GitSource2 | GitSource4 | GitSource6 | GitSource7 | GitSource1;
/**
 * The framework that is being used for this project. When `null` is used no framework is selected
 */
export declare const Framework: {
    readonly Blitzjs: "blitzjs";
    readonly Nextjs: "nextjs";
    readonly Gatsby: "gatsby";
    readonly Remix: "remix";
    readonly ReactRouter: "react-router";
    readonly Astro: "astro";
    readonly Hexo: "hexo";
    readonly Eleventy: "eleventy";
    readonly Docusaurus2: "docusaurus-2";
    readonly Docusaurus: "docusaurus";
    readonly Preact: "preact";
    readonly Solidstart1: "solidstart-1";
    readonly Solidstart: "solidstart";
    readonly Dojo: "dojo";
    readonly Ember: "ember";
    readonly Vue: "vue";
    readonly Scully: "scully";
    readonly IonicAngular: "ionic-angular";
    readonly Angular: "angular";
    readonly Polymer: "polymer";
    readonly Svelte: "svelte";
    readonly Sveltekit: "sveltekit";
    readonly Sveltekit1: "sveltekit-1";
    readonly IonicReact: "ionic-react";
    readonly CreateReactApp: "create-react-app";
    readonly Gridsome: "gridsome";
    readonly Umijs: "umijs";
    readonly Sapper: "sapper";
    readonly Saber: "saber";
    readonly Stencil: "stencil";
    readonly Nuxtjs: "nuxtjs";
    readonly Redwoodjs: "redwoodjs";
    readonly Hugo: "hugo";
    readonly Jekyll: "jekyll";
    readonly Brunch: "brunch";
    readonly Middleman: "middleman";
    readonly Zola: "zola";
    readonly Hydrogen: "hydrogen";
    readonly Vite: "vite";
    readonly TanstackStart: "tanstack-start";
    readonly Vitepress: "vitepress";
    readonly Vuepress: "vuepress";
    readonly Parcel: "parcel";
    readonly Fastapi: "fastapi";
    readonly Flask: "flask";
    readonly Fasthtml: "fasthtml";
    readonly Django: "django";
    readonly Ash: "ash";
    readonly Eve: "eve";
    readonly Sanity: "sanity";
    readonly SanityV2: "sanity-v2";
    readonly Storybook: "storybook";
    readonly Nitro: "nitro";
    readonly Hono: "hono";
    readonly Express: "express";
    readonly H3: "h3";
    readonly Koa: "koa";
    readonly Nestjs: "nestjs";
    readonly Elysia: "elysia";
    readonly Fastify: "fastify";
    readonly Xmcp: "xmcp";
    readonly Python: "python";
    readonly Ruby: "ruby";
    readonly Rust: "rust";
    readonly Axum: "axum";
    readonly ActixWeb: "actix-web";
    readonly Bun: "bun";
    readonly Node: "node";
    readonly Go: "go";
    readonly Services: "services";
    readonly Mastra: "mastra";
};
/**
 * The framework that is being used for this project. When `null` is used no framework is selected
 */
export type Framework = ClosedEnum<typeof Framework>;
/**
 * Override the Node.js version that should be used for this deployment
 */
export declare const NodeVersion: {
    readonly TwentyFourDotX: "24.x";
    readonly TwentyTwoDotX: "22.x";
    readonly TwentyDotX: "20.x";
    readonly EighteenDotX: "18.x";
    readonly SixteenDotX: "16.x";
    readonly FourteenDotX: "14.x";
    readonly TwelveDotX: "12.x";
    readonly TenDotX: "10.x";
    readonly EightDot10DotX: "8.10.x";
};
/**
 * Override the Node.js version that should be used for this deployment
 */
export type NodeVersion = ClosedEnum<typeof NodeVersion>;
/**
 * Project settings that will be applied to the deployment. It is required for the first deployment of a project and will be saved for any following deployments
 */
export type ProjectSettings = {
    /**
     * The build command for this project. When `null` is used this value will be automatically detected
     */
    buildCommand?: string | null | undefined;
    commandForIgnoringBuildStep?: string | null | undefined;
    /**
     * The dev command for this project. When `null` is used this value will be automatically detected
     */
    devCommand?: string | null | undefined;
    /**
     * The framework that is being used for this project. When `null` is used no framework is selected
     */
    framework?: Framework | null | undefined;
    /**
     * The install command for this project. When `null` is used this value will be automatically detected
     */
    installCommand?: string | null | undefined;
    /**
     * Override the Node.js version that should be used for this deployment
     */
    nodeVersion?: NodeVersion | undefined;
    /**
     * The output directory of the project. When `null` is used this value will be automatically detected
     */
    outputDirectory?: string | null | undefined;
    /**
     * The name of a directory or relative path to the source code of your project. When `null` is used it will default to the project root
     */
    rootDirectory?: string | null | undefined;
    /**
     * The region to deploy Serverless Functions in this project
     */
    serverlessFunctionRegion?: string | null | undefined;
    /**
     * Opts-out of the message prompting a CLI user to connect a Git repository in `vercel link`.
     *
     * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
     */
    skipGitConnectDuringLink?: boolean | undefined;
    /**
     * Indicates if there are source files outside of the root directory, typically used for monorepos
     */
    sourceFilesOutsideRootDirectory?: boolean | undefined;
};
export type CreateDeploymentRequestBody = {
    /**
     * Deploy to a custom environment, which will override the default environment
     */
    customEnvironmentSlugOrId?: string | undefined;
    /**
     * An deployment id for an existing deployment to redeploy
     */
    deploymentId?: string | undefined;
    /**
     * A list of objects with the files to be deployed
     */
    files?: Array<InlinedFile | UploadedFile> | undefined;
    /**
     * Populates initial git metadata for different git providers.
     */
    gitMetadata?: GitMetadata | undefined;
    /**
     * Defines the Git Repository source to be deployed. This property can not be used in combination with `files`.
     */
    gitSource?: GitSource3 | GitSource5 | GitSource8 | GitSource2 | GitSource4 | GitSource6 | GitSource7 | GitSource1 | undefined;
    /**
     * An object containing the deployment's metadata. Multiple key-value pairs can be attached to a deployment
     */
    meta?: {
        [k: string]: string;
    } | undefined;
    /**
     * The monorepo manager that is being used for this deployment. When `null` is used no monorepo manager is selected
     */
    monorepoManager?: string | null | undefined;
    /**
     * A string with the project name used in the deployment URL
     */
    name: string;
    /**
     * The target project identifier in which the deployment will be created. When defined, this parameter overrides name
     */
    project?: string | undefined;
    /**
     * Project settings that will be applied to the deployment. It is required for the first deployment of a project and will be saved for any following deployments
     */
    projectSettings?: ProjectSettings | undefined;
    /**
     * Either not defined, `staging`, `production`, or a custom environment identifier. If `staging`, a staging alias in the format `<project>-<team>.vercel.app` will be assigned. If `production`, any aliases defined in `alias` will be assigned. If omitted, the target will be `preview`.
     */
    target?: string | undefined;
    /**
     * When `true` and `deploymentId` is passed in, the sha from the previous deployment's `gitSource` is removed forcing the latest commit to be used.
     */
    withLatestCommit?: boolean | undefined;
};
export type CreateDeploymentRequest = {
    /**
     * Forces a new deployment even if there is a previous similar deployment
     */
    forceNew?: ForceNew | undefined;
    /**
     * Allows to skip framework detection so the API would not fail to ask for confirmation
     */
    skipAutoDetectionConfirmation?: SkipAutoDetectionConfirmation | undefined;
    /**
     * The Team identifier to perform the request on behalf of.
     */
    teamId?: string | undefined;
    /**
     * The Team slug to perform the request on behalf of.
     */
    slug?: string | undefined;
    requestBody: CreateDeploymentRequestBody;
};
export type AliasAssignedAt = number | boolean;
export type Build = {
    env: Array<string>;
};
export type Builds = {
    use: string;
    src?: string | undefined;
    config?: {
        [k: string]: any;
    } | undefined;
};
export declare const CreateDeploymentDeploymentsNodeVersion: {
    readonly TenDotX: "10.x";
    readonly TwelveDotX: "12.x";
    readonly FourteenDotX: "14.x";
    readonly SixteenDotX: "16.x";
    readonly EighteenDotX: "18.x";
    readonly TwentyDotX: "20.x";
    readonly TwentyTwoDotX: "22.x";
    readonly TwentyFourDotX: "24.x";
    readonly EightDot10DotX: "8.10.x";
};
export type CreateDeploymentDeploymentsNodeVersion = ClosedEnum<typeof CreateDeploymentDeploymentsNodeVersion>;
export declare const CreateDeploymentFramework: {
    readonly ActixWeb: "actix-web";
    readonly Angular: "angular";
    readonly Ash: "ash";
    readonly Astro: "astro";
    readonly Axum: "axum";
    readonly Blitzjs: "blitzjs";
    readonly Brunch: "brunch";
    readonly Bun: "bun";
    readonly CreateReactApp: "create-react-app";
    readonly Django: "django";
    readonly Docusaurus: "docusaurus";
    readonly Docusaurus2: "docusaurus-2";
    readonly Dojo: "dojo";
    readonly Eleventy: "eleventy";
    readonly Elysia: "elysia";
    readonly Ember: "ember";
    readonly Eve: "eve";
    readonly Express: "express";
    readonly Fastapi: "fastapi";
    readonly Fasthtml: "fasthtml";
    readonly Fastify: "fastify";
    readonly Flask: "flask";
    readonly Gatsby: "gatsby";
    readonly Go: "go";
    readonly Gridsome: "gridsome";
    readonly H3: "h3";
    readonly Hexo: "hexo";
    readonly Hono: "hono";
    readonly Hugo: "hugo";
    readonly Hydrogen: "hydrogen";
    readonly IonicAngular: "ionic-angular";
    readonly IonicReact: "ionic-react";
    readonly Jekyll: "jekyll";
    readonly Koa: "koa";
    readonly Mastra: "mastra";
    readonly Middleman: "middleman";
    readonly Nestjs: "nestjs";
    readonly Nextjs: "nextjs";
    readonly Nitro: "nitro";
    readonly Node: "node";
    readonly Nuxtjs: "nuxtjs";
    readonly Parcel: "parcel";
    readonly Polymer: "polymer";
    readonly Preact: "preact";
    readonly Python: "python";
    readonly ReactRouter: "react-router";
    readonly Redwoodjs: "redwoodjs";
    readonly Remix: "remix";
    readonly Ruby: "ruby";
    readonly Rust: "rust";
    readonly Saber: "saber";
    readonly Sanity: "sanity";
    readonly SanityV2: "sanity-v2";
    readonly Sapper: "sapper";
    readonly Scully: "scully";
    readonly Services: "services";
    readonly Solidstart: "solidstart";
    readonly Solidstart1: "solidstart-1";
    readonly Stencil: "stencil";
    readonly Storybook: "storybook";
    readonly Svelte: "svelte";
    readonly Sveltekit: "sveltekit";
    readonly Sveltekit1: "sveltekit-1";
    readonly TanstackStart: "tanstack-start";
    readonly Umijs: "umijs";
    readonly Vite: "vite";
    readonly Vitepress: "vitepress";
    readonly Vue: "vue";
    readonly Vuepress: "vuepress";
    readonly Xmcp: "xmcp";
    readonly Zola: "zola";
};
export type CreateDeploymentFramework = ClosedEnum<typeof CreateDeploymentFramework>;
export type CreateDeploymentSpeedInsights = {
    id: string;
    enabledAt?: number | undefined;
    disabledAt?: number | undefined;
    canceledAt?: number | undefined;
    hasData?: boolean | undefined;
    paidAt?: number | undefined;
};
export type CreateDeploymentWebAnalytics = {
    id: string;
    disabledAt?: number | undefined;
    canceledAt?: number | undefined;
    enabledAt?: number | undefined;
    hasData?: true | undefined;
};
export type CreateDeploymentProjectSettings = {
    nodeVersion?: CreateDeploymentDeploymentsNodeVersion | undefined;
    buildCommand?: string | null | undefined;
    devCommand?: string | null | undefined;
    framework?: CreateDeploymentFramework | null | undefined;
    commandForIgnoringBuildStep?: string | null | undefined;
    installCommand?: string | null | undefined;
    outputDirectory?: string | null | undefined;
    speedInsights?: CreateDeploymentSpeedInsights | undefined;
    webAnalytics?: CreateDeploymentWebAnalytics | undefined;
};
export declare const CreateDeploymentDeploymentsStatus: {
    readonly Error: "error";
    readonly Pending: "pending";
    readonly Ready: "ready";
    readonly Skipped: "skipped";
    readonly Timeout: "timeout";
};
export type CreateDeploymentDeploymentsStatus = ClosedEnum<typeof CreateDeploymentDeploymentsStatus>;
export type Integrations = {
    status: CreateDeploymentDeploymentsStatus;
    startedAt: number;
    claimedAt?: number | undefined;
    completedAt?: number | undefined;
    skippedAt?: number | undefined;
    skippedBy?: string | undefined;
};
/**
 * Must be `http` or `https`.
 */
export declare const Protocol: {
    readonly Http: "http";
    readonly Https: "https";
};
/**
 * Must be `http` or `https`.
 */
export type Protocol = ClosedEnum<typeof Protocol>;
export type RemotePatterns = {
    /**
     * Must be `http` or `https`.
     */
    protocol?: Protocol | undefined;
    /**
     * Can be literal or wildcard. Single `*` matches a single subdomain. Double `**` matches any number of subdomains.
     */
    hostname: string;
    /**
     * Can be literal port such as `8080` or empty string meaning no port.
     */
    port?: string | undefined;
    /**
     * Can be literal or wildcard. Single `*` matches a single path segment. Double `**` matches any number of path segments.
     */
    pathname?: string | undefined;
    /**
     * Can be literal query string such as `?v=1` or empty string meaning no query string.
     */
    search?: string | undefined;
};
export type LocalPatterns = {
    /**
     * Can be literal or wildcard. Single `*` matches a single path segment. Double `**` matches any number of path segments.
     */
    pathname?: string | undefined;
    /**
     * Can be literal query string such as `?v=1` or empty string meaning no query string.
     */
    search?: string | undefined;
};
export declare const Formats: {
    readonly ImageAvif: "image/avif";
    readonly ImageWebp: "image/webp";
};
export type Formats = ClosedEnum<typeof Formats>;
export declare const ContentDispositionType: {
    readonly Attachment: "attachment";
    readonly Inline: "inline";
};
export type ContentDispositionType = ClosedEnum<typeof ContentDispositionType>;
export type Images = {
    sizes?: Array<number> | undefined;
    qualities?: Array<number> | undefined;
    domains?: Array<string> | undefined;
    remotePatterns?: Array<RemotePatterns> | undefined;
    localPatterns?: Array<LocalPatterns> | undefined;
    minimumCacheTTL?: number | undefined;
    formats?: Array<Formats> | undefined;
    dangerouslyAllowSVG?: boolean | undefined;
    contentSecurityPolicy?: string | undefined;
    contentDispositionType?: ContentDispositionType | undefined;
};
/**
 * Information about the deployment creator
 */
export type CreateDeploymentCreator = {
    /**
     * The ID of the user that created the deployment
     */
    uid: string;
    /**
     * The username of the user that created the deployment
     */
    username?: string | undefined;
    /**
     * The avatar of the user that created the deployment
     */
    avatar?: string | undefined;
};
export declare const CreateDeploymentReadyState: {
    readonly Building: "BUILDING";
    readonly Error: "ERROR";
    readonly Initializing: "INITIALIZING";
    readonly Ready: "READY";
};
export type CreateDeploymentReadyState = ClosedEnum<typeof CreateDeploymentReadyState>;
export type CreateDeploymentOutput = {
    path: string;
    functionName: string;
};
/**
 * A partial representation of a Build used by the deployment endpoint.
 */
export type Lambdas = {
    id: string;
    createdAt?: number | undefined;
    readyState?: CreateDeploymentReadyState | undefined;
    entrypoint?: string | null | undefined;
    readyStateAt?: number | undefined;
    output: Array<CreateDeploymentOutput>;
};
export declare const CreateDeploymentStatus: {
    readonly Blocked: "BLOCKED";
    readonly Building: "BUILDING";
    readonly Canceled: "CANCELED";
    readonly Error: "ERROR";
    readonly Initializing: "INITIALIZING";
    readonly Queued: "QUEUED";
    readonly Ready: "READY";
};
export type CreateDeploymentStatus = ClosedEnum<typeof CreateDeploymentStatus>;
/**
 * The team that owns the deployment if any
 */
export type CreateDeploymentTeam = {
    id: string;
    name: string;
    slug: string;
    avatar?: string | undefined;
};
/**
 * If the deployment was created using a Custom Environment, then this property contains information regarding the environment used.
 */
export type CustomEnvironment2 = {
    id: string;
};
/**
 * The type of environment (production, preview, or development)
 */
export declare const CustomEnvironmentType: {
    readonly Development: "development";
    readonly Preview: "preview";
    readonly Production: "production";
};
/**
 * The type of environment (production, preview, or development)
 */
export type CustomEnvironmentType = ClosedEnum<typeof CustomEnvironmentType>;
/**
 * The type of matching to perform
 */
export declare const CreateDeploymentCustomEnvironmentType: {
    readonly EndsWith: "endsWith";
    readonly Equals: "equals";
    readonly StartsWith: "startsWith";
};
/**
 * The type of matching to perform
 */
export type CreateDeploymentCustomEnvironmentType = ClosedEnum<typeof CreateDeploymentCustomEnvironmentType>;
/**
 * Configuration for matching git branches to this environment
 */
export type CreateDeploymentCustomEnvironmentBranchMatcher = {
    /**
     * The type of matching to perform
     */
    type: CreateDeploymentCustomEnvironmentType;
    /**
     * The pattern to match against branch names
     */
    pattern: string;
};
/**
 * A list of verification challenges, one of which must be completed to verify the domain for use on the project. After the challenge is complete `POST /projects/:idOrName/domains/:domain/verify` to verify the domain. Possible challenges: - If `verification.type = TXT` the `verification.domain` will be checked for a TXT record matching `verification.value`.
 */
export type CreateDeploymentCustomEnvironmentVerification = {
    type: string;
    domain: string;
    value: string;
    reason: string;
};
/**
 * List of domains associated with this environment
 */
export type CreateDeploymentCustomEnvironmentDomains = {
    name: string;
    apexName: string;
    projectId: string;
    redirect?: string | null | undefined;
    redirectStatusCode?: number | null | undefined;
    gitBranch?: string | null | undefined;
    customEnvironmentId?: string | null | undefined;
    updatedAt?: number | undefined;
    createdAt?: number | undefined;
    /**
     * `true` if the domain is verified for use with the project. If `false` it will not be used as an alias on this project until the challenge in `verification` is completed.
     */
    verified: boolean;
    /**
     * A list of verification challenges, one of which must be completed to verify the domain for use on the project. After the challenge is complete `POST /projects/:idOrName/domains/:domain/verify` to verify the domain. Possible challenges: - If `verification.type = TXT` the `verification.domain` will be checked for a TXT record matching `verification.value`.
     */
    verification?: Array<CreateDeploymentCustomEnvironmentVerification> | undefined;
};
/**
 * If the deployment was created using a Custom Environment, then this property contains information regarding the environment used.
 */
export type CustomEnvironment1 = {
    /**
     * Unique identifier for the custom environment (format: env_*)
     */
    id: string;
    /**
     * URL-friendly name of the environment
     */
    slug: string;
    /**
     * The type of environment (production, preview, or development)
     */
    type: CustomEnvironmentType;
    /**
     * Optional description of the environment's purpose
     */
    description?: string | undefined;
    /**
     * Configuration for matching git branches to this environment
     */
    branchMatcher?: CreateDeploymentCustomEnvironmentBranchMatcher | undefined;
    /**
     * List of domains associated with this environment
     */
    domains?: Array<CreateDeploymentCustomEnvironmentDomains> | undefined;
    /**
     * List of aliases for the current deployment
     */
    currentDeploymentAliases?: Array<string> | undefined;
    /**
     * Timestamp when the environment was created
     */
    createdAt: number;
    /**
     * Timestamp when the environment was last updated
     */
    updatedAt: number;
};
export type CustomEnvironment = CustomEnvironment1 | CustomEnvironment2;
export declare const OomReport: {
    readonly OutOfMemory: "out-of-memory";
};
export type OomReport = ClosedEnum<typeof OomReport>;
export type AliasWarning = {
    code: string;
    message: string;
    link?: string | undefined;
    action?: string | undefined;
};
/**
 * The state of the deployment depending on the process of deploying, or if it is ready or in an error state
 */
export declare const ReadyState: {
    readonly Blocked: "BLOCKED";
    readonly Building: "BUILDING";
    readonly Canceled: "CANCELED";
    readonly Error: "ERROR";
    readonly Initializing: "INITIALIZING";
    readonly Queued: "QUEUED";
    readonly Ready: "READY";
};
/**
 * The state of the deployment depending on the process of deploying, or if it is ready or in an error state
 */
export type ReadyState = ClosedEnum<typeof ReadyState>;
export declare const CreateDeploymentType: {
    readonly Lambdas: "LAMBDAS";
};
export type CreateDeploymentType = ClosedEnum<typeof CreateDeploymentType>;
/**
 * An object that will contain a `code` and a `message` when the aliasing fails, otherwise the value will be `null`
 */
export type AliasError = {
    code: string;
    message: string;
};
export declare const ChecksState: {
    readonly Completed: "completed";
    readonly Registered: "registered";
    readonly Running: "running";
};
export type ChecksState = ClosedEnum<typeof ChecksState>;
export declare const ChecksConclusion: {
    readonly Canceled: "canceled";
    readonly Failed: "failed";
    readonly Skipped: "skipped";
    readonly Succeeded: "succeeded";
};
export type ChecksConclusion = ClosedEnum<typeof ChecksConclusion>;
export declare const CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody17Type: {
    readonly Vercel: "vercel";
};
export type CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody17Type = ClosedEnum<typeof CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody17Type>;
export type CreateDeploymentGitSource17 = {
    type: CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody17Type;
    ref: string;
    sha: string;
    org: string;
    repo: string;
    repoPushedAt?: number | undefined;
};
export declare const CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody16Type: {
    readonly Bitbucket: "bitbucket";
};
export type CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody16Type = ClosedEnum<typeof CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody16Type>;
export type CreateDeploymentGitSource16 = {
    type: CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody16Type;
    ref: string;
    sha: string;
    owner?: string | undefined;
    slug?: string | undefined;
    workspaceUuid: string;
    repoUuid: string;
};
export declare const CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody15Type: {
    readonly Gitlab: "gitlab";
};
export type CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody15Type = ClosedEnum<typeof CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody15Type>;
export type CreateDeploymentGitSource15 = {
    type: CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody15Type;
    ref: string;
    sha: string;
    projectId: number;
};
export declare const CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody14Type: {
    readonly GithubLimited: "github-limited";
};
export type CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody14Type = ClosedEnum<typeof CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody14Type>;
export type CreateDeploymentGitSource14 = {
    type: CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody14Type;
    ref: string;
    sha: string;
    repoId: number;
    org?: string | undefined;
    repo?: string | undefined;
};
export declare const CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody13Type: {
    readonly GithubCustomHost: "github-custom-host";
};
export type CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody13Type = ClosedEnum<typeof CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody13Type>;
export type CreateDeploymentGitSource13 = {
    type: CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody13Type;
    host: string;
    ref: string;
    sha: string;
    repoId: number;
    org?: string | undefined;
    repo?: string | undefined;
};
export declare const CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody12Type: {
    readonly Github: "github";
};
export type CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody12Type = ClosedEnum<typeof CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody12Type>;
export type CreateDeploymentGitSource12 = {
    type: CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody12Type;
    ref: string;
    sha: string;
    repoId: number;
    org?: string | undefined;
    repo?: string | undefined;
};
export declare const CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody11Type: {
    readonly Custom: "custom";
};
export type CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody11Type = ClosedEnum<typeof CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody11Type>;
/**
 * Allows custom git sources (local folder mounted to the container) in test mode
 */
export type CreateDeploymentGitSource11 = {
    type: CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody11Type;
    ref: string;
    sha: string;
    gitUrl: string;
};
export declare const CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody10Type: {
    readonly Vercel: "vercel";
};
export type CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody10Type = ClosedEnum<typeof CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody10Type>;
export type CreateDeploymentGitSource10 = {
    type: CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody10Type;
    org?: string | undefined;
    repo?: string | undefined;
    sha: string;
    repoPushedAt?: number | undefined;
    ref?: string | null | undefined;
    prId?: number | null | undefined;
};
export declare const CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody9Type: {
    readonly Bitbucket: "bitbucket";
};
export type CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody9Type = ClosedEnum<typeof CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody9Type>;
export type CreateDeploymentGitSource9 = {
    type: CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody9Type;
    owner: string;
    slug: string;
    ref?: string | null | undefined;
    sha?: string | undefined;
    prId?: number | null | undefined;
};
export declare const CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody8Type: {
    readonly Bitbucket: "bitbucket";
};
export type CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody8Type = ClosedEnum<typeof CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody8Type>;
export type CreateDeploymentGitSource8 = {
    type: CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody8Type;
    workspaceUuid?: string | undefined;
    repoUuid: string;
    ref?: string | null | undefined;
    sha?: string | undefined;
    prId?: number | null | undefined;
};
export declare const CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody7Type: {
    readonly Gitlab: "gitlab";
};
export type CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody7Type = ClosedEnum<typeof CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody7Type>;
export type GitSourceProjectId = string | number;
export type CreateDeploymentGitSource7 = {
    type: CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody7Type;
    projectId: string | number;
    ref?: string | null | undefined;
    sha?: string | undefined;
    prId?: number | null | undefined;
};
export declare const CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody6Type: {
    readonly GithubLimited: "github-limited";
};
export type CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody6Type = ClosedEnum<typeof CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody6Type>;
export type CreateDeploymentGitSource6 = {
    type: CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody6Type;
    org: string;
    repo: string;
    ref?: string | null | undefined;
    sha?: string | undefined;
    prId?: number | null | undefined;
};
export declare const CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody5Type: {
    readonly GithubLimited: "github-limited";
};
export type CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody5Type = ClosedEnum<typeof CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody5Type>;
export type CreateDeploymentGitSourceDeploymentsResponseRepoId = string | number;
export type CreateDeploymentGitSource5 = {
    type: CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody5Type;
    repoId: string | number;
    ref?: string | null | undefined;
    sha?: string | undefined;
    prId?: number | null | undefined;
};
export declare const CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBodyType: {
    readonly GithubCustomHost: "github-custom-host";
};
export type CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBodyType = ClosedEnum<typeof CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBodyType>;
export type CreateDeploymentGitSource4 = {
    type: CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBodyType;
    host: string;
    org: string;
    repo: string;
    ref?: string | null | undefined;
    sha?: string | undefined;
    prId?: number | null | undefined;
};
export declare const CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONType: {
    readonly GithubCustomHost: "github-custom-host";
};
export type CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONType = ClosedEnum<typeof CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONType>;
export type CreateDeploymentGitSourceDeploymentsRepoId = string | number;
export type CreateDeploymentGitSource3 = {
    type: CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONType;
    host: string;
    repoId: string | number;
    ref?: string | null | undefined;
    sha?: string | undefined;
    prId?: number | null | undefined;
};
export declare const CreateDeploymentGitSourceDeploymentsResponse200Type: {
    readonly Github: "github";
};
export type CreateDeploymentGitSourceDeploymentsResponse200Type = ClosedEnum<typeof CreateDeploymentGitSourceDeploymentsResponse200Type>;
export type CreateDeploymentGitSource2 = {
    type: CreateDeploymentGitSourceDeploymentsResponse200Type;
    org: string;
    repo: string;
    ref?: string | null | undefined;
    sha?: string | undefined;
    prId?: number | null | undefined;
};
export declare const CreateDeploymentGitSourceDeploymentsResponseType: {
    readonly Github: "github";
};
export type CreateDeploymentGitSourceDeploymentsResponseType = ClosedEnum<typeof CreateDeploymentGitSourceDeploymentsResponseType>;
export type CreateDeploymentGitSourceRepoId = string | number;
export type CreateDeploymentGitSource1 = {
    type: CreateDeploymentGitSourceDeploymentsResponseType;
    repoId: string | number;
    ref?: string | null | undefined;
    sha?: string | undefined;
    prId?: number | null | undefined;
};
export type CreateDeploymentGitSource = CreateDeploymentGitSource13 | CreateDeploymentGitSource16 | CreateDeploymentGitSource17 | CreateDeploymentGitSource4 | CreateDeploymentGitSource11 | CreateDeploymentGitSource12 | CreateDeploymentGitSource14 | CreateDeploymentGitSource15 | CreateDeploymentGitSource2 | CreateDeploymentGitSource3 | CreateDeploymentGitSource6 | CreateDeploymentGitSource9 | CreateDeploymentGitSource1 | CreateDeploymentGitSource5 | CreateDeploymentGitSource7 | CreateDeploymentGitSource8 | CreateDeploymentGitSource10;
/**
 * Current provisioning state
 */
export declare const CreateDeploymentState: {
    readonly Complete: "COMPLETE";
    readonly Pending: "PENDING";
    readonly Timeout: "TIMEOUT";
};
/**
 * Current provisioning state
 */
export type CreateDeploymentState = ClosedEnum<typeof CreateDeploymentState>;
/**
 * Present when deployment was created with manual provisioning enabled, either explicitly or via the experimental BYOC git flow. The deployment stays in INITIALIZING until /continue is called.
 */
export type ManualProvisioning = {
    /**
     * Current provisioning state
     */
    state: CreateDeploymentState;
    /**
     * Timestamp when manual provisioning completed
     */
    completedAt?: number | undefined;
};
/**
 * If set it overrides the `projectSettings.nodeVersion` for this deployment.
 */
export declare const CreateDeploymentNodeVersion: {
    readonly TenDotX: "10.x";
    readonly TwelveDotX: "12.x";
    readonly FourteenDotX: "14.x";
    readonly SixteenDotX: "16.x";
    readonly EighteenDotX: "18.x";
    readonly TwentyDotX: "20.x";
    readonly TwentyTwoDotX: "22.x";
    readonly TwentyFourDotX: "24.x";
    readonly EightDot10DotX: "8.10.x";
};
/**
 * If set it overrides the `projectSettings.nodeVersion` for this deployment.
 */
export type CreateDeploymentNodeVersion = ClosedEnum<typeof CreateDeploymentNodeVersion>;
/**
 * The public project information associated with the deployment.
 */
export type CreateDeploymentProject = {
    id: string;
    name: string;
    framework?: string | null | undefined;
};
/**
 * Substate of deployment when readyState is 'READY' Tracks whether or not deployment has seen production traffic: - STAGED: never seen production traffic - ROLLING: in the process of having production traffic gradually transitioned. - PROMOTED: has seen production traffic
 */
export declare const ReadySubstate: {
    readonly Promoted: "PROMOTED";
    readonly Rolling: "ROLLING";
    readonly Staged: "STAGED";
};
/**
 * Substate of deployment when readyState is 'READY' Tracks whether or not deployment has seen production traffic: - STAGED: never seen production traffic - ROLLING: in the process of having production traffic gradually transitioned. - PROMOTED: has seen production traffic
 */
export type ReadySubstate = ClosedEnum<typeof ReadySubstate>;
/**
 * Where was the deployment created from. Best-effort guess for metrics only — not authoritative; do not gate behavior on it.
 */
export declare const CreateDeploymentSource: {
    readonly ApiTriggerGitDeploy: "api-trigger-git-deploy";
    readonly Cli: "cli";
    readonly CloneRepo: "clone/repo";
    readonly Drop: "drop";
    readonly Git: "git";
    readonly Import: "import";
    readonly ImportRepo: "import/repo";
    readonly Redeploy: "redeploy";
    readonly V0Web: "v0-web";
};
/**
 * Where was the deployment created from. Best-effort guess for metrics only — not authoritative; do not gate behavior on it.
 */
export type CreateDeploymentSource = ClosedEnum<typeof CreateDeploymentSource>;
/**
 * If defined, either `staging` if a staging alias in the format `<project>.<team>.now.sh` was assigned upon creation, or `production` if the aliases from `alias` were assigned. `null` value indicates the "preview" deployment.
 */
export declare const CreateDeploymentTarget: {
    readonly Production: "production";
    readonly Staging: "staging";
};
/**
 * If defined, either `staging` if a staging alias in the format `<project>.<team>.now.sh` was assigned upon creation, or `production` if the aliases from `alias` were assigned. `null` value indicates the "preview" deployment.
 */
export type CreateDeploymentTarget = ClosedEnum<typeof CreateDeploymentTarget>;
export type OidcTokenClaims = {
    iss: string;
    sub: string;
    scope: string;
    aud: string;
    owner: string;
    ownerId: string;
    project: string;
    projectId: string;
    environment: string;
    customEnvironmentId?: string | undefined;
    plan?: string | undefined;
};
export declare const CreateDeploymentPlan: {
    readonly Enterprise: "enterprise";
    readonly Hobby: "hobby";
    readonly Pro: "pro";
};
export type CreateDeploymentPlan = ClosedEnum<typeof CreateDeploymentPlan>;
/**
 * The external platform that created the deployment (e.g. its display name).
 */
export type CreateDeploymentDeploymentsSource = {
    /**
     * Display name of the platform.
     */
    name: string;
};
/**
 * Whether the value is an opaque identifier or a URL.
 */
export declare const CreateDeploymentDeploymentsType: {
    readonly Id: "id";
    readonly Url: "url";
};
/**
 * Whether the value is an opaque identifier or a URL.
 */
export type CreateDeploymentDeploymentsType = ClosedEnum<typeof CreateDeploymentDeploymentsType>;
/**
 * Reference back to the entity on the platform that initiated the deployment.
 */
export type CreateDeploymentOrigin = {
    /**
     * Whether the value is an opaque identifier or a URL.
     */
    type: CreateDeploymentDeploymentsType;
    /**
     * The identifier or URL pointing to the originating entity.
     */
    value: string;
};
/**
 * The user on the external platform who triggered the deployment.
 */
export type CreateDeploymentDeploymentsCreator = {
    /**
     * Display name of the platform user.
     */
    name: string;
    /**
     * URL of the platform user's avatar image.
     */
    avatar?: string | undefined;
};
/**
 * Metadata about the source platform that triggered the deployment. Allows us to map a deployment back to a platform (e.g. the chat that created it)
 */
export type Platform = {
    /**
     * The external platform that created the deployment (e.g. its display name).
     */
    source: CreateDeploymentDeploymentsSource;
    /**
     * Reference back to the entity on the platform that initiated the deployment.
     */
    origin: CreateDeploymentOrigin;
    /**
     * The user on the external platform who triggered the deployment.
     */
    creator: CreateDeploymentDeploymentsCreator;
    /**
     * Arbitrary key-value metadata provided by the platform.
     */
    meta?: {
        [k: string]: string;
    } | undefined;
};
export type Crons = {
    schedule: string;
    path: string;
};
export declare const Architecture: {
    readonly Arm64: "arm64";
    readonly X8664: "x86_64";
};
export type Architecture = ClosedEnum<typeof Architecture>;
export declare const MaxDuration2: {
    readonly Max: "max";
};
export type MaxDuration2 = ClosedEnum<typeof MaxDuration2>;
export type MaxDuration = number | MaxDuration2;
/**
 * Queue trigger input event for v2beta (from vercel.json config). Consumer name is implicitly derived from the function path. Only one trigger per function is allowed.
 */
export type ExperimentalTriggers2 = {
    /**
     * Event type - must be "queue/v2beta" (REQUIRED)
     */
    type: "queue/v2beta";
    /**
     * Name of the queue topic to consume from (REQUIRED)
     */
    topic: string;
    /**
     * Maximum number of delivery attempts for message processing (OPTIONAL) This represents the total number of times a message can be delivered, not the number of retries. Must be at least 1 if specified. Behavior when not specified depends on the server's default configuration.
     */
    maxDeliveries?: number | undefined;
    /**
     * Delay in seconds before retrying failed executions (OPTIONAL) Behavior when not specified depends on the server's default configuration.
     */
    retryAfterSeconds?: number | undefined;
    /**
     * Initial delay in seconds before first execution attempt (OPTIONAL) Must be 0 or greater. Use 0 for no initial delay. Behavior when not specified depends on the server's default configuration.
     */
    initialDelaySeconds?: number | undefined;
    /**
     * Maximum number of concurrent executions for this consumer (OPTIONAL) Must be at least 1 if specified. Behavior when not specified depends on the server's default configuration.
     */
    maxConcurrency?: number | undefined;
};
/**
 * Queue trigger input event for v1beta (from vercel.json config). Requires explicit consumer name.
 */
export type ExperimentalTriggers1 = {
    /**
     * Event type - must be "queue/v1beta" (REQUIRED)
     */
    type: "queue/v1beta";
    /**
     * Name of the consumer group for this trigger (REQUIRED)
     */
    consumer: string;
    /**
     * Name of the queue topic to consume from (REQUIRED)
     */
    topic: string;
    /**
     * Maximum number of delivery attempts for message processing (OPTIONAL) This represents the total number of times a message can be delivered, not the number of retries. Must be at least 1 if specified. Behavior when not specified depends on the server's default configuration.
     */
    maxDeliveries?: number | undefined;
    /**
     * Delay in seconds before retrying failed executions (OPTIONAL) Behavior when not specified depends on the server's default configuration.
     */
    retryAfterSeconds?: number | undefined;
    /**
     * Initial delay in seconds before first execution attempt (OPTIONAL) Must be 0 or greater. Use 0 for no initial delay. Behavior when not specified depends on the server's default configuration.
     */
    initialDelaySeconds?: number | undefined;
    /**
     * Maximum number of concurrent executions for this consumer (OPTIONAL) Must be at least 1 if specified. Behavior when not specified depends on the server's default configuration.
     */
    maxConcurrency?: number | undefined;
};
export type ExperimentalTriggers = ExperimentalTriggers1 | ExperimentalTriggers2;
export type Functions = {
    architecture?: Architecture | undefined;
    memory?: number | undefined;
    maxDuration?: number | MaxDuration2 | undefined;
    regions?: Array<string> | undefined;
    functionFailoverRegions?: Array<string> | undefined;
    runtime?: string | undefined;
    includeFiles?: string | undefined;
    excludeFiles?: string | undefined;
    experimentalTriggers?: Array<ExperimentalTriggers1 | ExperimentalTriggers2> | undefined;
    supportsCancellation?: boolean | undefined;
};
export type Routes3 = {
    src: string;
    continue: boolean;
    middleware: number;
};
export declare const Handle: {
    readonly Error: "error";
    readonly Filesystem: "filesystem";
    readonly Hit: "hit";
    readonly Miss: "miss";
    readonly Resource: "resource";
    readonly Rewrite: "rewrite";
};
export type Handle = ClosedEnum<typeof Handle>;
export type Routes2 = {
    handle: Handle;
    src?: string | undefined;
    dest?: string | undefined;
    status?: number | undefined;
};
export declare const CreateDeploymentHasType: {
    readonly Cookie: "cookie";
    readonly Header: "header";
    readonly Query: "query";
};
export type CreateDeploymentHasType = ClosedEnum<typeof CreateDeploymentHasType>;
export type ValueEq = string | number;
export type CreateDeploymentValue2 = {
    eq?: string | number | undefined;
    neq?: string | undefined;
    inc?: Array<string> | undefined;
    ninc?: Array<string> | undefined;
    pre?: string | undefined;
    suf?: string | undefined;
    re?: string | undefined;
    gt?: number | undefined;
    gte?: number | undefined;
    lt?: number | undefined;
    lte?: number | undefined;
};
export type HasValue = string | CreateDeploymentValue2;
export type Has2 = {
    type: CreateDeploymentHasType;
    key: string;
    value?: string | CreateDeploymentValue2 | undefined;
};
export type Eq = string | number;
export type CreateDeploymentValueDeploymentsResponse2002 = {
    eq?: string | number | undefined;
    neq?: string | undefined;
    inc?: Array<string> | undefined;
    ninc?: Array<string> | undefined;
    pre?: string | undefined;
    suf?: string | undefined;
    re?: string | undefined;
    gt?: number | undefined;
    gte?: number | undefined;
    lt?: number | undefined;
    lte?: number | undefined;
};
export type CreateDeploymentHasValue = string | CreateDeploymentValueDeploymentsResponse2002;
export type Has1 = {
    type: "host";
    value: string | CreateDeploymentValueDeploymentsResponse2002;
};
export type CreateDeploymentRoutesHas = Has1 | (Has2 & {
    type: "cookie";
}) | (Has2 & {
    type: "header";
}) | (Has2 & {
    type: "query";
});
export declare const CreateDeploymentMissingType: {
    readonly Cookie: "cookie";
    readonly Header: "header";
    readonly Query: "query";
};
export type CreateDeploymentMissingType = ClosedEnum<typeof CreateDeploymentMissingType>;
export type CreateDeploymentValueDeploymentsEq = string | number;
export type CreateDeploymentValueDeploymentsResponse2 = {
    eq?: string | number | undefined;
    neq?: string | undefined;
    inc?: Array<string> | undefined;
    ninc?: Array<string> | undefined;
    pre?: string | undefined;
    suf?: string | undefined;
    re?: string | undefined;
    gt?: number | undefined;
    gte?: number | undefined;
    lt?: number | undefined;
    lte?: number | undefined;
};
export type CreateDeploymentMissingValue = string | CreateDeploymentValueDeploymentsResponse2;
export type Missing2 = {
    type: CreateDeploymentMissingType;
    key: string;
    value?: string | CreateDeploymentValueDeploymentsResponse2 | undefined;
};
export type CreateDeploymentValueEq = string | number;
export type CreateDeploymentValueDeployments2 = {
    eq?: string | number | undefined;
    neq?: string | undefined;
    inc?: Array<string> | undefined;
    ninc?: Array<string> | undefined;
    pre?: string | undefined;
    suf?: string | undefined;
    re?: string | undefined;
    gt?: number | undefined;
    gte?: number | undefined;
    lt?: number | undefined;
    lte?: number | undefined;
};
/** @internal */
export declare const ForceNew$outboundSchema: z.ZodNativeEnum<typeof ForceNew>;
/** @internal */
export declare const SkipAutoDetectionConfirmation$outboundSchema: z.ZodNativeEnum<typeof SkipAutoDetectionConfirmation>;
/** @internal */
export type UploadedFile$Outbound = {
    file: string;
    sha?: string | undefined;
    size?: number | undefined;
};
/** @internal */
export declare const UploadedFile$outboundSchema: z.ZodType<UploadedFile$Outbound, z.ZodTypeDef, UploadedFile>;
export declare function uploadedFileToJSON(uploadedFile: UploadedFile): string;
/** @internal */
export declare const Encoding$outboundSchema: z.ZodNativeEnum<typeof Encoding>;
/** @internal */
export type InlinedFile$Outbound = {
    data: string;
    encoding?: string | undefined;
    file: string;
};
/** @internal */
export declare const InlinedFile$outboundSchema: z.ZodType<InlinedFile$Outbound, z.ZodTypeDef, InlinedFile>;
export declare function inlinedFileToJSON(inlinedFile: InlinedFile): string;
/** @internal */
export type Files$Outbound = InlinedFile$Outbound | UploadedFile$Outbound;
/** @internal */
export declare const Files$outboundSchema: z.ZodType<Files$Outbound, z.ZodTypeDef, Files>;
export declare function filesToJSON(files: Files): string;
/** @internal */
export type GitMetadata$Outbound = {
    remoteUrl?: string | undefined;
    commitAuthorName?: string | undefined;
    commitAuthorEmail?: string | undefined;
    commitMessage?: string | undefined;
    commitRef?: string | undefined;
    commitSha?: string | undefined;
    dirty?: boolean | undefined;
    ci?: boolean | undefined;
    ciType?: string | undefined;
    ciGitProviderUsername?: string | undefined;
    ciGitRepoVisibility?: string | undefined;
};
/** @internal */
export declare const GitMetadata$outboundSchema: z.ZodType<GitMetadata$Outbound, z.ZodTypeDef, GitMetadata>;
export declare function gitMetadataToJSON(gitMetadata: GitMetadata): string;
/** @internal */
export declare const CreateDeploymentGitSourceDeploymentsRequestRequestBody8Type$outboundSchema: z.ZodNativeEnum<typeof CreateDeploymentGitSourceDeploymentsRequestRequestBody8Type>;
/** @internal */
export type GitSource8$Outbound = {
    owner: string;
    ref: string;
    sha?: string | undefined;
    slug: string;
    type: string;
};
/** @internal */
export declare const GitSource8$outboundSchema: z.ZodType<GitSource8$Outbound, z.ZodTypeDef, GitSource8>;
export declare function gitSource8ToJSON(gitSource8: GitSource8): string;
/** @internal */
export declare const CreateDeploymentGitSourceDeploymentsRequestRequestBody7Type$outboundSchema: z.ZodNativeEnum<typeof CreateDeploymentGitSourceDeploymentsRequestRequestBody7Type>;
/** @internal */
export type GitSource7$Outbound = {
    ref: string;
    repoUuid: string;
    sha?: string | undefined;
    type: string;
    workspaceUuid?: string | undefined;
};
/** @internal */
export declare const GitSource7$outboundSchema: z.ZodType<GitSource7$Outbound, z.ZodTypeDef, GitSource7>;
export declare function gitSource7ToJSON(gitSource7: GitSource7): string;
/** @internal */
export type ProjectId$Outbound = number | string;
/** @internal */
export declare const ProjectId$outboundSchema: z.ZodType<ProjectId$Outbound, z.ZodTypeDef, ProjectId>;
export declare function projectIdToJSON(projectId: ProjectId): string;
/** @internal */
export declare const CreateDeploymentGitSourceDeploymentsRequestRequestBody6Type$outboundSchema: z.ZodNativeEnum<typeof CreateDeploymentGitSourceDeploymentsRequestRequestBody6Type>;
/** @internal */
export type GitSource6$Outbound = {
    projectId: number | string;
    ref: string;
    sha?: string | undefined;
    type: string;
};
/** @internal */
export declare const GitSource6$outboundSchema: z.ZodType<GitSource6$Outbound, z.ZodTypeDef, GitSource6>;
export declare function gitSource6ToJSON(gitSource6: GitSource6): string;
/** @internal */
export declare const CreateDeploymentGitSourceDeploymentsRequestRequestBodyType$outboundSchema: z.ZodNativeEnum<typeof CreateDeploymentGitSourceDeploymentsRequestRequestBodyType>;
/** @internal */
export type GitSource5$Outbound = {
    org: string;
    ref: string;
    repo: string;
    sha?: string | undefined;
    type: string;
};
/** @internal */
export declare const GitSource5$outboundSchema: z.ZodType<GitSource5$Outbound, z.ZodTypeDef, GitSource5>;
export declare function gitSource5ToJSON(gitSource5: GitSource5): string;
/** @internal */
export type GitSourceRepoId$Outbound = number | string;
/** @internal */
export declare const GitSourceRepoId$outboundSchema: z.ZodType<GitSourceRepoId$Outbound, z.ZodTypeDef, GitSourceRepoId>;
export declare function gitSourceRepoIdToJSON(gitSourceRepoId: GitSourceRepoId): string;
/** @internal */
export declare const CreateDeploymentGitSourceDeploymentsRequestType$outboundSchema: z.ZodNativeEnum<typeof CreateDeploymentGitSourceDeploymentsRequestType>;
/** @internal */
export type GitSource4$Outbound = {
    ref: string;
    repoId: number | string;
    sha?: string | undefined;
    type: string;
};
/** @internal */
export declare const GitSource4$outboundSchema: z.ZodType<GitSource4$Outbound, z.ZodTypeDef, GitSource4>;
export declare function gitSource4ToJSON(gitSource4: GitSource4): string;
/** @internal */
export declare const CreateDeploymentGitSourceDeploymentsType$outboundSchema: z.ZodNativeEnum<typeof CreateDeploymentGitSourceDeploymentsType>;
/** @internal */
export type GitSource3$Outbound = {
    org: string;
    ref: string;
    repo: string;
    sha?: string | undefined;
    type: string;
};
/** @internal */
export declare const GitSource3$outboundSchema: z.ZodType<GitSource3$Outbound, z.ZodTypeDef, GitSource3>;
export declare function gitSource3ToJSON(gitSource3: GitSource3): string;
/** @internal */
export type RepoId$Outbound = number | string;
/** @internal */
export declare const RepoId$outboundSchema: z.ZodType<RepoId$Outbound, z.ZodTypeDef, RepoId>;
export declare function repoIdToJSON(repoId: RepoId): string;
/** @internal */
export declare const CreateDeploymentGitSourceType$outboundSchema: z.ZodNativeEnum<typeof CreateDeploymentGitSourceType>;
/** @internal */
export type GitSource2$Outbound = {
    ref: string;
    repoId: number | string;
    sha?: string | undefined;
    type: string;
};
/** @internal */
export declare const GitSource2$outboundSchema: z.ZodType<GitSource2$Outbound, z.ZodTypeDef, GitSource2>;
export declare function gitSource2ToJSON(gitSource2: GitSource2): string;
/** @internal */
export declare const GitSourceType$outboundSchema: z.ZodNativeEnum<typeof GitSourceType>;
/** @internal */
export type GitSource1$Outbound = {
    type: string;
    sha: string;
};
/** @internal */
export declare const GitSource1$outboundSchema: z.ZodType<GitSource1$Outbound, z.ZodTypeDef, GitSource1>;
export declare function gitSource1ToJSON(gitSource1: GitSource1): string;
/** @internal */
export type GitSource$Outbound = GitSource3$Outbound | GitSource5$Outbound | GitSource8$Outbound | GitSource2$Outbound | GitSource4$Outbound | GitSource6$Outbound | GitSource7$Outbound | GitSource1$Outbound;
/** @internal */
export declare const GitSource$outboundSchema: z.ZodType<GitSource$Outbound, z.ZodTypeDef, GitSource>;
export declare function gitSourceToJSON(gitSource: GitSource): string;
/** @internal */
export declare const Framework$outboundSchema: z.ZodNativeEnum<typeof Framework>;
/** @internal */
export declare const NodeVersion$outboundSchema: z.ZodNativeEnum<typeof NodeVersion>;
/** @internal */
export type ProjectSettings$Outbound = {
    buildCommand?: string | null | undefined;
    commandForIgnoringBuildStep?: string | null | undefined;
    devCommand?: string | null | undefined;
    framework?: string | null | undefined;
    installCommand?: string | null | undefined;
    nodeVersion?: string | undefined;
    outputDirectory?: string | null | undefined;
    rootDirectory?: string | null | undefined;
    serverlessFunctionRegion?: string | null | undefined;
    skipGitConnectDuringLink?: boolean | undefined;
    sourceFilesOutsideRootDirectory?: boolean | undefined;
};
/** @internal */
export declare const ProjectSettings$outboundSchema: z.ZodType<ProjectSettings$Outbound, z.ZodTypeDef, ProjectSettings>;
export declare function projectSettingsToJSON(projectSettings: ProjectSettings): string;
/** @internal */
export type CreateDeploymentRequestBody$Outbound = {
    customEnvironmentSlugOrId?: string | undefined;
    deploymentId?: string | undefined;
    files?: Array<InlinedFile$Outbound | UploadedFile$Outbound> | undefined;
    gitMetadata?: GitMetadata$Outbound | undefined;
    gitSource?: GitSource3$Outbound | GitSource5$Outbound | GitSource8$Outbound | GitSource2$Outbound | GitSource4$Outbound | GitSource6$Outbound | GitSource7$Outbound | GitSource1$Outbound | undefined;
    meta?: {
        [k: string]: string;
    } | undefined;
    monorepoManager?: string | null | undefined;
    name: string;
    project?: string | undefined;
    projectSettings?: ProjectSettings$Outbound | undefined;
    target?: string | undefined;
    withLatestCommit?: boolean | undefined;
};
/** @internal */
export declare const CreateDeploymentRequestBody$outboundSchema: z.ZodType<CreateDeploymentRequestBody$Outbound, z.ZodTypeDef, CreateDeploymentRequestBody>;
export declare function createDeploymentRequestBodyToJSON(createDeploymentRequestBody: CreateDeploymentRequestBody): string;
/** @internal */
export type CreateDeploymentRequest$Outbound = {
    forceNew?: string | undefined;
    skipAutoDetectionConfirmation?: string | undefined;
    teamId?: string | undefined;
    slug?: string | undefined;
    RequestBody: CreateDeploymentRequestBody$Outbound;
};
/** @internal */
export declare const CreateDeploymentRequest$outboundSchema: z.ZodType<CreateDeploymentRequest$Outbound, z.ZodTypeDef, CreateDeploymentRequest>;
export declare function createDeploymentRequestToJSON(createDeploymentRequest: CreateDeploymentRequest): string;
/** @internal */
export declare const AliasAssignedAt$inboundSchema: z.ZodType<AliasAssignedAt, z.ZodTypeDef, unknown>;
export declare function aliasAssignedAtFromJSON(jsonString: string): SafeParseResult<AliasAssignedAt, SDKValidationError>;
/** @internal */
export declare const Build$inboundSchema: z.ZodType<Build, z.ZodTypeDef, unknown>;
export declare function buildFromJSON(jsonString: string): SafeParseResult<Build, SDKValidationError>;
/** @internal */
export declare const Builds$inboundSchema: z.ZodType<Builds, z.ZodTypeDef, unknown>;
export declare function buildsFromJSON(jsonString: string): SafeParseResult<Builds, SDKValidationError>;
/** @internal */
export declare const CreateDeploymentDeploymentsNodeVersion$inboundSchema: z.ZodNativeEnum<typeof CreateDeploymentDeploymentsNodeVersion>;
/** @internal */
export declare const CreateDeploymentFramework$inboundSchema: z.ZodNativeEnum<typeof CreateDeploymentFramework>;
/** @internal */
export declare const CreateDeploymentSpeedInsights$inboundSchema: z.ZodType<CreateDeploymentSpeedInsights, z.ZodTypeDef, unknown>;
export declare function createDeploymentSpeedInsightsFromJSON(jsonString: string): SafeParseResult<CreateDeploymentSpeedInsights, SDKValidationError>;
/** @internal */
export declare const CreateDeploymentWebAnalytics$inboundSchema: z.ZodType<CreateDeploymentWebAnalytics, z.ZodTypeDef, unknown>;
export declare function createDeploymentWebAnalyticsFromJSON(jsonString: string): SafeParseResult<CreateDeploymentWebAnalytics, SDKValidationError>;
/** @internal */
export declare const CreateDeploymentProjectSettings$inboundSchema: z.ZodType<CreateDeploymentProjectSettings, z.ZodTypeDef, unknown>;
export declare function createDeploymentProjectSettingsFromJSON(jsonString: string): SafeParseResult<CreateDeploymentProjectSettings, SDKValidationError>;
/** @internal */
export declare const CreateDeploymentDeploymentsStatus$inboundSchema: z.ZodNativeEnum<typeof CreateDeploymentDeploymentsStatus>;
/** @internal */
export declare const Integrations$inboundSchema: z.ZodType<Integrations, z.ZodTypeDef, unknown>;
export declare function integrationsFromJSON(jsonString: string): SafeParseResult<Integrations, SDKValidationError>;
/** @internal */
export declare const Protocol$inboundSchema: z.ZodNativeEnum<typeof Protocol>;
/** @internal */
export declare const RemotePatterns$inboundSchema: z.ZodType<RemotePatterns, z.ZodTypeDef, unknown>;
export declare function remotePatternsFromJSON(jsonString: string): SafeParseResult<RemotePatterns, SDKValidationError>;
/** @internal */
export declare const LocalPatterns$inboundSchema: z.ZodType<LocalPatterns, z.ZodTypeDef, unknown>;
export declare function localPatternsFromJSON(jsonString: string): SafeParseResult<LocalPatterns, SDKValidationError>;
/** @internal */
export declare const Formats$inboundSchema: z.ZodNativeEnum<typeof Formats>;
/** @internal */
export declare const ContentDispositionType$inboundSchema: z.ZodNativeEnum<typeof ContentDispositionType>;
/** @internal */
export declare const Images$inboundSchema: z.ZodType<Images, z.ZodTypeDef, unknown>;
export declare function imagesFromJSON(jsonString: string): SafeParseResult<Images, SDKValidationError>;
/** @internal */
export declare const CreateDeploymentCreator$inboundSchema: z.ZodType<CreateDeploymentCreator, z.ZodTypeDef, unknown>;
export declare function createDeploymentCreatorFromJSON(jsonString: string): SafeParseResult<CreateDeploymentCreator, SDKValidationError>;
/** @internal */
export declare const CreateDeploymentReadyState$inboundSchema: z.ZodNativeEnum<typeof CreateDeploymentReadyState>;
/** @internal */
export declare const CreateDeploymentOutput$inboundSchema: z.ZodType<CreateDeploymentOutput, z.ZodTypeDef, unknown>;
export declare function createDeploymentOutputFromJSON(jsonString: string): SafeParseResult<CreateDeploymentOutput, SDKValidationError>;
/** @internal */
export declare const Lambdas$inboundSchema: z.ZodType<Lambdas, z.ZodTypeDef, unknown>;
export declare function lambdasFromJSON(jsonString: string): SafeParseResult<Lambdas, SDKValidationError>;
/** @internal */
export declare const CreateDeploymentStatus$inboundSchema: z.ZodNativeEnum<typeof CreateDeploymentStatus>;
/** @internal */
export declare const CreateDeploymentTeam$inboundSchema: z.ZodType<CreateDeploymentTeam, z.ZodTypeDef, unknown>;
export declare function createDeploymentTeamFromJSON(jsonString: string): SafeParseResult<CreateDeploymentTeam, SDKValidationError>;
/** @internal */
export declare const CustomEnvironment2$inboundSchema: z.ZodType<CustomEnvironment2, z.ZodTypeDef, unknown>;
export declare function customEnvironment2FromJSON(jsonString: string): SafeParseResult<CustomEnvironment2, SDKValidationError>;
/** @internal */
export declare const CustomEnvironmentType$inboundSchema: z.ZodNativeEnum<typeof CustomEnvironmentType>;
/** @internal */
export declare const CreateDeploymentCustomEnvironmentType$inboundSchema: z.ZodNativeEnum<typeof CreateDeploymentCustomEnvironmentType>;
/** @internal */
export declare const CreateDeploymentCustomEnvironmentBranchMatcher$inboundSchema: z.ZodType<CreateDeploymentCustomEnvironmentBranchMatcher, z.ZodTypeDef, unknown>;
export declare function createDeploymentCustomEnvironmentBranchMatcherFromJSON(jsonString: string): SafeParseResult<CreateDeploymentCustomEnvironmentBranchMatcher, SDKValidationError>;
/** @internal */
export declare const CreateDeploymentCustomEnvironmentVerification$inboundSchema: z.ZodType<CreateDeploymentCustomEnvironmentVerification, z.ZodTypeDef, unknown>;
export declare function createDeploymentCustomEnvironmentVerificationFromJSON(jsonString: string): SafeParseResult<CreateDeploymentCustomEnvironmentVerification, SDKValidationError>;
/** @internal */
export declare const CreateDeploymentCustomEnvironmentDomains$inboundSchema: z.ZodType<CreateDeploymentCustomEnvironmentDomains, z.ZodTypeDef, unknown>;
export declare function createDeploymentCustomEnvironmentDomainsFromJSON(jsonString: string): SafeParseResult<CreateDeploymentCustomEnvironmentDomains, SDKValidationError>;
/** @internal */
export declare const CustomEnvironment1$inboundSchema: z.ZodType<CustomEnvironment1, z.ZodTypeDef, unknown>;
export declare function customEnvironment1FromJSON(jsonString: string): SafeParseResult<CustomEnvironment1, SDKValidationError>;
/** @internal */
export declare const CustomEnvironment$inboundSchema: z.ZodType<CustomEnvironment, z.ZodTypeDef, unknown>;
export declare function customEnvironmentFromJSON(jsonString: string): SafeParseResult<CustomEnvironment, SDKValidationError>;
/** @internal */
export declare const OomReport$inboundSchema: z.ZodNativeEnum<typeof OomReport>;
/** @internal */
export declare const AliasWarning$inboundSchema: z.ZodType<AliasWarning, z.ZodTypeDef, unknown>;
export declare function aliasWarningFromJSON(jsonString: string): SafeParseResult<AliasWarning, SDKValidationError>;
/** @internal */
export declare const ReadyState$inboundSchema: z.ZodNativeEnum<typeof ReadyState>;
/** @internal */
export declare const CreateDeploymentType$inboundSchema: z.ZodNativeEnum<typeof CreateDeploymentType>;
/** @internal */
export declare const AliasError$inboundSchema: z.ZodType<AliasError, z.ZodTypeDef, unknown>;
export declare function aliasErrorFromJSON(jsonString: string): SafeParseResult<AliasError, SDKValidationError>;
/** @internal */
export declare const ChecksState$inboundSchema: z.ZodNativeEnum<typeof ChecksState>;
/** @internal */
export declare const ChecksConclusion$inboundSchema: z.ZodNativeEnum<typeof ChecksConclusion>;
/** @internal */
export declare const CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody17Type$inboundSchema: z.ZodNativeEnum<typeof CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody17Type>;
/** @internal */
export declare const CreateDeploymentGitSource17$inboundSchema: z.ZodType<CreateDeploymentGitSource17, z.ZodTypeDef, unknown>;
export declare function createDeploymentGitSource17FromJSON(jsonString: string): SafeParseResult<CreateDeploymentGitSource17, SDKValidationError>;
/** @internal */
export declare const CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody16Type$inboundSchema: z.ZodNativeEnum<typeof CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody16Type>;
/** @internal */
export declare const CreateDeploymentGitSource16$inboundSchema: z.ZodType<CreateDeploymentGitSource16, z.ZodTypeDef, unknown>;
export declare function createDeploymentGitSource16FromJSON(jsonString: string): SafeParseResult<CreateDeploymentGitSource16, SDKValidationError>;
/** @internal */
export declare const CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody15Type$inboundSchema: z.ZodNativeEnum<typeof CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody15Type>;
/** @internal */
export declare const CreateDeploymentGitSource15$inboundSchema: z.ZodType<CreateDeploymentGitSource15, z.ZodTypeDef, unknown>;
export declare function createDeploymentGitSource15FromJSON(jsonString: string): SafeParseResult<CreateDeploymentGitSource15, SDKValidationError>;
/** @internal */
export declare const CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody14Type$inboundSchema: z.ZodNativeEnum<typeof CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody14Type>;
/** @internal */
export declare const CreateDeploymentGitSource14$inboundSchema: z.ZodType<CreateDeploymentGitSource14, z.ZodTypeDef, unknown>;
export declare function createDeploymentGitSource14FromJSON(jsonString: string): SafeParseResult<CreateDeploymentGitSource14, SDKValidationError>;
/** @internal */
export declare const CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody13Type$inboundSchema: z.ZodNativeEnum<typeof CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody13Type>;
/** @internal */
export declare const CreateDeploymentGitSource13$inboundSchema: z.ZodType<CreateDeploymentGitSource13, z.ZodTypeDef, unknown>;
export declare function createDeploymentGitSource13FromJSON(jsonString: string): SafeParseResult<CreateDeploymentGitSource13, SDKValidationError>;
/** @internal */
export declare const CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody12Type$inboundSchema: z.ZodNativeEnum<typeof CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody12Type>;
/** @internal */
export declare const CreateDeploymentGitSource12$inboundSchema: z.ZodType<CreateDeploymentGitSource12, z.ZodTypeDef, unknown>;
export declare function createDeploymentGitSource12FromJSON(jsonString: string): SafeParseResult<CreateDeploymentGitSource12, SDKValidationError>;
/** @internal */
export declare const CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody11Type$inboundSchema: z.ZodNativeEnum<typeof CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody11Type>;
/** @internal */
export declare const CreateDeploymentGitSource11$inboundSchema: z.ZodType<CreateDeploymentGitSource11, z.ZodTypeDef, unknown>;
export declare function createDeploymentGitSource11FromJSON(jsonString: string): SafeParseResult<CreateDeploymentGitSource11, SDKValidationError>;
/** @internal */
export declare const CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody10Type$inboundSchema: z.ZodNativeEnum<typeof CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody10Type>;
/** @internal */
export declare const CreateDeploymentGitSource10$inboundSchema: z.ZodType<CreateDeploymentGitSource10, z.ZodTypeDef, unknown>;
export declare function createDeploymentGitSource10FromJSON(jsonString: string): SafeParseResult<CreateDeploymentGitSource10, SDKValidationError>;
/** @internal */
export declare const CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody9Type$inboundSchema: z.ZodNativeEnum<typeof CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody9Type>;
/** @internal */
export declare const CreateDeploymentGitSource9$inboundSchema: z.ZodType<CreateDeploymentGitSource9, z.ZodTypeDef, unknown>;
export declare function createDeploymentGitSource9FromJSON(jsonString: string): SafeParseResult<CreateDeploymentGitSource9, SDKValidationError>;
/** @internal */
export declare const CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody8Type$inboundSchema: z.ZodNativeEnum<typeof CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody8Type>;
/** @internal */
export declare const CreateDeploymentGitSource8$inboundSchema: z.ZodType<CreateDeploymentGitSource8, z.ZodTypeDef, unknown>;
export declare function createDeploymentGitSource8FromJSON(jsonString: string): SafeParseResult<CreateDeploymentGitSource8, SDKValidationError>;
/** @internal */
export declare const CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody7Type$inboundSchema: z.ZodNativeEnum<typeof CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody7Type>;
/** @internal */
export declare const GitSourceProjectId$inboundSchema: z.ZodType<GitSourceProjectId, z.ZodTypeDef, unknown>;
export declare function gitSourceProjectIdFromJSON(jsonString: string): SafeParseResult<GitSourceProjectId, SDKValidationError>;
/** @internal */
export declare const CreateDeploymentGitSource7$inboundSchema: z.ZodType<CreateDeploymentGitSource7, z.ZodTypeDef, unknown>;
export declare function createDeploymentGitSource7FromJSON(jsonString: string): SafeParseResult<CreateDeploymentGitSource7, SDKValidationError>;
/** @internal */
export declare const CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody6Type$inboundSchema: z.ZodNativeEnum<typeof CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody6Type>;
/** @internal */
export declare const CreateDeploymentGitSource6$inboundSchema: z.ZodType<CreateDeploymentGitSource6, z.ZodTypeDef, unknown>;
export declare function createDeploymentGitSource6FromJSON(jsonString: string): SafeParseResult<CreateDeploymentGitSource6, SDKValidationError>;
/** @internal */
export declare const CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody5Type$inboundSchema: z.ZodNativeEnum<typeof CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody5Type>;
/** @internal */
export declare const CreateDeploymentGitSourceDeploymentsResponseRepoId$inboundSchema: z.ZodType<CreateDeploymentGitSourceDeploymentsResponseRepoId, z.ZodTypeDef, unknown>;
export declare function createDeploymentGitSourceDeploymentsResponseRepoIdFromJSON(jsonString: string): SafeParseResult<CreateDeploymentGitSourceDeploymentsResponseRepoId, SDKValidationError>;
/** @internal */
export declare const CreateDeploymentGitSource5$inboundSchema: z.ZodType<CreateDeploymentGitSource5, z.ZodTypeDef, unknown>;
export declare function createDeploymentGitSource5FromJSON(jsonString: string): SafeParseResult<CreateDeploymentGitSource5, SDKValidationError>;
/** @internal */
export declare const CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBodyType$inboundSchema: z.ZodNativeEnum<typeof CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBodyType>;
/** @internal */
export declare const CreateDeploymentGitSource4$inboundSchema: z.ZodType<CreateDeploymentGitSource4, z.ZodTypeDef, unknown>;
export declare function createDeploymentGitSource4FromJSON(jsonString: string): SafeParseResult<CreateDeploymentGitSource4, SDKValidationError>;
/** @internal */
export declare const CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONType$inboundSchema: z.ZodNativeEnum<typeof CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONType>;
/** @internal */
export declare const CreateDeploymentGitSourceDeploymentsRepoId$inboundSchema: z.ZodType<CreateDeploymentGitSourceDeploymentsRepoId, z.ZodTypeDef, unknown>;
export declare function createDeploymentGitSourceDeploymentsRepoIdFromJSON(jsonString: string): SafeParseResult<CreateDeploymentGitSourceDeploymentsRepoId, SDKValidationError>;
/** @internal */
export declare const CreateDeploymentGitSource3$inboundSchema: z.ZodType<CreateDeploymentGitSource3, z.ZodTypeDef, unknown>;
export declare function createDeploymentGitSource3FromJSON(jsonString: string): SafeParseResult<CreateDeploymentGitSource3, SDKValidationError>;
/** @internal */
export declare const CreateDeploymentGitSourceDeploymentsResponse200Type$inboundSchema: z.ZodNativeEnum<typeof CreateDeploymentGitSourceDeploymentsResponse200Type>;
/** @internal */
export declare const CreateDeploymentGitSource2$inboundSchema: z.ZodType<CreateDeploymentGitSource2, z.ZodTypeDef, unknown>;
export declare function createDeploymentGitSource2FromJSON(jsonString: string): SafeParseResult<CreateDeploymentGitSource2, SDKValidationError>;
/** @internal */
export declare const CreateDeploymentGitSourceDeploymentsResponseType$inboundSchema: z.ZodNativeEnum<typeof CreateDeploymentGitSourceDeploymentsResponseType>;
/** @internal */
export declare const CreateDeploymentGitSourceRepoId$inboundSchema: z.ZodType<CreateDeploymentGitSourceRepoId, z.ZodTypeDef, unknown>;
export declare function createDeploymentGitSourceRepoIdFromJSON(jsonString: string): SafeParseResult<CreateDeploymentGitSourceRepoId, SDKValidationError>;
/** @internal */
export declare const CreateDeploymentGitSource1$inboundSchema: z.ZodType<CreateDeploymentGitSource1, z.ZodTypeDef, unknown>;
export declare function createDeploymentGitSource1FromJSON(jsonString: string): SafeParseResult<CreateDeploymentGitSource1, SDKValidationError>;
/** @internal */
export declare const CreateDeploymentGitSource$inboundSchema: z.ZodType<CreateDeploymentGitSource, z.ZodTypeDef, unknown>;
export declare function createDeploymentGitSourceFromJSON(jsonString: string): SafeParseResult<CreateDeploymentGitSource, SDKValidationError>;
/** @internal */
export declare const CreateDeploymentState$inboundSchema: z.ZodNativeEnum<typeof CreateDeploymentState>;
/** @internal */
export declare const ManualProvisioning$inboundSchema: z.ZodType<ManualProvisioning, z.ZodTypeDef, unknown>;
export declare function manualProvisioningFromJSON(jsonString: string): SafeParseResult<ManualProvisioning, SDKValidationError>;
/** @internal */
export declare const CreateDeploymentNodeVersion$inboundSchema: z.ZodNativeEnum<typeof CreateDeploymentNodeVersion>;
/** @internal */
export declare const CreateDeploymentProject$inboundSchema: z.ZodType<CreateDeploymentProject, z.ZodTypeDef, unknown>;
export declare function createDeploymentProjectFromJSON(jsonString: string): SafeParseResult<CreateDeploymentProject, SDKValidationError>;
/** @internal */
export declare const ReadySubstate$inboundSchema: z.ZodNativeEnum<typeof ReadySubstate>;
/** @internal */
export declare const CreateDeploymentSource$inboundSchema: z.ZodNativeEnum<typeof CreateDeploymentSource>;
/** @internal */
export declare const CreateDeploymentTarget$inboundSchema: z.ZodNativeEnum<typeof CreateDeploymentTarget>;
/** @internal */
export declare const OidcTokenClaims$inboundSchema: z.ZodType<OidcTokenClaims, z.ZodTypeDef, unknown>;
export declare function oidcTokenClaimsFromJSON(jsonString: string): SafeParseResult<OidcTokenClaims, SDKValidationError>;
/** @internal */
export declare const CreateDeploymentPlan$inboundSchema: z.ZodNativeEnum<typeof CreateDeploymentPlan>;
/** @internal */
export declare const CreateDeploymentDeploymentsSource$inboundSchema: z.ZodType<CreateDeploymentDeploymentsSource, z.ZodTypeDef, unknown>;
export declare function createDeploymentDeploymentsSourceFromJSON(jsonString: string): SafeParseResult<CreateDeploymentDeploymentsSource, SDKValidationError>;
/** @internal */
export declare const CreateDeploymentDeploymentsType$inboundSchema: z.ZodNativeEnum<typeof CreateDeploymentDeploymentsType>;
/** @internal */
export declare const CreateDeploymentOrigin$inboundSchema: z.ZodType<CreateDeploymentOrigin, z.ZodTypeDef, unknown>;
export declare function createDeploymentOriginFromJSON(jsonString: string): SafeParseResult<CreateDeploymentOrigin, SDKValidationError>;
/** @internal */
export declare const CreateDeploymentDeploymentsCreator$inboundSchema: z.ZodType<CreateDeploymentDeploymentsCreator, z.ZodTypeDef, unknown>;
export declare function createDeploymentDeploymentsCreatorFromJSON(jsonString: string): SafeParseResult<CreateDeploymentDeploymentsCreator, SDKValidationError>;
/** @internal */
export declare const Platform$inboundSchema: z.ZodType<Platform, z.ZodTypeDef, unknown>;
export declare function platformFromJSON(jsonString: string): SafeParseResult<Platform, SDKValidationError>;
/** @internal */
export declare const Crons$inboundSchema: z.ZodType<Crons, z.ZodTypeDef, unknown>;
export declare function cronsFromJSON(jsonString: string): SafeParseResult<Crons, SDKValidationError>;
/** @internal */
export declare const Architecture$inboundSchema: z.ZodNativeEnum<typeof Architecture>;
/** @internal */
export declare const MaxDuration2$inboundSchema: z.ZodNativeEnum<typeof MaxDuration2>;
/** @internal */
export declare const MaxDuration$inboundSchema: z.ZodType<MaxDuration, z.ZodTypeDef, unknown>;
export declare function maxDurationFromJSON(jsonString: string): SafeParseResult<MaxDuration, SDKValidationError>;
/** @internal */
export declare const ExperimentalTriggers2$inboundSchema: z.ZodType<ExperimentalTriggers2, z.ZodTypeDef, unknown>;
export declare function experimentalTriggers2FromJSON(jsonString: string): SafeParseResult<ExperimentalTriggers2, SDKValidationError>;
/** @internal */
export declare const ExperimentalTriggers1$inboundSchema: z.ZodType<ExperimentalTriggers1, z.ZodTypeDef, unknown>;
export declare function experimentalTriggers1FromJSON(jsonString: string): SafeParseResult<ExperimentalTriggers1, SDKValidationError>;
/** @internal */
export declare const ExperimentalTriggers$inboundSchema: z.ZodType<ExperimentalTriggers, z.ZodTypeDef, unknown>;
export declare function experimentalTriggersFromJSON(jsonString: string): SafeParseResult<ExperimentalTriggers, SDKValidationError>;
/** @internal */
export declare const Functions$inboundSchema: z.ZodType<Functions, z.ZodTypeDef, unknown>;
export declare function functionsFromJSON(jsonString: string): SafeParseResult<Functions, SDKValidationError>;
/** @internal */
export declare const Routes3$inboundSchema: z.ZodType<Routes3, z.ZodTypeDef, unknown>;
export declare function routes3FromJSON(jsonString: string): SafeParseResult<Routes3, SDKValidationError>;
/** @internal */
export declare const Handle$inboundSchema: z.ZodNativeEnum<typeof Handle>;
/** @internal */
export declare const Routes2$inboundSchema: z.ZodType<Routes2, z.ZodTypeDef, unknown>;
export declare function routes2FromJSON(jsonString: string): SafeParseResult<Routes2, SDKValidationError>;
/** @internal */
export declare const CreateDeploymentHasType$inboundSchema: z.ZodNativeEnum<typeof CreateDeploymentHasType>;
/** @internal */
export declare const ValueEq$inboundSchema: z.ZodType<ValueEq, z.ZodTypeDef, unknown>;
export declare function valueEqFromJSON(jsonString: string): SafeParseResult<ValueEq, SDKValidationError>;
/** @internal */
export declare const CreateDeploymentValue2$inboundSchema: z.ZodType<CreateDeploymentValue2, z.ZodTypeDef, unknown>;
export declare function createDeploymentValue2FromJSON(jsonString: string): SafeParseResult<CreateDeploymentValue2, SDKValidationError>;
/** @internal */
export declare const HasValue$inboundSchema: z.ZodType<HasValue, z.ZodTypeDef, unknown>;
export declare function hasValueFromJSON(jsonString: string): SafeParseResult<HasValue, SDKValidationError>;
/** @internal */
export declare const Has2$inboundSchema: z.ZodType<Has2, z.ZodTypeDef, unknown>;
export declare function has2FromJSON(jsonString: string): SafeParseResult<Has2, SDKValidationError>;
/** @internal */
export declare const Eq$inboundSchema: z.ZodType<Eq, z.ZodTypeDef, unknown>;
export declare function eqFromJSON(jsonString: string): SafeParseResult<Eq, SDKValidationError>;
/** @internal */
export declare const CreateDeploymentValueDeploymentsResponse2002$inboundSchema: z.ZodType<CreateDeploymentValueDeploymentsResponse2002, z.ZodTypeDef, unknown>;
export declare function createDeploymentValueDeploymentsResponse2002FromJSON(jsonString: string): SafeParseResult<CreateDeploymentValueDeploymentsResponse2002, SDKValidationError>;
/** @internal */
export declare const CreateDeploymentHasValue$inboundSchema: z.ZodType<CreateDeploymentHasValue, z.ZodTypeDef, unknown>;
export declare function createDeploymentHasValueFromJSON(jsonString: string): SafeParseResult<CreateDeploymentHasValue, SDKValidationError>;
/** @internal */
export declare const Has1$inboundSchema: z.ZodType<Has1, z.ZodTypeDef, unknown>;
export declare function has1FromJSON(jsonString: string): SafeParseResult<Has1, SDKValidationError>;
/** @internal */
export declare const CreateDeploymentRoutesHas$inboundSchema: z.ZodType<CreateDeploymentRoutesHas, z.ZodTypeDef, unknown>;
export declare function createDeploymentRoutesHasFromJSON(jsonString: string): SafeParseResult<CreateDeploymentRoutesHas, SDKValidationError>;
/** @internal */
export declare const CreateDeploymentMissingType$inboundSchema: z.ZodNativeEnum<typeof CreateDeploymentMissingType>;
/** @internal */
export declare const CreateDeploymentValueDeploymentsEq$inboundSchema: z.ZodType<CreateDeploymentValueDeploymentsEq, z.ZodTypeDef, unknown>;
export declare function createDeploymentValueDeploymentsEqFromJSON(jsonString: string): SafeParseResult<CreateDeploymentValueDeploymentsEq, SDKValidationError>;
/** @internal */
export declare const CreateDeploymentValueDeploymentsResponse2$inboundSchema: z.ZodType<CreateDeploymentValueDeploymentsResponse2, z.ZodTypeDef, unknown>;
export declare function createDeploymentValueDeploymentsResponse2FromJSON(jsonString: string): SafeParseResult<CreateDeploymentValueDeploymentsResponse2, SDKValidationError>;
/** @internal */
export declare const CreateDeploymentMissingValue$inboundSchema: z.ZodType<CreateDeploymentMissingValue, z.ZodTypeDef, unknown>;
export declare function createDeploymentMissingValueFromJSON(jsonString: string): SafeParseResult<CreateDeploymentMissingValue, SDKValidationError>;
/** @internal */
export declare const Missing2$inboundSchema: z.ZodType<Missing2, z.ZodTypeDef, unknown>;
export declare function missing2FromJSON(jsonString: string): SafeParseResult<Missing2, SDKValidationError>;
/** @internal */
export declare const CreateDeploymentValueEq$inboundSchema: z.ZodType<CreateDeploymentValueEq, z.ZodTypeDef, unknown>;
export declare function createDeploymentValueEqFromJSON(jsonString: string): SafeParseResult<CreateDeploymentValueEq, SDKValidationError>;
/** @internal */
export declare const CreateDeploymentValueDeployments2$inboundSchema: z.ZodType<CreateDeploymentValueDeployments2, z.ZodTypeDef, unknown>;
export declare function createDeploymentValueDeployments2FromJSON(jsonString: string): SafeParseResult<CreateDeploymentValueDeployments2, SDKValidationError>;
//# sourceMappingURL=createdeploymentvaluedeployments2.d.ts.map