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,085 lines 54 kB
import * as z from "zod/v3";
import { ClosedEnum } from "../types/enums.js";
import { Result as SafeParseResult } from "../types/fp.js";
import { FlagJSONValue } from "./flagjsonvalue.js";
import { CancelDeploymentRoutes, IncludeFiles, Services2, ServicesType, Trigger } from "./includefiles.js";
import { AliasAssignedAt, AliasError, AliasWarning, Atproto, Build, Builds, CancelDeploymentCreator, CancelDeploymentCustomEnvironment, CancelDeploymentGitSource, CancelDeploymentNodeVersion, CancelDeploymentPlan, CancelDeploymentProject, CancelDeploymentProjectSettings, CancelDeploymentResourceConfig, CancelDeploymentSource, CancelDeploymentStatus, CancelDeploymentTarget, CancelDeploymentTeam, CancelDeploymentType, ChecksConclusion, ChecksState, Crons, Functions, Images, Integrations, Lambdas, ManualProvisioning, OidcTokenClaims, OomReport, ReadyState, ReadySubstate } from "./locale.js";
import { SDKValidationError } from "./sdkvalidationerror.js";
export type ExcludeFiles = string | Array<string>;
export declare const CancelDeploymentServicesArchitecture: {
    readonly Arm64: "arm64";
    readonly X8664: "x86_64";
};
export type CancelDeploymentServicesArchitecture = ClosedEnum<typeof CancelDeploymentServicesArchitecture>;
export declare const CancelDeploymentMaxDurationDeploymentsResponse2: {
    readonly Max: "max";
};
export type CancelDeploymentMaxDurationDeploymentsResponse2 = ClosedEnum<typeof CancelDeploymentMaxDurationDeploymentsResponse2>;
export type CancelDeploymentServicesMaxDuration = number | CancelDeploymentMaxDurationDeploymentsResponse2;
export declare const CancelDeploymentServicesMode: {
    readonly Strict: "strict";
};
export type CancelDeploymentServicesMode = ClosedEnum<typeof CancelDeploymentServicesMode>;
export type CancelDeploymentServicesAffinity = {
    mode: CancelDeploymentServicesMode;
};
export type CancelDeploymentExperimentalTriggersDeploymentsResponse3 = {
    /**
     * Event type - must be "schedule/v1beta" (REQUIRED)
     */
    type: "schedule/v1beta";
};
/**
 * 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 CancelDeploymentExperimentalTriggersDeploymentsResponse2 = {
    /**
     * 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 CancelDeploymentExperimentalTriggersDeploymentsResponse1 = {
    /**
     * 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 CancelDeploymentServicesExperimentalTriggers = CancelDeploymentExperimentalTriggersDeploymentsResponse1 | CancelDeploymentExperimentalTriggersDeploymentsResponse2 | CancelDeploymentExperimentalTriggersDeploymentsResponse3;
export type CancelDeploymentServicesFunctions = {
    architecture?: CancelDeploymentServicesArchitecture | undefined;
    memory?: number | undefined;
    maxDuration?: number | CancelDeploymentMaxDurationDeploymentsResponse2 | undefined;
    affinity?: CancelDeploymentServicesAffinity | undefined;
    maxConcurrency?: number | undefined;
    regions?: Array<string> | undefined;
    functionFailoverRegions?: Array<string> | undefined;
    runtime?: string | undefined;
    includeFiles?: string | undefined;
    excludeFiles?: string | undefined;
    experimentalTriggers?: Array<CancelDeploymentExperimentalTriggersDeploymentsResponse1 | CancelDeploymentExperimentalTriggersDeploymentsResponse2 | CancelDeploymentExperimentalTriggersDeploymentsResponse3> | undefined;
    supportsCancellation?: boolean | undefined;
};
export type ServicesProjectSettings = {
    framework?: string | null | undefined;
    devCommand?: string | null | undefined;
    installCommand?: string | null | undefined;
    buildCommand?: string | null | undefined;
    outputDirectory?: string | null | undefined;
    rootDirectory?: string | null | undefined;
    nodeVersion?: string | undefined;
    monorepoManager?: string | null | undefined;
    createdAt?: number | undefined;
    autoExposeSystemEnvs?: boolean | undefined;
    sourceFilesOutsideRootDirectory?: boolean | undefined;
    directoryListing?: boolean | undefined;
    gitForkProtection?: boolean | undefined;
    commandForIgnoringBuildStep?: string | null | undefined;
};
/**
 * Enforced runtime for explicitly configured Routing Middleware.
 */
export declare const MiddlewareRuntime: {
    readonly Nodejs: "nodejs";
};
/**
 * Enforced runtime for explicitly configured Routing Middleware.
 */
export type MiddlewareRuntime = ClosedEnum<typeof MiddlewareRuntime>;
export type MiddlewareMatcher = string | Array<string>;
export type ServicesConfig = {
    bunVersion?: string | undefined;
    maxLambdaSize?: string | undefined;
    includeFiles?: IncludeFiles | undefined;
    excludeFiles?: string | Array<string> | undefined;
    bundle?: boolean | undefined;
    ldsflags?: string | undefined;
    helpers?: boolean | undefined;
    rust?: string | undefined;
    debug?: boolean | undefined;
    zeroConfig?: boolean | undefined;
    import?: {
        [k: string]: string;
    } | undefined;
    functions?: {
        [k: string]: CancelDeploymentServicesFunctions;
    } | undefined;
    projectSettings?: ServicesProjectSettings | undefined;
    outputDirectory?: string | undefined;
    installCommand?: string | undefined;
    buildCommand?: string | undefined;
    devCommand?: string | undefined;
    framework?: string | null | undefined;
    nodeVersion?: string | undefined;
    middleware?: boolean | undefined;
    /**
     * Enforced runtime for explicitly configured Routing Middleware.
     */
    middlewareRuntime?: MiddlewareRuntime | undefined;
    middlewareMatcher?: string | Array<string> | undefined;
    /**
     * Owning service name; scopes per-function config such as the v2beta consumer.
     */
    serviceName?: string | undefined;
    /**
     * Buildpack runtime slug (e.g. "ruby").
     */
    buildpack?: string | undefined;
};
export type Builder = {
    use: string;
    src?: string | undefined;
    config?: ServicesConfig | undefined;
};
export declare const RoutePrefixSource: {
    readonly Configured: "configured";
    readonly Generated: "generated";
};
export type RoutePrefixSource = ClosedEnum<typeof RoutePrefixSource>;
export type Schedule = string | Array<string>;
export type Topics2 = {
    topic: string;
    retryAfterSeconds?: number | undefined;
    initialDelaySeconds?: number | undefined;
};
export type Topics = Array<string> | Array<Topics2>;
export declare const CancelDeploymentServicesType: {
    readonly ServiceRef: "service-ref";
};
export type CancelDeploymentServicesType = ClosedEnum<typeof CancelDeploymentServicesType>;
export type ServicesEnv = {
    type: CancelDeploymentServicesType;
    service: string;
};
/**
 * Services detected during build from vercel.json experimentalServices or auto-detected from project structure. Used to inject service URLs as environment variables at runtime.
 */
export type Services1 = {
    schema: "experimentalServices";
    name: string;
    type: ServicesType;
    trigger?: Trigger | undefined;
    group?: string | undefined;
    workspace: string;
    entrypoint?: string | undefined;
    framework?: string | undefined;
    builder: Builder;
    runtime?: string | undefined;
    buildCommand?: string | undefined;
    installCommand?: string | undefined;
    preDeployCommand?: string | undefined;
    routePrefix?: string | undefined;
    routePrefixSource?: RoutePrefixSource | undefined;
    subdomain?: string | undefined;
    schedule?: string | Array<string> | undefined;
    handlerFunction?: string | undefined;
    topics?: Array<string> | Array<Topics2> | undefined;
    env?: {
        [k: string]: ServicesEnv;
    } | undefined;
};
export type Services = Services1 | Services2;
export declare const CancelDeploymentGitRepoDeploymentsResponseOwnerType: {
    readonly Team: "team";
    readonly User: "user";
};
export type CancelDeploymentGitRepoDeploymentsResponseOwnerType = ClosedEnum<typeof CancelDeploymentGitRepoDeploymentsResponseOwnerType>;
export type GitRepo5 = {
    /**
     * Owner (namespace) slug.
     */
    owner: string;
    repo: string;
    /**
     * Origin repository id.
     */
    repoId: string;
    type: "cursor-origin";
    path: string;
    defaultBranch: string;
    name: string;
    private: boolean;
    ownerType: CancelDeploymentGitRepoDeploymentsResponseOwnerType;
};
export declare const CancelDeploymentGitRepoDeploymentsOwnerType: {
    readonly Team: "team";
    readonly User: "user";
};
export type CancelDeploymentGitRepoDeploymentsOwnerType = ClosedEnum<typeof CancelDeploymentGitRepoDeploymentsOwnerType>;
export type GitRepo4 = {
    org: string;
    repo: string;
    type: "vercel";
    path: string;
    defaultBranch: string;
    name: string;
    private: boolean;
    ownerType: CancelDeploymentGitRepoDeploymentsOwnerType;
};
export declare const CancelDeploymentGitRepoOwnerType: {
    readonly Team: "team";
    readonly User: "user";
};
export type CancelDeploymentGitRepoOwnerType = ClosedEnum<typeof CancelDeploymentGitRepoOwnerType>;
export type GitRepo3 = {
    owner: string;
    repoUuid: string;
    slug: string;
    type: "bitbucket";
    workspaceUuid: string;
    path: string;
    defaultBranch: string;
    name: string;
    private: boolean;
    ownerType: CancelDeploymentGitRepoOwnerType;
};
export declare const GitRepoOwnerType: {
    readonly Team: "team";
    readonly User: "user";
};
export type GitRepoOwnerType = ClosedEnum<typeof GitRepoOwnerType>;
export type GitRepo2 = {
    org: string;
    repo: string;
    repoId: number;
    type: "github";
    repoOwnerId: number;
    path: string;
    defaultBranch: string;
    name: string;
    private: boolean;
    ownerType: GitRepoOwnerType;
};
export declare const OwnerType: {
    readonly Team: "team";
    readonly User: "user";
};
export type OwnerType = ClosedEnum<typeof OwnerType>;
export type GitRepo1 = {
    namespace: string;
    projectId: number;
    type: "gitlab";
    url: string;
    path: string;
    defaultBranch: string;
    name: string;
    private: boolean;
    ownerType: OwnerType;
};
export type GitRepo = GitRepo1 | GitRepo2 | GitRepo3 | GitRepo4 | GitRepo5;
/**
 * Flags defined in the Build Output API, used by this deployment. Primarily used by the Toolbar to know about the used flags.
 */
export type Flags2 = {};
export type FlagsOptions = {
    value: FlagJSONValue | null;
    label?: string | undefined;
};
export type FlagsDefinitions = {
    options?: Array<FlagsOptions> | undefined;
    url?: string | undefined;
    description?: string | undefined;
};
/**
 * Flags defined in the Build Output API, used by this deployment. Primarily used by the Toolbar to know about the used flags.
 */
export type Flags1 = {
    definitions: {
        [k: string]: FlagsDefinitions;
    };
};
export type Flags = Flags1 | Array<Flags2>;
/**
 * The result of the microfrontends config upload during deployment creation / build. Only set for default app deployments. The config upload is attempted during deployment create, and then again during the build. If the config is not in the root directory, or the deployment is prebuilt, the config cannot be uploaded during deployment create. The upload during deployment build finds the config even if it's not in the root directory, as it has access to all files. Uploading the config during create is ideal, as then all child deployments are guaranteed to have access to the default app deployment config even if the default app has not yet started building. If the config is not uploaded, the child app will show as building until the config has been uploaded during the default app build. - `success` - The config was uploaded successfully, either when the deployment was created or during the build. - `waiting_on_build` - The config could not be uploaded during deployment create, will be attempted again during the build. - `no_config` - No config was found. Only set once the build has not found the config in any of the deployment's files. - `undefined` - Legacy deployments, or there was an error uploading the config during deployment create.
 */
export declare const MfeConfigUploadState: {
    readonly NoConfig: "no_config";
    readonly Success: "success";
    readonly WaitingOnBuild: "waiting_on_build";
};
/**
 * The result of the microfrontends config upload during deployment creation / build. Only set for default app deployments. The config upload is attempted during deployment create, and then again during the build. If the config is not in the root directory, or the deployment is prebuilt, the config cannot be uploaded during deployment create. The upload during deployment build finds the config even if it's not in the root directory, as it has access to all files. Uploading the config during create is ideal, as then all child deployments are guaranteed to have access to the default app deployment config even if the default app has not yet started building. If the config is not uploaded, the child app will show as building until the config has been uploaded during the default app build. - `success` - The config was uploaded successfully, either when the deployment was created or during the build. - `waiting_on_build` - The config could not be uploaded during deployment create, will be attempted again during the build. - `no_config` - No config was found. Only set once the build has not found the config in any of the deployment's files. - `undefined` - Legacy deployments, or there was an error uploading the config during deployment create.
 */
export type MfeConfigUploadState = ClosedEnum<typeof MfeConfigUploadState>;
export type CancelDeploymentMicrofrontends2 = {
    isDefaultApp: true;
    /**
     * The result of the microfrontends config upload during deployment creation / build. Only set for default app deployments. The config upload is attempted during deployment create, and then again during the build. If the config is not in the root directory, or the deployment is prebuilt, the config cannot be uploaded during deployment create. The upload during deployment build finds the config even if it's not in the root directory, as it has access to all files. Uploading the config during create is ideal, as then all child deployments are guaranteed to have access to the default app deployment config even if the default app has not yet started building. If the config is not uploaded, the child app will show as building until the config has been uploaded during the default app build. - `success` - The config was uploaded successfully, either when the deployment was created or during the build. - `waiting_on_build` - The config could not be uploaded during deployment create, will be attempted again during the build. - `no_config` - No config was found. Only set once the build has not found the config in any of the deployment's files. - `undefined` - Legacy deployments, or there was an error uploading the config during deployment create.
     */
    mfeConfigUploadState?: MfeConfigUploadState | undefined;
    /**
     * The project name of the default app of this deployment's microfrontends group.
     */
    defaultAppProjectName: string;
    /**
     * A path that is used to take screenshots and as the default path in preview links when a domain for this microfrontend is shown in the UI.
     */
    defaultRoute?: string | undefined;
    /**
     * The group of microfrontends that this project belongs to. Each microfrontend project must belong to a microfrontends group that is the set of microfrontends that are used together.
     */
    groupIds: Array<string>;
};
export type CancelDeploymentMicrofrontends1 = {
    isDefaultApp?: false | undefined;
    /**
     * The project name of the default app of this deployment's microfrontends group.
     */
    defaultAppProjectName: string;
    /**
     * A path that is used to take screenshots and as the default path in preview links when a domain for this microfrontend is shown in the UI.
     */
    defaultRoute?: string | undefined;
    /**
     * The group of microfrontends that this project belongs to. Each microfrontend project must belong to a microfrontends group that is the set of microfrontends that are used together.
     */
    groupIds: Array<string>;
};
export type CancelDeploymentMicrofrontends = CancelDeploymentMicrofrontends2 | CancelDeploymentMicrofrontends1;
/**
 * The external platform that created the deployment (e.g. its display name).
 */
export type CancelDeploymentDeploymentsSource = {
    /**
     * Display name of the platform.
     */
    name: string;
};
/**
 * Whether the value is an opaque identifier or a URL.
 */
export declare const CancelDeploymentDeploymentsResponseType: {
    readonly Id: "id";
    readonly Url: "url";
};
/**
 * Whether the value is an opaque identifier or a URL.
 */
export type CancelDeploymentDeploymentsResponseType = ClosedEnum<typeof CancelDeploymentDeploymentsResponseType>;
/**
 * Reference back to the entity on the platform that initiated the deployment.
 */
export type CancelDeploymentOrigin = {
    /**
     * Whether the value is an opaque identifier or a URL.
     */
    type: CancelDeploymentDeploymentsResponseType;
    /**
     * The identifier or URL pointing to the originating entity.
     */
    value: string;
};
/**
 * The user on the external platform who triggered the deployment.
 */
export type CancelDeploymentDeploymentsCreator = {
    /**
     * 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: CancelDeploymentDeploymentsSource;
    /**
     * Reference back to the entity on the platform that initiated the deployment.
     */
    origin: CancelDeploymentOrigin;
    /**
     * The user on the external platform who triggered the deployment.
     */
    creator: CancelDeploymentDeploymentsCreator;
    /**
     * Arbitrary key-value metadata provided by the platform.
     */
    meta?: {
        [k: string]: string;
    } | undefined;
};
export declare const FunctionType: {
    readonly Fluid: "fluid";
    readonly Standard: "standard";
};
export type FunctionType = ClosedEnum<typeof FunctionType>;
export declare const FunctionMemoryType: {
    readonly Performance: "performance";
    readonly PerformanceXl: "performance_xl";
    readonly Standard: "standard";
    readonly StandardLegacy: "standard_legacy";
};
export type FunctionMemoryType = ClosedEnum<typeof FunctionMemoryType>;
/**
 * Build resource configuration snapshot for this deployment.
 */
export declare const CancelDeploymentConfiguration: {
    readonly SkipNamespaceQueue: "SKIP_NAMESPACE_QUEUE";
    readonly WaitForNamespaceQueue: "WAIT_FOR_NAMESPACE_QUEUE";
};
/**
 * Build resource configuration snapshot for this deployment.
 */
export type CancelDeploymentConfiguration = ClosedEnum<typeof CancelDeploymentConfiguration>;
/**
 * Build resource configuration snapshot for this deployment.
 */
export type CancelDeploymentBuildQueue = {
    /**
     * Build resource configuration snapshot for this deployment.
     */
    configuration?: CancelDeploymentConfiguration | undefined;
};
/**
 * When elastic concurrency is used for this deployment, a value is set. The value tells the reason where the setting was coming from. - TEAM_SETTING: Inherited from team settings - PROJECT_SETTING: Inherited from project settings - SKIP_QUEUE: Manually triggered by user to skip the queues
 */
export declare const ElasticConcurrency: {
    readonly ProjectSetting: "PROJECT_SETTING";
    readonly SkipQueue: "SKIP_QUEUE";
    readonly TeamSetting: "TEAM_SETTING";
};
/**
 * When elastic concurrency is used for this deployment, a value is set. The value tells the reason where the setting was coming from. - TEAM_SETTING: Inherited from team settings - PROJECT_SETTING: Inherited from project settings - SKIP_QUEUE: Manually triggered by user to skip the queues
 */
export type ElasticConcurrency = ClosedEnum<typeof ElasticConcurrency>;
/**
 * Machine type that was used for the build.
 */
export declare const CancelDeploymentPurchaseType: {
    readonly Basic: "basic";
    readonly Enhanced: "enhanced";
    readonly Standard: "standard";
    readonly Turbo: "turbo";
};
/**
 * Machine type that was used for the build.
 */
export type CancelDeploymentPurchaseType = ClosedEnum<typeof CancelDeploymentPurchaseType>;
export type CancelDeploymentDeploymentsBuildMachine = {
    /**
     * Machine type that was used for the build.
     */
    purchaseType?: CancelDeploymentPurchaseType | null | undefined;
};
/**
 * Build resource configuration snapshot for this deployment.
 */
export type CancelDeploymentDeploymentsResourceConfig = {
    /**
     * Build resource configuration snapshot for this deployment.
     */
    buildQueue?: CancelDeploymentBuildQueue | undefined;
    /**
     * When elastic concurrency is used for this deployment, a value is set. The value tells the reason where the setting was coming from. - TEAM_SETTING: Inherited from team settings - PROJECT_SETTING: Inherited from project settings - SKIP_QUEUE: Manually triggered by user to skip the queues
     */
    elasticConcurrency?: ElasticConcurrency | undefined;
    buildMachine?: CancelDeploymentDeploymentsBuildMachine | undefined;
};
/**
 * Since February 2025 the configuration must include snapshot data at the time of deployment creation to capture properties for the /deployments/:id/config endpoint utilized for displaying Deployment Configuration on the frontend This is optional because older deployments may not have this data captured
 */
export type CancelDeploymentConfig = {
    version?: number | undefined;
    functionType: FunctionType;
    functionMemoryType: FunctionMemoryType;
    functionTimeout: number | null;
    secureComputePrimaryRegion: string | null;
    secureComputeFallbackRegion: string | null;
    isUsingActiveCPU?: boolean | undefined;
    /**
     * Build resource configuration snapshot for this deployment.
     */
    resourceConfig?: CancelDeploymentDeploymentsResourceConfig | undefined;
};
export declare const CancelDeploymentDeploymentsState: {
    readonly Failed: "failed";
    readonly Pending: "pending";
    readonly Succeeded: "succeeded";
};
export type CancelDeploymentDeploymentsState = ClosedEnum<typeof CancelDeploymentDeploymentsState>;
/**
 * Condensed check data. Retrieve individual check and check run data using api-checks v2 routes.
 */
export type DeploymentAlias = {
    state: CancelDeploymentDeploymentsState;
    startedAt: number;
    completedAt?: number | undefined;
};
export type CancelDeploymentChecks = {
    /**
     * Condensed check data. Retrieve individual check and check run data using api-checks v2 routes.
     */
    deploymentAlias: DeploymentAlias;
};
/**
 * The NSNB decision code for the seat block. TODO: We should consolidate block types.
 */
export declare const BlockCode: {
    readonly CommitAuthorRequired: "COMMIT_AUTHOR_REQUIRED";
    readonly TeamAccessRequired: "TEAM_ACCESS_REQUIRED";
};
/**
 * The NSNB decision code for the seat block. TODO: We should consolidate block types.
 */
export type BlockCode = ClosedEnum<typeof BlockCode>;
export type CancelDeploymentGitUserId = string | number;
/**
 * The git provider type associated with gitUserId.
 */
export declare const CancelDeploymentGitProvider: {
    readonly Bitbucket: "bitbucket";
    readonly Github: "github";
    readonly Gitlab: "gitlab";
};
/**
 * The git provider type associated with gitUserId.
 */
export type CancelDeploymentGitProvider = ClosedEnum<typeof CancelDeploymentGitProvider>;
/**
 * NSNB Blocked metadata
 */
export type SeatBlock = {
    /**
     * The NSNB decision code for the seat block. TODO: We should consolidate block types.
     */
    blockCode: BlockCode;
    /**
     * The blocked vercel user ID.
     */
    userId?: string | undefined;
    /**
     * Determines if the user was verified during the block. In the git integration case, the commit sender was the author.
     */
    isVerified?: boolean | undefined;
    gitUserId?: string | number | undefined;
    /**
     * The git provider type associated with gitUserId.
     */
    gitProvider?: CancelDeploymentGitProvider | undefined;
};
/**
 * Commit metadata from the git commit author
 */
export type CommitMeta = {
    /**
     * Email from git commit author
     */
    email?: string | undefined;
    /**
     * Name from git commit author
     */
    name?: string | undefined;
    /**
     * Whether the commit was signed/verified (GitHub only, others return undefined)
     */
    isVerified?: boolean | undefined;
};
export type CancelDeploymentId = string | number;
/**
 * Git provider user associated with the commit author email (only set if resolved)
 */
export type GitUser = {
    id: string | number;
    /**
     * Git provider username/login
     */
    login: string;
    /**
     * User type
     */
    type?: string | undefined;
    /**
     * The git provider (github, gitlab, bitbucket)
     */
    provider?: string | undefined;
};
/**
 * Vercel user linked to the git provider account (only set if resolved)
 */
export type VercelUser = {
    /**
     * Vercel user ID
     */
    id: string;
    /**
     * Vercel username
     */
    username: string;
    /**
     * Team roles at time of deployment
     */
    teamRoles?: Array<string> | undefined;
};
/**
 * Attribution metadata for the deployment, linking commit author to git and Vercel users. Only populated when the `enable-deployment-attribution` flag is enabled.
 */
export type CancelDeploymentAttribution = {
    /**
     * Commit metadata from the git commit author
     */
    commitMeta?: CommitMeta | undefined;
    /**
     * Git provider user associated with the commit author email (only set if resolved)
     */
    gitUser?: GitUser | undefined;
    /**
     * Vercel user linked to the git provider account (only set if resolved)
     */
    vercelUser?: VercelUser | undefined;
};
/**
 * Returns the updated deployment object with `readyState` set to `CANCELED`. The build has been stopped and this action is irreversible.
 */
export type CancelDeploymentResponseBody = {
    aliasAssignedAt?: AliasAssignedAt | null | undefined;
    alwaysRefuseToBuild?: boolean | undefined;
    build: Build;
    buildArtifactUrls?: Array<string> | undefined;
    builds?: Array<Builds> | undefined;
    env: Array<string>;
    resourceConfig?: CancelDeploymentResourceConfig | undefined;
    inspectorUrl: string | null;
    isInConcurrentBuildsQueue: boolean;
    isInSystemBuildsQueue: boolean;
    projectSettings: CancelDeploymentProjectSettings;
    integrations?: Integrations | undefined;
    images?: Images | undefined;
    /**
     * A list of all the aliases (default aliases, staging aliases and production aliases) that were assigned upon deployment creation
     */
    alias?: Array<string> | undefined;
    /**
     * A boolean that will be true when the aliases from the alias property were assigned successfully
     */
    aliasAssigned: boolean;
    bootedAt: number;
    buildingAt: number;
    /**
     * Since April 2025 it necessary for On-Demand Concurrency Minutes calculation
     */
    buildContainerFinishedAt?: number | undefined;
    buildSkipped: boolean;
    /**
     * Information about the deployment creator
     */
    creator: CancelDeploymentCreator;
    initReadyAt?: number | undefined;
    isFirstBranchDeployment?: boolean | undefined;
    lambdas?: Array<Lambdas> | undefined;
    /**
     * A boolean representing if the deployment is public or not. By default this is `false`
     */
    public: boolean;
    ready?: number | undefined;
    status: CancelDeploymentStatus;
    /**
     * The team that owns the deployment if any
     */
    team?: CancelDeploymentTeam | undefined;
    /**
     * An array of domains that were provided by the user when creating the Deployment.
     */
    userAliases?: Array<string> | undefined;
    /**
     * Whether or not preview comments are enabled for the deployment
     */
    previewCommentsEnabled?: boolean | undefined;
    ttyBuildLogs?: boolean | undefined;
    customEnvironment?: CancelDeploymentCustomEnvironment | undefined;
    oomReport?: OomReport | undefined;
    readyStateReason?: string | undefined;
    /**
     * A string holding the unique ID of the deployment
     */
    id: string;
    /**
     * 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.
     */
    target?: CancelDeploymentTarget | null | undefined;
    /**
     * The state of the deployment depending on the process of deploying, or if it is ready or in an error state
     */
    readyState: ReadyState;
    /**
     * An object that will contain a `code` and a `message` when the aliasing fails, otherwise the value will be `null`
     */
    aliasError?: AliasError | null | undefined;
    aliasWarning?: AliasWarning | null | undefined;
    errorCode?: string | undefined;
    errorMessage?: string | null | undefined;
    /**
     * A number containing the date when the deployment was created in milliseconds
     */
    createdAt: number;
    /**
     * The name of the project associated with the deployment at the time that the deployment was created
     */
    name: string;
    type: CancelDeploymentType;
    aliasFinal?: string | null | undefined;
    /**
     * applies to custom domains only, defaults to `true`
     */
    autoAssignCustomDomains?: boolean | undefined;
    automaticAliases?: Array<string> | undefined;
    buildErrorAt?: number | undefined;
    checksState?: ChecksState | undefined;
    checksConclusion?: ChecksConclusion | undefined;
    /**
     * A number containing the date when the deployment was deleted at milliseconds
     */
    deletedAt?: number | null | undefined;
    /**
     * Computed field that is only available for deployments with a microfrontend configuration.
     */
    defaultRoute?: string | undefined;
    canceledAt?: number | undefined;
    errorLink?: string | undefined;
    errorStep?: string | undefined;
    /**
     * Since November 2023 this field defines a set of regions that we will deploy the lambda to passively Lambdas will be deployed to these regions but only invoked if all of the primary `regions` are marked as out of service
     */
    passiveRegions?: Array<string> | undefined;
    gitSource?: CancelDeploymentGitSource | undefined;
    /**
     * 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.
     */
    manualProvisioning?: ManualProvisioning | undefined;
    meta: {
        [k: string]: string;
    };
    originCacheRegion?: string | undefined;
    /**
     * If set it overrides the `projectSettings.nodeVersion` for this deployment.
     */
    nodeVersion?: CancelDeploymentNodeVersion | undefined;
    /**
     * The public project information associated with the deployment.
     */
    project?: CancelDeploymentProject | undefined;
    prebuilt?: boolean | 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
     */
    readySubstate?: ReadySubstate | undefined;
    /**
     * The regions the deployment exists in
     */
    regions: Array<string>;
    /**
     * flag to indicate if the deployment was deleted by retention policy
     */
    softDeletedByRetention?: boolean | undefined;
    /**
     * Where was the deployment created from. Best-effort guess for metrics only — not authoritative; do not gate behavior on it.
     */
    source?: CancelDeploymentSource | undefined;
    /**
     * A number containing the date when the deployment was undeleted at milliseconds
     */
    undeletedAt?: number | undefined;
    /**
     * A string with the unique URL of the deployment
     */
    url: string;
    /**
     * Since January 2025 User-configured deployment ID for skew protection with pre-built deployments. This is set when users configure a custom deploymentId in their next.config.js file. This allows Next.js to use skew protection even when deployments are pre-built outside of Vercel's build system.
     */
    userConfiguredDeploymentId?: string | undefined;
    /**
     * The platform version that was used to create the deployment.
     */
    version: number;
    oidcTokenClaims?: OidcTokenClaims | undefined;
    projectId: string;
    plan: CancelDeploymentPlan;
    connectBuildsEnabled?: boolean | undefined;
    connectConfigurationId?: string | undefined;
    createdIn: string;
    crons?: Array<Crons> | undefined;
    atproto?: Atproto | undefined;
    functions?: {
        [k: string]: Functions;
    } | null | undefined;
    /**
     * Whether this deployment completed through the instant static fast path.
     */
    isInstantStatic?: boolean | undefined;
    monorepoManager?: string | null | undefined;
    ownerId: string;
    /**
     * Since November 2023 this field defines a Secure Compute network that will only be used to deploy passive lambdas to (as in passiveRegions)
     */
    passiveConnectConfigurationId?: string | undefined;
    routes: Array<CancelDeploymentRoutes> | null;
    /**
     * Services detected during build from vercel.json experimentalServices or auto-detected from project structure. Used to inject service URLs as environment variables at runtime.
     */
    services?: Array<Services1 | Services2> | undefined;
    gitRepo?: GitRepo1 | GitRepo2 | GitRepo3 | GitRepo4 | GitRepo5 | null | undefined;
    flags?: Flags1 | Array<Flags2> | undefined;
    microfrontends?: CancelDeploymentMicrofrontends2 | CancelDeploymentMicrofrontends1 | 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)
     */
    platform?: Platform | undefined;
    /**
     * Since February 2025 the configuration must include snapshot data at the time of deployment creation to capture properties for the /deployments/:id/config endpoint utilized for displaying Deployment Configuration on the frontend This is optional because older deployments may not have this data captured
     */
    config?: CancelDeploymentConfig | undefined;
    checks?: CancelDeploymentChecks | undefined;
    /**
     * NSNB Blocked metadata
     */
    seatBlock?: SeatBlock | undefined;
    /**
     * Attribution metadata for the deployment, linking commit author to git and Vercel users. Only populated when the `enable-deployment-attribution` flag is enabled.
     */
    attribution?: CancelDeploymentAttribution | undefined;
};
/** @internal */
export declare const ExcludeFiles$inboundSchema: z.ZodType<ExcludeFiles, z.ZodTypeDef, unknown>;
export declare function excludeFilesFromJSON(jsonString: string): SafeParseResult<ExcludeFiles, SDKValidationError>;
/** @internal */
export declare const CancelDeploymentServicesArchitecture$inboundSchema: z.ZodNativeEnum<typeof CancelDeploymentServicesArchitecture>;
/** @internal */
export declare const CancelDeploymentMaxDurationDeploymentsResponse2$inboundSchema: z.ZodNativeEnum<typeof CancelDeploymentMaxDurationDeploymentsResponse2>;
/** @internal */
export declare const CancelDeploymentServicesMaxDuration$inboundSchema: z.ZodType<CancelDeploymentServicesMaxDuration, z.ZodTypeDef, unknown>;
export declare function cancelDeploymentServicesMaxDurationFromJSON(jsonString: string): SafeParseResult<CancelDeploymentServicesMaxDuration, SDKValidationError>;
/** @internal */
export declare const CancelDeploymentServicesMode$inboundSchema: z.ZodNativeEnum<typeof CancelDeploymentServicesMode>;
/** @internal */
export declare const CancelDeploymentServicesAffinity$inboundSchema: z.ZodType<CancelDeploymentServicesAffinity, z.ZodTypeDef, unknown>;
export declare function cancelDeploymentServicesAffinityFromJSON(jsonString: string): SafeParseResult<CancelDeploymentServicesAffinity, SDKValidationError>;
/** @internal */
export declare const CancelDeploymentExperimentalTriggersDeploymentsResponse3$inboundSchema: z.ZodType<CancelDeploymentExperimentalTriggersDeploymentsResponse3, z.ZodTypeDef, unknown>;
export declare function cancelDeploymentExperimentalTriggersDeploymentsResponse3FromJSON(jsonString: string): SafeParseResult<CancelDeploymentExperimentalTriggersDeploymentsResponse3, SDKValidationError>;
/** @internal */
export declare const CancelDeploymentExperimentalTriggersDeploymentsResponse2$inboundSchema: z.ZodType<CancelDeploymentExperimentalTriggersDeploymentsResponse2, z.ZodTypeDef, unknown>;
export declare function cancelDeploymentExperimentalTriggersDeploymentsResponse2FromJSON(jsonString: string): SafeParseResult<CancelDeploymentExperimentalTriggersDeploymentsResponse2, SDKValidationError>;
/** @internal */
export declare const CancelDeploymentExperimentalTriggersDeploymentsResponse1$inboundSchema: z.ZodType<CancelDeploymentExperimentalTriggersDeploymentsResponse1, z.ZodTypeDef, unknown>;
export declare function cancelDeploymentExperimentalTriggersDeploymentsResponse1FromJSON(jsonString: string): SafeParseResult<CancelDeploymentExperimentalTriggersDeploymentsResponse1, SDKValidationError>;
/** @internal */
export declare const CancelDeploymentServicesExperimentalTriggers$inboundSchema: z.ZodType<CancelDeploymentServicesExperimentalTriggers, z.ZodTypeDef, unknown>;
export declare function cancelDeploymentServicesExperimentalTriggersFromJSON(jsonString: string): SafeParseResult<CancelDeploymentServicesExperimentalTriggers, SDKValidationError>;
/** @internal */
export declare const CancelDeploymentServicesFunctions$inboundSchema: z.ZodType<CancelDeploymentServicesFunctions, z.ZodTypeDef, unknown>;
export declare function cancelDeploymentServicesFunctionsFromJSON(jsonString: string): SafeParseResult<CancelDeploymentServicesFunctions, SDKValidationError>;
/** @internal */
export declare const ServicesProjectSettings$inboundSchema: z.ZodType<ServicesProjectSettings, z.ZodTypeDef, unknown>;
export declare function servicesProjectSettingsFromJSON(jsonString: string): SafeParseResult<ServicesProjectSettings, SDKValidationError>;
/** @internal */
export declare const MiddlewareRuntime$inboundSchema: z.ZodNativeEnum<typeof MiddlewareRuntime>;
/** @internal */
export declare const MiddlewareMatcher$inboundSchema: z.ZodType<MiddlewareMatcher, z.ZodTypeDef, unknown>;
export declare function middlewareMatcherFromJSON(jsonString: string): SafeParseResult<MiddlewareMatcher, SDKValidationError>;
/** @internal */
export declare const ServicesConfig$inboundSchema: z.ZodType<ServicesConfig, z.ZodTypeDef, unknown>;
export declare function servicesConfigFromJSON(jsonString: string): SafeParseResult<ServicesConfig, SDKValidationError>;
/** @internal */
export declare const Builder$inboundSchema: z.ZodType<Builder, z.ZodTypeDef, unknown>;
export declare function builderFromJSON(jsonString: string): SafeParseResult<Builder, SDKValidationError>;
/** @internal */
export declare const RoutePrefixSource$inboundSchema: z.ZodNativeEnum<typeof RoutePrefixSource>;
/** @internal */
export declare const Schedule$inboundSchema: z.ZodType<Schedule, z.ZodTypeDef, unknown>;
export declare function scheduleFromJSON(jsonString: string): SafeParseResult<Schedule, SDKValidationError>;
/** @internal */
export declare const Topics2$inboundSchema: z.ZodType<Topics2, z.ZodTypeDef, unknown>;
export declare function topics2FromJSON(jsonString: string): SafeParseResult<Topics2, SDKValidationError>;
/** @internal */
export declare const Topics$inboundSchema: z.ZodType<Topics, z.ZodTypeDef, unknown>;
export declare function topicsFromJSON(jsonString: string): SafeParseResult<Topics, SDKValidationError>;
/** @internal */
export declare const CancelDeploymentServicesType$inboundSchema: z.ZodNativeEnum<typeof CancelDeploymentServicesType>;
/** @internal */
export declare const ServicesEnv$inboundSchema: z.ZodType<ServicesEnv, z.ZodTypeDef, unknown>;
export declare function servicesEnvFromJSON(jsonString: string): SafeParseResult<ServicesEnv, SDKValidationError>;
/** @internal */
export declare const Services1$inboundSchema: z.ZodType<Services1, z.ZodTypeDef, unknown>;
export declare function services1FromJSON(jsonString: string): SafeParseResult<Services1, SDKValidationError>;
/** @internal */
export declare const Services$inboundSchema: z.ZodType<Services, z.ZodTypeDef, unknown>;
export declare function servicesFromJSON(jsonString: string): SafeParseResult<Services, SDKValidationError>;
/** @internal */
export declare const CancelDeploymentGitRepoDeploymentsResponseOwnerType$inboundSchema: z.ZodNativeEnum<typeof CancelDeploymentGitRepoDeploymentsResponseOwnerType>;
/** @internal */
export declare const GitRepo5$inboundSchema: z.ZodType<GitRepo5, z.ZodTypeDef, unknown>;
export declare function gitRepo5FromJSON(jsonString: string): SafeParseResult<GitRepo5, SDKValidationError>;
/** @internal */
export declare const CancelDeploymentGitRepoDeploymentsOwnerType$inboundSchema: z.ZodNativeEnum<typeof CancelDeploymentGitRepoDeploymentsOwnerType>;
/** @internal */
export declare const GitRepo4$inboundSchema: z.ZodType<GitRepo4, z.ZodTypeDef, unknown>;
export declare function gitRepo4FromJSON(jsonString: string): SafeParseResult<GitRepo4, SDKValidationError>;
/** @internal */
export declare const CancelDeploymentGitRepoOwnerType$inboundSchema: z.ZodNativeEnum<typeof CancelDeploymentGitRepoOwnerType>;
/** @internal */
export declare const GitRepo3$inboundSchema: z.ZodType<GitRepo3, z.ZodTypeDef, unknown>;
export declare function gitRepo3FromJSON(jsonString: string): SafeParseResult<GitRepo3, SDKValidationError>;
/** @internal */
export declare const GitRepoOwnerType$inboundSchema: z.ZodNativeEnum<typeof GitRepoOwnerType>;
/** @internal */
export declare const GitRepo2$inboundSchema: z.ZodType<GitRepo2, z.ZodTypeDef, unknown>;
export declare function gitRepo2FromJSON(jsonString: string): SafeParseResult<GitRepo2, SDKValidationError>;
/** @internal */
export declare const OwnerType$inboundSchema: z.ZodNativeEnum<typeof OwnerType>;
/** @internal */
export declare const GitRepo1$inboundSchema: z.ZodType<GitRepo1, z.ZodTypeDef, unknown>;
export declare function gitRepo1FromJSON(jsonString: string): SafeParseResult<GitRepo1, SDKValidationError>;
/** @internal */
export declare const GitRepo$inboundSchema: z.ZodType<GitRepo, z.ZodTypeDef, unknown>;
export declare function gitRepoFromJSON(jsonString: string): SafeParseResult<GitRepo, SDKValidationError>;
/** @internal */
export declare const Flags2$inboundSchema: z.ZodType<Flags2, z.ZodTypeDef, unknown>;
export declare function flags2FromJSON(jsonString: string): SafeParseResult<Flags2, SDKValidationError>;
/** @internal */
export declare const FlagsOptions$inboundSchema: z.ZodType<FlagsOptions, z.ZodTypeDef, unknown>;
export declare function flagsOptionsFromJSON(jsonString: string): SafeParseResult<FlagsOptions, SDKValidationError>;
/** @internal */
export declare const FlagsDefinitions$inboundSchema: z.ZodType<FlagsDefinitions, z.ZodTypeDef, unknown>;
export declare function flagsDefinitionsFromJSON(jsonString: string): SafeParseResult<FlagsDefinitions, SDKValidationError>;
/** @internal */
export declare const Flags1$inboundSchema: z.ZodType<Flags1, z.ZodTypeDef, unknown>;
export declare function flags1FromJSON(jsonString: string): SafeParseResult<Flags1, SDKValidationError>;
/** @internal */
export declare const Flags$inboundSchema: z.ZodType<Flags, z.ZodTypeDef, unknown>;
export declare function flagsFromJSON(jsonString: string): SafeParseResult<Flags, SDKValidationError>;
/** @internal */
export declare const MfeConfigUploadState$inboundSchema: z.ZodNativeEnum<typeof MfeConfigUploadState>;
/** @internal */
export declare const CancelDeploymentMicrofrontends2$inboundSchema: z.ZodType<CancelDeploymentMicrofrontends2, z.ZodTypeDef, unknown>;
export declare function cancelDeploymentMicrofrontends2FromJSON(jsonString: string): SafeParseResult<CancelDeploymentMicrofrontends2, SDKValidationError>;
/** @internal */
export declare const CancelDeploymentMicrofrontends1$inboundSchema: z.ZodType<CancelDeploymentMicrofrontends1, z.ZodTypeDef, unknown>;
export declare function cancelDeploymentMicrofrontends1FromJSON(jsonString: string): SafeParseResult<CancelDeploymentMicrofrontends1, SDKValidationError>;
/** @internal */
export declare const CancelDeploymentMicrofrontends$inboundSchema: z.ZodType<CancelDeploymentMicrofrontends, z.ZodTypeDef, unknown>;
export declare function cancelDeploymentMicrofrontendsFromJSON(jsonString: string): SafeParseResult<CancelDeploymentMicrofrontends, SDKValidationError>;
/** @internal */
export declare const CancelDeploymentDeploymentsSource$inboundSchema: z.ZodType<CancelDeploymentDeploymentsSource, z.ZodTypeDef, unknown>;
export declare function cancelDeploymentDeploymentsSourceFromJSON(jsonString: string): SafeParseResult<CancelDeploymentDeploymentsSource, SDKValidationError>;
/** @internal */
export declare const CancelDeploymentDeploymentsResponseType$inboundSchema: z.ZodNativeEnum<typeof CancelDeploymentDeploymentsResponseType>;
/** @internal */
export declare const CancelDeploymentOrigin$inboundSchema: z.ZodType<CancelDeploymentOrigin, z.ZodTypeDef, unknown>;
export declare function cancelDeploymentOriginFromJSON(jsonString: string): SafeParseResult<CancelDeploymentOrigin, SDKValidationError>;
/** @internal */
export declare const CancelDeploymentDeploymentsCreator$inboundSchema: z.ZodType<CancelDeploymentDeploymentsCreator, z.ZodTypeDef, unknown>;
export declare function cancelDeploymentDeploymentsCreatorFromJSON(jsonString: string): SafeParseResult<CancelDeploymentDeploymentsCreator, 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 FunctionType$inboundSchema: z.ZodNativeEnum<typeof FunctionType>;
/** @internal */
export declare const FunctionMemoryType$inboundSchema: z.ZodNativeEnum<typeof FunctionMemoryType>;
/** @internal */
export declare const CancelDeploymentConfiguration$inboundSchema: z.ZodNativeEnum<typeof CancelDeploymentConfiguration>;
/** @internal */
export declare const CancelDeploymentBuildQueue$inboundSchema: z.ZodType<CancelDeploymentBuildQueue, z.ZodTypeDef, unknown>;
export declare function cancelDeploymentBuildQueueFromJSON(jsonString: string): SafeParseResult<CancelDeploymentBuildQueue, SDKValidationError>;
/** @internal */
export declare const ElasticConcurrency$inboundSchema: z.ZodNativeEnum<typeof ElasticConcurrency>;
/** @internal */
export declare const CancelDeploymentPurchaseType$inboundSchema: z.ZodNativeEnum<typeof CancelDeploymentPurchaseType>;
/** @internal */
export declare const CancelDeploymentDeploymentsBuildMachine$inboundSchema: z.ZodType<CancelDeploymentDeploymentsBuildMachine, z.ZodTypeDef, unknown>;
export declare function cancelDeploymentDeploymentsBuildMachineFromJSON(jsonString: string): SafeParseResult<CancelDeploymentDeploymentsBuildMachine, SDKValidationError>;
/** @internal */
export declare const CancelDeploymentDeploymentsResourceConfig$inboundSchema: z.ZodType<CancelDeploymentDeploymentsResourceConfig, z.ZodTypeDef, unknown>;
export declare function cancelDeploymentDeploymentsResourceConfigFromJSON(jsonString: string): SafeParseResult<CancelDeploymentDeploymentsResourceConfig, SDKValidationError>;
/** @internal */
export declare const CancelDeploymentConfig$inboundSchema: z.ZodType<CancelDeploymentConfig, z.ZodTypeDef, unknown>;
export declare function cancelDeploymentConfigFromJSON(jsonString: string): SafeParseResult<CancelDeploymentConfig, SDKValidationError>;
/** @internal */
export declare const CancelDeploymentDeploymentsState$inboundSchema: z.ZodNativeEnum<typeof CancelDeploymentDeploymentsState>;
/** @internal */
export declare const DeploymentAlias$inboundSchema: z.ZodType<DeploymentAlias, z.ZodTypeDef, unknown>;
export declare function deploymentAliasFromJSON(jsonString: string): SafeParseResult<DeploymentAlias, SDKValidationError>;
/** @internal */
export declare const CancelDeploymentChecks$inboundSchema: z.ZodType<CancelDeploymentChecks, z.ZodTypeDef, unknown>;
export declare function cancelDeploymentChecksFromJSON(jsonString: string): SafeParseResult<CancelDeploymentChecks, SDKValidationError>;
/** @internal */
export declare const BlockCode$inboundSchema: z.ZodNativeEnum<typeof BlockCode>;
/** @internal */
export declare const CancelDeploymentGitUserId$inboundSchema: z.ZodType<CancelDeploymentGitUserId, z.ZodTypeDef, unknown>;
export declare function cancelDeploymentGitUserIdFromJSON(jsonString: string): SafeParseResult<CancelDeploymentGitUserId, SDKValidationError>;
/** @internal */
export declare const CancelDeploymentGitProvider$inboundSchema: z.ZodNativeEnum<typeof CancelDeploymentGitProvider>;
/** @internal */
export declare const SeatBlock$inboundSchema: z.ZodType<SeatBlock, z.ZodTypeDef, unknown>;
export declare function seatBlockFromJSON(jsonString: string): SafeParseResult<SeatBlock, SDKValidationError>;
/** @internal */
export declare const CommitMeta$inboundSchema: z.ZodType<CommitMeta, z.ZodTypeDef, unknown>;
export declare function commitMetaFromJSON(jsonString: string): SafeParseResult<CommitMeta, SDKValidationError>;
/** @internal */
export declare const CancelDeploymentId$inboundSchema: z.ZodType<CancelDeploymentId, z.ZodTypeDef, unknown>;
export declare function cancelDeploymentIdFromJSON(jsonString: string): SafeParseResult<CancelDeploymentId, SDKValidationError>;
/** @internal */
export declare const GitUser$inboundSchema: z.ZodType<GitUser, z.ZodTypeDef, unknown>;
export declare function gitUserFromJSON(jsonString: string): SafeParseResult<GitUser, SDKValidationError>;
/** @internal */
export declare const VercelUser$inboundSchema: z.ZodType<VercelUser, z.ZodTypeDef, unknown>;
export declare function vercelUserFromJSON(jsonString: string): SafeParseResult<VercelUser, SDKValidationError>;
/** @internal */
export declare const CancelDeploymentAttribution$inboundSchema: z.ZodType<CancelDeploymentAttribution, z.ZodTypeDef, unknown>;
export declare function cancelDeploymentAttributionFromJSON(jsonString: string): SafeParseResult<CancelDeploymentAttribution, SDKValidationError>;
/** @internal */
export declare const CancelDeploymentResponseBody$inboundSchema: z.ZodType<CancelDeploymentResponseBody, z.ZodTypeDef, unknown>;
export declare function cancelDeploymentResponseBodyFromJSON(jsonString: string): SafeParseResult<CancelDeploymentResponseBody, SDKValidationError>;
//# sourceMappingURL=canceldeploymentresponsebody.d.ts.map