interface ResponseGetAuthV1BackgroundRequestsRequestId202 {
    /**
     * Branded request identifier — `ri-<20 lowercase alphanumeric chars>` for newly
     * minted IDs. The wrapped string is otherwise opaque, so legacy UUID-formatted
     * IDs (from in-flight requests during rollout) round-trip unchanged.
     */
    requestId: string;
    status: string;
}
interface ResponseGetAuthV1BackgroundRequestsRequestId404 {
    message: string;
}
interface ResponseGetAuthV1Whoami200 {
    accountId: string;
    identityId?: string | null;
}
interface ResponseGetDnsV1Records200 {
    records: {
        kind: "A" | "AAAA" | "CNAME" | "TXT" | "NS";
        name: string;
        value: string;
        ttl: string;
        priority?: number | null;
        managed: boolean;
    }[];
}
interface ResponseGetDnsV1Records400 {
    message: string;
}
interface ResponsePostDnsV1Records200 {
    record: {
        kind: "A" | "AAAA" | "CNAME" | "TXT" | "NS";
        name: string;
        value: string;
        ttl: string;
        priority?: number | null;
        managed: boolean;
    };
}
interface ResponsePostDnsV1Records403 {
    /**
     * Error code in SCREAMING_SNAKE_CASE
     */
    error: string;
    /**
     * Human-readable error message
     */
    message: string;
}
interface ResponsePostDnsV1Records500 {
    /**
     * Error code in SCREAMING_SNAKE_CASE
     */
    error: string;
    /**
     * Human-readable error message
     */
    message: string;
}
interface ResponseDeleteDnsV1Records200 {
    message: string;
}
interface ResponseDeleteDnsV1Records403 {
    /**
     * Error code in SCREAMING_SNAKE_CASE
     */
    error: string;
    /**
     * Human-readable error message
     */
    message: string;
}
interface ResponseDeleteDnsV1Records500 {
    /**
     * Error code in SCREAMING_SNAKE_CASE
     */
    error: string;
    /**
     * Human-readable error message
     */
    message: string;
}
interface ResponsePostDomainsV1CertsDomainWildcard200 {
    domain: string;
}
interface ResponsePostDomainsV1CertsDomainWildcard400 {
    message: string;
}
type ResponseGetDomainsV1Domains200 = {
    domain: string;
    accountId: string;
    createdAt: string;
    id: string;
    verifiedDns: boolean;
    implicitlyOwned: boolean;
    deployToDomain: boolean;
    manageDns: boolean;
    deployToSubdomains: boolean;
}[];
interface ResponseGetDomainsV1Domains400 {
    message: string;
}
type ResponseGetDomainsV1Mappings200 = {
    id: string;
    domain: string;
    deploymentId?: string | null;
    vmId?: string | null;
    vmPort?: number | null;
    ownershipId: string;
    createdAt: string;
    unmappedAt?: string | null;
}[];
interface ResponsePostDomainsV1MappingsDomain200 {
    id: string;
    domain: string;
    deploymentId?: string | null;
    vmId?: string | null;
    vmPort?: number | null;
    ownershipId: string;
    createdAt: string;
    unmappedAt?: string | null;
}
/**
 * Public API error wrapper. Mark public APIs with `Public<T>` to ensure private error
 * details aren't exposed.
 */
interface ResponsePostDomainsV1MappingsDomain4XX {
    error: {
        FailedToCheckDomainMappingPermissions: {
            message: string;
        };
    } | {
        FailedPermissionsCheck: {
            domain: string;
        };
    } | {
        FailedRemoveDomainMapping: {
            message: string;
        };
    } | {
        FailedToInsertOwnership: {
            message: string;
        };
    } | {
        DomainAlreadyExists: {
            domain: string;
        };
    } | {
        InvalidRequest: {
            message: string;
        };
    } | {
        FailedInsertDomainMapping: {
            message: string;
        };
    } | {
        FailedToProvisionCertificateForMapping: {
            message: string;
        };
    } | {
        DeploymentAccessDenied: {
            deployment_id: string;
        };
    } | {
        VmAccessDeniedForMapping: {
            vm_id: string;
        };
    } | {
        DomainOwnershipNotVerified: {
            domain: string;
        };
    };
    headers?: {
        [k: string]: string;
    } | null;
    context?: {
        [k: string]: unknown;
    } | null;
}
/**
 * Public API error wrapper. Mark public APIs with `Public<T>` to ensure private error
 * details aren't exposed.
 */
interface ResponsePostDomainsV1MappingsDomain5XX {
    error: {
        FailedToCheckDomainMappingPermissions: {
            message: string;
        };
    } | {
        FailedPermissionsCheck: {
            domain: string;
        };
    } | {
        FailedRemoveDomainMapping: {
            message: string;
        };
    } | {
        FailedToInsertOwnership: {
            message: string;
        };
    } | {
        DomainAlreadyExists: {
            domain: string;
        };
    } | {
        InvalidRequest: {
            message: string;
        };
    } | {
        FailedInsertDomainMapping: {
            message: string;
        };
    } | {
        FailedToProvisionCertificateForMapping: {
            message: string;
        };
    } | {
        DeploymentAccessDenied: {
            deployment_id: string;
        };
    } | {
        VmAccessDeniedForMapping: {
            vm_id: string;
        };
    } | {
        DomainOwnershipNotVerified: {
            domain: string;
        };
    };
    headers?: {
        [k: string]: string;
    } | null;
    context?: {
        [k: string]: unknown;
    } | null;
}
interface ResponseDeleteDomainsV1MappingsDomain200 {
}
interface ResponseDeleteDomainsV1MappingsDomain400 {
    /**
     * Error code in SCREAMING_SNAKE_CASE
     */
    error: string;
    /**
     * Human-readable error message
     */
    message: string;
}
interface ResponseDeleteDomainsV1MappingsDomain401 {
    /**
     * Error code in SCREAMING_SNAKE_CASE
     */
    error: string;
    /**
     * Human-readable error message
     */
    message: string;
}
interface ResponseDeleteDomainsV1MappingsDomain422 {
    /**
     * Error code in SCREAMING_SNAKE_CASE
     */
    error: string;
    /**
     * Human-readable error message
     */
    message: string;
}
interface ResponseDeleteDomainsV1MappingsDomain500 {
    /**
     * Error code in SCREAMING_SNAKE_CASE
     */
    error: string;
    /**
     * Human-readable error message
     */
    message: string;
}
interface ResponseDeleteDomainsV1MappingsDomain502 {
    /**
     * Error code in SCREAMING_SNAKE_CASE
     */
    error: string;
    /**
     * Human-readable error message
     */
    message: string;
}
type ResponseGetDomainsV1Verifications200 = {
    verificationCode: string;
    domain: string;
    createdAt: string;
}[];
interface ResponseGetDomainsV1Verifications400 {
    message: string;
}
interface ResponsePostDomainsV1Verifications200 {
    id: string;
    domain: string;
    accountId: string;
    verificationCode: string;
    createdAt: string;
}
interface ResponsePostDomainsV1Verifications400 {
    message: string;
}
interface ResponsePutDomainsV1Verifications200 {
    domain: string;
}
interface ResponsePutDomainsV1Verifications400 {
    /**
     * Error code in SCREAMING_SNAKE_CASE
     */
    error: string;
    /**
     * Human-readable error message
     */
    message: string;
}
interface ResponsePutDomainsV1Verifications401 {
    /**
     * Error code in SCREAMING_SNAKE_CASE
     */
    error: string;
    /**
     * Human-readable error message
     */
    message: string;
}
interface ResponsePutDomainsV1Verifications403 {
    /**
     * Error code in SCREAMING_SNAKE_CASE
     */
    error: string;
    /**
     * Human-readable error message
     */
    message: string;
}
interface ResponsePutDomainsV1Verifications404 {
    /**
     * Error code in SCREAMING_SNAKE_CASE
     */
    error: string;
    /**
     * Human-readable error message
     */
    message: string;
}
interface ResponsePutDomainsV1Verifications422 {
    /**
     * Error code in SCREAMING_SNAKE_CASE
     */
    error: string;
    /**
     * Human-readable error message
     */
    message: string;
}
interface ResponsePutDomainsV1Verifications500 {
    /**
     * Error code in SCREAMING_SNAKE_CASE
     */
    error: string;
    /**
     * Human-readable error message
     */
    message: string;
}
interface ResponsePutDomainsV1Verifications502 {
    /**
     * Error code in SCREAMING_SNAKE_CASE
     */
    error: string;
    /**
     * Human-readable error message
     */
    message: string;
}
interface ResponseDeleteDomainsV1Verifications200 {
    verificationCode: string;
    domain: string;
}
interface ResponseDeleteDomainsV1Verifications400 {
    message: string;
}
interface ResponseGetExecuteV1Deployments200 {
    entries: {
        deployment: string;
        accountId: string;
        provisionedAt: string;
        startedAt?: string | null;
        duration?: string | null;
        state: "starting" | "running" | "complete";
        envVars: {
            [k: string]: string;
        };
    }[];
    total: number;
    offset: number;
}
interface ResponseGetExecuteV1Deployments500 {
    message: string;
}
interface ResponseGetExecuteV1DeploymentsDeployment200 {
    metadata: {
        deployment: string;
        accountId: string;
        provisionedAt: string;
        startedAt?: string | null;
        duration?: string | null;
        state: "starting" | "running" | "complete";
        envVars: {
            [k: string]: string;
        };
    };
    code?: null | {
        code: string;
        nodeModules: {
            [k: string]: string;
        };
    };
}
/**
 * Unauthorized access
 */
interface ResponseGetExecuteV1DeploymentsDeployment401 {
    message: string;
}
/**
 * Not found
 */
interface ResponseGetExecuteV1DeploymentsDeployment404 {
    message: string;
}
/**
 * Internal server error
 */
interface ResponseGetExecuteV1DeploymentsDeployment500 {
    message: string;
}
interface ResponsePostExecuteV1Script200 {
    /**
     * The return value of the default export of the script
     */
    result: {
        [k: string]: unknown;
    };
    logs: {
        /**
         * The log message
         */
        message: string;
        /**
         * The log level
         */
        type: string;
    }[];
}
interface ResponsePostExecuteV1Script400 {
    error: string;
    logs?: {
        /**
         * The log message
         */
        message: string;
        /**
         * The log level
         */
        type: string;
    }[] | null;
}
interface ResponsePostExecuteV1Script500 {
    error: string;
    logs?: {
        /**
         * The log message
         */
        message: string;
        /**
         * The log level
         */
        type: string;
    }[] | null;
}
/**
 * Success result from script execution
 */
interface ResponsePostExecuteV3Script200 {
    result: unknown;
    logs: ({
        message: string;
        callstack?: string | null;
        type: "log";
    } | {
        message: string;
        callstack?: string | null;
        type: "error";
    })[];
}
interface ResponsePostExecuteV3Script403 {
    /**
     * Error code in SCREAMING_SNAKE_CASE
     */
    error: string;
    /**
     * Human-readable error message
     */
    message: string;
}
interface ResponseGetGitV1Identity200 {
    identities: {
        id: string;
        managed: boolean;
    }[];
    offset: number;
    total: number;
}
interface ResponsePostGitV1Identity200 {
    id: string;
    managed: boolean;
}
interface ResponseDeleteGitV1IdentityIdentity200 {
}
interface ResponseDeleteGitV1IdentityIdentity403 {
    message: string;
}
interface ResponseDeleteGitV1IdentityIdentity404 {
    message: string;
}
interface ResponseDeleteGitV1IdentityIdentity500 {
    message: string;
}
interface ResponseGetGitV1IdentityIdentityPermissions200 {
    repositories: {
        id: string;
        name?: string | null;
        accountId: string;
        permissions: "read" | "write";
        visibility: "public" | "private";
    }[];
}
interface ResponseGetGitV1IdentityIdentityPermissions403 {
    message: string;
}
interface ResponseGetGitV1IdentityIdentityPermissions404 {
    message: string;
}
interface ResponseGetGitV1IdentityIdentityPermissions500 {
    message: string;
}
interface ResponseGetGitV1IdentityIdentityPermissionsRepo200 {
    identity: string;
    repo: string;
    accessLevel?: null | ("read" | "write");
}
interface ResponseGetGitV1IdentityIdentityPermissionsRepo403 {
    message: string;
}
interface ResponseGetGitV1IdentityIdentityPermissionsRepo404 {
    message: string;
}
interface ResponseGetGitV1IdentityIdentityPermissionsRepo500 {
    message: string;
}
interface ResponsePostGitV1IdentityIdentityPermissionsRepo200 {
}
interface ResponsePostGitV1IdentityIdentityPermissionsRepo403 {
    message: string;
}
interface ResponsePostGitV1IdentityIdentityPermissionsRepo404 {
    message: string;
}
interface ResponsePostGitV1IdentityIdentityPermissionsRepo500 {
    message: string;
}
interface ResponseDeleteGitV1IdentityIdentityPermissionsRepo200 {
}
interface ResponseDeleteGitV1IdentityIdentityPermissionsRepo403 {
    message: string;
}
interface ResponseDeleteGitV1IdentityIdentityPermissionsRepo404 {
    message: string;
}
interface ResponseDeleteGitV1IdentityIdentityPermissionsRepo500 {
    message: string;
}
interface ResponseGetGitV1IdentityIdentityTokens200 {
    tokens: {
        id: string;
    }[];
}
interface ResponseGetGitV1IdentityIdentityTokens403 {
    message: string;
}
interface ResponseGetGitV1IdentityIdentityTokens404 {
    message: string;
}
interface ResponseGetGitV1IdentityIdentityTokens500 {
    message: string;
}
interface ResponsePostGitV1IdentityIdentityTokens200 {
    id: string;
    token: string;
}
interface ResponsePostGitV1IdentityIdentityTokens403 {
    message: string;
}
interface ResponsePostGitV1IdentityIdentityTokens404 {
    message: string;
}
interface ResponsePostGitV1IdentityIdentityTokens500 {
    message: string;
}
interface ResponseDeleteGitV1IdentityIdentityTokens200 {
}
interface ResponseDeleteGitV1IdentityIdentityTokens403 {
    message: string;
}
interface ResponseDeleteGitV1IdentityIdentityTokens404 {
    message: string;
}
interface ResponseDeleteGitV1IdentityIdentityTokens500 {
    message: string;
}
interface ResponseGetGitV1Repo200 {
    repositories: {
        branches: {
            [k: string]: {
                default: boolean;
                name: string;
                target?: string | null;
            };
        };
        tags: {
            [k: string]: {
                name: string;
                target: string;
                message?: string | null;
            };
        };
        defaultBranch: string;
    }[];
    total: number;
    offset: number;
}
interface ResponseGetGitV1Repo500 {
    /**
     * Error code in SCREAMING_SNAKE_CASE
     */
    error: string;
    /**
     * Human-readable error message
     */
    message: string;
}
interface ResponsePostGitV1Repo200 {
    repoId: string;
}
interface ResponsePostGitV1Repo403 {
    /**
     * Error code in SCREAMING_SNAKE_CASE
     */
    error: string;
    /**
     * Human-readable error message
     */
    message: string;
}
interface ResponsePostGitV1Repo500 {
    /**
     * Error code in SCREAMING_SNAKE_CASE
     */
    error: string;
    /**
     * Human-readable error message
     */
    message: string;
}
interface ResponseGetGitV1RepoRepoIdDefaultBranch200 {
    defaultBranch: string;
}
interface ResponseGetGitV1RepoRepoIdDefaultBranch403 {
    /**
     * Error code in SCREAMING_SNAKE_CASE
     */
    error: string;
    /**
     * Human-readable error message
     */
    message: string;
}
interface ResponseGetGitV1RepoRepoIdDefaultBranch500 {
    /**
     * Error code in SCREAMING_SNAKE_CASE
     */
    error: string;
    /**
     * Human-readable error message
     */
    message: string;
}
interface ResponsePutGitV1RepoRepoIdDefaultBranch200 {
}
interface ResponsePutGitV1RepoRepoIdDefaultBranch403 {
    /**
     * Error code in SCREAMING_SNAKE_CASE
     */
    error: string;
    /**
     * Human-readable error message
     */
    message: string;
}
interface ResponsePutGitV1RepoRepoIdDefaultBranch500 {
    /**
     * Error code in SCREAMING_SNAKE_CASE
     */
    error: string;
    /**
     * Human-readable error message
     */
    message: string;
}
interface ResponseGetGitV1RepoRepoIdGithubSync200 {
    githubRepoName: string;
}
interface ResponseGetGitV1RepoRepoIdVisibility200 {
    visibility: "public" | "private";
}
interface ResponseGetGitV1RepoRepoIdVisibility403 {
    /**
     * Error code in SCREAMING_SNAKE_CASE
     */
    error: string;
    /**
     * Human-readable error message
     */
    message: string;
}
interface ResponseGetGitV1RepoRepoIdVisibility500 {
    /**
     * Error code in SCREAMING_SNAKE_CASE
     */
    error: string;
    /**
     * Human-readable error message
     */
    message: string;
}
interface ResponsePutGitV1RepoRepoIdVisibility200 {
}
interface ResponsePutGitV1RepoRepoIdVisibility403 {
    /**
     * Error code in SCREAMING_SNAKE_CASE
     */
    error: string;
    /**
     * Human-readable error message
     */
    message: string;
}
interface ResponsePutGitV1RepoRepoIdVisibility500 {
    /**
     * Error code in SCREAMING_SNAKE_CASE
     */
    error: string;
    /**
     * Human-readable error message
     */
    message: string;
}
interface ResponseGetGitV1RepoRepo200 {
    id: string;
    name?: string | null;
    accountId: string;
    visibility: "public" | "private";
    defaultBranch: string;
    createdAt: string;
}
interface ResponseDeleteGitV1RepoRepo200 {
}
interface ResponseDeleteGitV1RepoRepo403 {
    /**
     * Error code in SCREAMING_SNAKE_CASE
     */
    error: string;
    /**
     * Human-readable error message
     */
    message: string;
}
interface ResponseDeleteGitV1RepoRepo500 {
    /**
     * Error code in SCREAMING_SNAKE_CASE
     */
    error: string;
    /**
     * Human-readable error message
     */
    message: string;
}
interface ResponsePostGitV1RepoRepoCommits200 {
    /**
     * The created commit object
     */
    commit: {
        /**
         * The author of the commit
         */
        author: {
            /**
             * The date marker for this signature
             */
            date: string;
            name: string;
            email: string;
        };
        /**
         * The committer
         */
        committer: {
            /**
             * The date marker for this signature
             */
            date: string;
            name: string;
            email: string;
        };
        /**
         * The commit message
         */
        message: string;
        /**
         * The ID of the tree pointed to by this commit
         */
        tree: {
            /**
             * The tree's hash ID
             */
            sha: string;
        };
        /**
         * Parent commit(s) of this commit
         */
        parents: {
            /**
             * The commit's hash ID
             */
            sha: string;
        }[];
        /**
         * The commit's hash ID
         */
        sha: string;
    };
}
interface ResponsePostGitV1RepoRepoCommits403 {
    /**
     * Error code in SCREAMING_SNAKE_CASE
     */
    error: string;
    /**
     * Human-readable error message
     */
    message: string;
}
interface ResponsePostGitV1RepoRepoCommits500 {
    /**
     * Error code in SCREAMING_SNAKE_CASE
     */
    error: string;
    /**
     * Human-readable error message
     */
    message: string;
}
/**
 * Response containing the comparison between two commits
 */
interface ResponseGetGitV1RepoRepoCompare200 {
    /**
     * Status of the comparison
     */
    status: "identical" | "ahead" | "behind" | "diverged";
    /**
     * Number of commits the head is ahead of base
     */
    ahead_by: number;
    /**
     * Number of commits the head is behind base
     */
    behind_by: number;
    /**
     * Total number of commits in the comparison
     */
    total_commits: number;
    /**
     * List of changed files
     */
    files: {
        /**
         * The blob SHA of the file
         */
        sha?: string | null;
        /**
         * The file path
         */
        filename: string;
        /**
         * The status of the file (added, removed, modified, renamed, copied, changed, unchanged)
         */
        status: "added" | "removed" | "modified" | "renamed" | "copied" | "changed" | "unchanged";
        /**
         * Number of lines added
         */
        additions: number;
        /**
         * Number of lines deleted
         */
        deletions: number;
        /**
         * Total number of changes (additions + deletions)
         */
        changes: number;
        /**
         * Previous filename (for renamed/copied files)
         */
        previous_filename?: string | null;
    }[];
}
type ResponseGetGitV1RepoRepoContentsPath200 = ResponseGetGitV1RepoRepoContentsPath200File | ResponseGetGitV1RepoRepoContentsPath200Directory;
interface ResponseGetGitV1RepoRepoContentsPath200File {
    name: string;
    path: string;
    /**
     * The hash / object ID of the file.
     */
    sha: string;
    size: number;
    /**
     * Base64-encoded content.
     */
    content: string;
    type: "file";
}
interface ResponseGetGitV1RepoRepoContentsPath200Directory {
    name: string;
    path: string;
    /**
     * The hash / object ID of the directory.
     */
    sha: string;
    entries: (ResponseGetGitV1RepoRepoContentsPath200FileEntry | ResponseGetGitV1RepoRepoContentsPath200DirectoryEntry)[];
    type: "dir";
}
interface ResponseGetGitV1RepoRepoContentsPath200FileEntry {
    name: string;
    path: string;
    /**
     * The hash / object ID of the file.
     */
    sha: string;
    size: number;
    type: "file";
}
/**
 * Directory
 */
interface ResponseGetGitV1RepoRepoContentsPath200DirectoryEntry {
    name: string;
    path: string;
    /**
     * The hash / object ID of the directory.
     */
    sha: string;
    entries: (ResponseGetGitV1RepoRepoContentsPath200FileEntry1 | ResponseGetGitV1RepoRepoContentsPath200DirEntryRecursive)[];
    type: "dir";
}
interface ResponseGetGitV1RepoRepoContentsPath200FileEntry1 {
}
interface ResponseGetGitV1RepoRepoContentsPath200DirEntryRecursive {
}
/**
 * Blob object
 */
interface ResponseGetGitV1RepoRepoGitBlobsHash200 {
    /**
     * The content of the blob, base64 encoded.
     */
    content: string;
    /**
     * The encoding of the blob. Always `base64`.
     */
    encoding: "base64";
    /**
     * The object's hash.
     */
    sha: string;
    /**
     * The blob's size in bytes
     */
    size: number;
}
/**
 * The selector used for this query (echoed back)
 */
type ResponseGetGitV1RepoRepoGitCommits200CommitsSelector = ResponseGetGitV1RepoRepoGitCommits200Range | ResponseGetGitV1RepoRepoGitCommits200Since | ResponseGetGitV1RepoRepoGitCommits200Until;
interface ResponseGetGitV1RepoRepoGitCommits200 {
    /**
     * List of commits
     */
    commits: {
        /**
         * The author of the commit
         */
        author: {
            /**
             * The date marker for this signature
             */
            date: string;
            name: string;
            email: string;
        };
        /**
         * The committer
         */
        committer: {
            /**
             * The date marker for this signature
             */
            date: string;
            name: string;
            email: string;
        };
        /**
         * The commit message
         */
        message: string;
        /**
         * The ID of the tree pointed to by this commit
         */
        tree: {
            /**
             * The tree's hash ID
             */
            sha: string;
        };
        /**
         * Parent commit(s) of this commit
         */
        parents: {
            /**
             * The commit's hash ID
             */
            sha: string;
        }[];
        /**
         * The commit's hash ID
         */
        sha: string;
    }[];
    /**
     * Number of commits returned in this page
     */
    count: number;
    /**
     * Number of commits skipped (offset) - deprecated, use `since`/`until` selectors instead
     */
    offset?: number | null;
    /**
     * Maximum number of commits requested (limit)
     */
    limit: number;
    /**
     * Total number of commits in the branch/range.
     * Omitted when the caller passed `disableTotalCount=true`.
     */
    total?: number | null;
    /**
     * Sort order for commit listing
     */
    order: "desc" | "asc";
    selector?: null | ResponseGetGitV1RepoRepoGitCommits200CommitsSelector;
    /**
     * SHA of the next commit for pagination. None if there are no more commits.
     * - For `order=desc`: use `until=next_commit` to get the next page
     * - For `order=asc`: use `since=next_commit` to get the next page
     */
    next_commit?: string | null;
}
/**
 * Select commits in a range (like git's A..B)
 */
interface ResponseGetGitV1RepoRepoGitCommits200Range {
    /**
     * Select commits in a range (like git's A..B)
     */
    Range: {
        /**
         * Exclude this commit and its ancestors
         */
        since: string;
        /**
         * Start from this commit (inclusive)
         */
        until: string;
    };
}
/**
 * Select commits since this commit SHA (exclusive)
 */
interface ResponseGetGitV1RepoRepoGitCommits200Since {
    /**
     * Select commits since this commit SHA (exclusive)
     */
    Since: string;
}
/**
 * Select commits until this commit SHA (inclusive)
 */
interface ResponseGetGitV1RepoRepoGitCommits200Until {
    /**
     * Select commits until this commit SHA (inclusive)
     */
    Until: string;
}
interface ResponseGetGitV1RepoRepoGitCommits403 {
    /**
     * Error code in SCREAMING_SNAKE_CASE
     */
    error: string;
    /**
     * Human-readable error message
     */
    message: string;
}
interface ResponseGetGitV1RepoRepoGitCommits500 {
    /**
     * Error code in SCREAMING_SNAKE_CASE
     */
    error: string;
    /**
     * Human-readable error message
     */
    message: string;
}
interface ResponsePostGitV1RepoRepoGitCommits200 {
    /**
     * Commit object
     */
    commit: {
        /**
         * The author of the commit
         */
        author: {
            /**
             * The date marker for this signature
             */
            date: string;
            name: string;
            email: string;
        };
        /**
         * The committer
         */
        committer: {
            /**
             * The date marker for this signature
             */
            date: string;
            name: string;
            email: string;
        };
        /**
         * The commit message
         */
        message: string;
        /**
         * The ID of the tree pointed to by this commit
         */
        tree: {
            /**
             * The tree's hash ID
             */
            sha: string;
        };
        /**
         * Parent commit(s) of this commit
         */
        parents: {
            /**
             * The commit's hash ID
             */
            sha: string;
        }[];
        /**
         * The commit's hash ID
         */
        sha: string;
    };
}
interface ResponsePostGitV1RepoRepoGitCommits403 {
    /**
     * Error code in SCREAMING_SNAKE_CASE
     */
    error: string;
    /**
     * Human-readable error message
     */
    message: string;
}
interface ResponsePostGitV1RepoRepoGitCommits500 {
    /**
     * Error code in SCREAMING_SNAKE_CASE
     */
    error: string;
    /**
     * Human-readable error message
     */
    message: string;
}
/**
 * Commit object
 */
interface ResponseGetGitV1RepoRepoGitCommitsHash200 {
    /**
     * The author of the commit
     */
    author: {
        /**
         * The date marker for this signature
         */
        date: string;
        name: string;
        email: string;
    };
    /**
     * The committer
     */
    committer: {
        /**
         * The date marker for this signature
         */
        date: string;
        name: string;
        email: string;
    };
    /**
     * The commit message
     */
    message: string;
    /**
     * The ID of the tree pointed to by this commit
     */
    tree: {
        /**
         * The tree's hash ID
         */
        sha: string;
    };
    /**
     * Parent commit(s) of this commit
     */
    parents: {
        /**
         * The commit's hash ID
         */
        sha: string;
    }[];
    /**
     * The commit's hash ID
     */
    sha: string;
}
interface ResponseGetGitV1RepoRepoGitRefsHeads200 {
    branches: {
        name: string;
        /**
         * The latest commit ID on this branch. Null if the branch is empty.
         */
        commit?: string | null;
    }[];
}
interface ResponsePostGitV1RepoRepoGitRefsHeadsBranch200 {
    /**
     * The name of the created branch
     */
    name: string;
    /**
     * The SHA of the commit the branch points to
     */
    sha: string;
}
interface ResponsePostGitV1RepoRepoGitRefsHeadsBranch400 {
    /**
     * Error code in SCREAMING_SNAKE_CASE
     */
    error: string;
    /**
     * Human-readable error message
     */
    message: string;
}
interface ResponsePostGitV1RepoRepoGitRefsHeadsBranch403 {
    /**
     * Error code in SCREAMING_SNAKE_CASE
     */
    error: string;
    /**
     * Human-readable error message
     */
    message: string;
}
interface ResponsePostGitV1RepoRepoGitRefsHeadsBranch500 {
    /**
     * Error code in SCREAMING_SNAKE_CASE
     */
    error: string;
    /**
     * Human-readable error message
     */
    message: string;
}
/**
 * A reference to a Git object
 */
interface ResponseGetGitV1RepoRepoGitRefsHeadsBranch200 {
    /**
     * The name of the ref (e.g., "refs/heads/main" or "refs/tags/v1.0.0")
     */
    name: string;
    /**
     * The SHA-1 hash of the Git object this reference points to
     */
    sha: string;
}
interface ResponseGetGitV1RepoRepoGitRefsHeadsBranch400 {
    /**
     * Error code in SCREAMING_SNAKE_CASE
     */
    error: string;
    /**
     * Human-readable error message
     */
    message: string;
}
interface ResponseGetGitV1RepoRepoGitRefsHeadsBranch403 {
    /**
     * Error code in SCREAMING_SNAKE_CASE
     */
    error: string;
    /**
     * Human-readable error message
     */
    message: string;
}
interface ResponseGetGitV1RepoRepoGitRefsHeadsBranch500 {
    /**
     * Error code in SCREAMING_SNAKE_CASE
     */
    error: string;
    /**
     * Human-readable error message
     */
    message: string;
}
interface ResponseGetGitV1RepoRepoGitRefsTags200 {
    tags: {
        /**
         * The tag name
         */
        name: string;
        tagger?: null | {
            /**
             * The date marker for this signature
             */
            date: string;
            name: string;
            email: string;
        };
        /**
         * The tag message
         */
        message?: string | null;
        /**
         * The object this tag points to
         */
        target: {
            /**
             * The target object's hash ID
             */
            sha: string;
        };
        /**
         * The tag's hash ID
         */
        sha: string;
    }[];
}
/**
 * Tag object
 */
interface ResponseGetGitV1RepoRepoGitRefsTagsTag200 {
    /**
     * The tag name
     */
    name: string;
    tagger?: null | {
        /**
         * The date marker for this signature
         */
        date: string;
        name: string;
        email: string;
    };
    /**
     * The tag message
     */
    message?: string | null;
    /**
     * The object this tag points to
     */
    target: {
        /**
         * The target object's hash ID
         */
        sha: string;
    };
    /**
     * The tag's hash ID
     */
    sha: string;
}
interface ResponseGetGitV1RepoRepoGitRefsTagsTag400 {
    /**
     * Error code in SCREAMING_SNAKE_CASE
     */
    error: string;
    /**
     * Human-readable error message
     */
    message: string;
}
interface ResponseGetGitV1RepoRepoGitRefsTagsTag403 {
    /**
     * Error code in SCREAMING_SNAKE_CASE
     */
    error: string;
    /**
     * Human-readable error message
     */
    message: string;
}
interface ResponseGetGitV1RepoRepoGitRefsTagsTag500 {
    /**
     * Error code in SCREAMING_SNAKE_CASE
     */
    error: string;
    /**
     * Human-readable error message
     */
    message: string;
}
/**
 * Tag object
 */
interface ResponseGetGitV1RepoRepoGitTagsHash200 {
    /**
     * The tag name
     */
    name: string;
    tagger?: null | {
        /**
         * The date marker for this signature
         */
        date: string;
        name: string;
        email: string;
    };
    /**
     * The tag message
     */
    message?: string | null;
    /**
     * The object this tag points to
     */
    target: {
        /**
         * The target object's hash ID
         */
        sha: string;
    };
    /**
     * The tag's hash ID
     */
    sha: string;
}
/**
 * Tree object
 */
interface ResponseGetGitV1RepoRepoGitTreesHash200 {
    /**
     * The tree's entries
     */
    tree: (ResponseGetGitV1RepoRepoGitTreesHash200Blob | ResponseGetGitV1RepoRepoGitTreesHash200Tree)[];
    /**
     * The tree's hash ID
     */
    sha: string;
}
interface ResponseGetGitV1RepoRepoGitTreesHash200Blob {
    path: string;
    sha: string;
    size: number;
    type: "blob";
}
interface ResponseGetGitV1RepoRepoGitTreesHash200Tree {
    path: string;
    sha: string;
    type: "tree";
}
interface ResponseGetGitV1RepoRepoRepair200 {
    jobs: {
        jobId: string;
        repoId: string;
        /**
         * Account this job is charged against for the per-account
         * concurrency cap. None for admin/internal POSTs that didn't
         * supply X-Freestyle-User-Id.
         */
        accountId?: string | null;
        depth?: number | null;
        /**
         * One of: pending, running, completed, failed, cancelled.
         */
        status: string;
        createdAt: string;
        completedAt?: string | null;
        /**
         * Live counters from the walk. Updated by the worker every 500
         * commits and every 10k blob lookups, plus before/after each ref.
         * Always present; zeros until the walk publishes its first sample.
         */
        progress: {};
        result?: null | {
            /**
             * Number of refs walked.
             */
            refsExamined: number;
            /**
             * Refs whose tip was rewritten because their reachable history had
             * missing objects. Empty for healthy repos.
             */
            rewrites: {
                /**
                 * Full ref name (e.g. `refs/heads/main`).
                 */
                name: string;
                /**
                 * OID the ref pointed at before repair.
                 */
                originalOid: string;
                /**
                 * OID the ref now points at after substituting missing objects.
                 */
                rewrittenOid: string;
            }[];
        };
        /**
         * Populated when status == "failed".
         */
        error?: string | null;
        verification?: null | {
            message: string;
            /**
             * 40-char hex OID extracted from the libgit2 error, if any.
             */
            oid?: string | null;
            /**
             * Ref the verification was processing when it failed, if any.
             */
            refName?: string | null;
            /**
             * Snapshot of refs that *were* successfully rewritten before
             * verification failed. Operators want this — the rewrites are
             * already persisted to the repo, so seeing what changed even on a
             * failed run is load-bearing for follow-up debugging.
             */
            rewrites: {
                /**
                 * Full ref name (e.g. `refs/heads/main`).
                 */
                name: string;
                /**
                 * OID the ref pointed at before repair.
                 */
                originalOid: string;
                /**
                 * OID the ref now points at after substituting missing objects.
                 */
                rewrittenOid: string;
            }[];
            /**
             * Number of refs the rewrite phase walked before verification ran.
             */
            refsExamined: number;
        };
    }[];
}
interface ResponsePostGitV1RepoRepoRepair202 {
    jobId: string;
    repoId: string;
    depth?: number | null;
    status: string;
}
/**
 * JSON view of a job for the GET endpoint. Status is tagged so the
 * `result` and `error` fields are unambiguous to consumers.
 */
interface ResponseGetGitV1RepoRepoRepairJobId200 {
    jobId: string;
    repoId: string;
    /**
     * Account this job is charged against for the per-account
     * concurrency cap. None for admin/internal POSTs that didn't
     * supply X-Freestyle-User-Id.
     */
    accountId?: string | null;
    depth?: number | null;
    /**
     * One of: pending, running, completed, failed, cancelled.
     */
    status: string;
    createdAt: string;
    completedAt?: string | null;
    /**
     * Live counters from the walk. Updated by the worker every 500
     * commits and every 10k blob lookups, plus before/after each ref.
     * Always present; zeros until the walk publishes its first sample.
     */
    progress: {};
    result?: null | {
        /**
         * Number of refs walked.
         */
        refsExamined: number;
        /**
         * Refs whose tip was rewritten because their reachable history had
         * missing objects. Empty for healthy repos.
         */
        rewrites: {
            /**
             * Full ref name (e.g. `refs/heads/main`).
             */
            name: string;
            /**
             * OID the ref pointed at before repair.
             */
            originalOid: string;
            /**
             * OID the ref now points at after substituting missing objects.
             */
            rewrittenOid: string;
        }[];
    };
    /**
     * Populated when status == "failed".
     */
    error?: string | null;
    verification?: null | {
        message: string;
        /**
         * 40-char hex OID extracted from the libgit2 error, if any.
         */
        oid?: string | null;
        /**
         * Ref the verification was processing when it failed, if any.
         */
        refName?: string | null;
        /**
         * Snapshot of refs that *were* successfully rewritten before
         * verification failed. Operators want this — the rewrites are
         * already persisted to the repo, so seeing what changed even on a
         * failed run is load-bearing for follow-up debugging.
         */
        rewrites: {
            /**
             * Full ref name (e.g. `refs/heads/main`).
             */
            name: string;
            /**
             * OID the ref pointed at before repair.
             */
            originalOid: string;
            /**
             * OID the ref now points at after substituting missing objects.
             */
            rewrittenOid: string;
        }[];
        /**
         * Number of refs the rewrite phase walked before verification ran.
         */
        refsExamined: number;
    };
}
/**
 * JSON view of a job for the GET endpoint. Status is tagged so the
 * `result` and `error` fields are unambiguous to consumers.
 */
interface ResponseDeleteGitV1RepoRepoRepairJobId200 {
    jobId: string;
    repoId: string;
    /**
     * Account this job is charged against for the per-account
     * concurrency cap. None for admin/internal POSTs that didn't
     * supply X-Freestyle-User-Id.
     */
    accountId?: string | null;
    depth?: number | null;
    /**
     * One of: pending, running, completed, failed, cancelled.
     */
    status: string;
    createdAt: string;
    completedAt?: string | null;
    /**
     * Live counters from the walk. Updated by the worker every 500
     * commits and every 10k blob lookups, plus before/after each ref.
     * Always present; zeros until the walk publishes its first sample.
     */
    progress: {};
    result?: null | {
        /**
         * Number of refs walked.
         */
        refsExamined: number;
        /**
         * Refs whose tip was rewritten because their reachable history had
         * missing objects. Empty for healthy repos.
         */
        rewrites: {
            /**
             * Full ref name (e.g. `refs/heads/main`).
             */
            name: string;
            /**
             * OID the ref pointed at before repair.
             */
            originalOid: string;
            /**
             * OID the ref now points at after substituting missing objects.
             */
            rewrittenOid: string;
        }[];
    };
    /**
     * Populated when status == "failed".
     */
    error?: string | null;
    verification?: null | {
        message: string;
        /**
         * 40-char hex OID extracted from the libgit2 error, if any.
         */
        oid?: string | null;
        /**
         * Ref the verification was processing when it failed, if any.
         */
        refName?: string | null;
        /**
         * Snapshot of refs that *were* successfully rewritten before
         * verification failed. Operators want this — the rewrites are
         * already persisted to the repo, so seeing what changed even on a
         * failed run is load-bearing for follow-up debugging.
         */
        rewrites: {
            /**
             * Full ref name (e.g. `refs/heads/main`).
             */
            name: string;
            /**
             * OID the ref pointed at before repair.
             */
            originalOid: string;
            /**
             * OID the ref now points at after substituting missing objects.
             */
            rewrittenOid: string;
        }[];
        /**
         * Number of refs the rewrite phase walked before verification ran.
         */
        refsExamined: number;
    };
}
interface ResponseGetGitV1RepoRepoSearch200 {
    /**
     * Total number of files with matches (before pagination).
     */
    totalFiles: number;
    /**
     * Total number of individual line matches across all files (before pagination).
     */
    totalMatches: number;
    /**
     * Whether there are more results beyond the current page.
     */
    hasMore: boolean;
    /**
     * The matching files with their line matches (paginated).
     */
    files: {
        /**
         * The file path relative to the repository root.
         */
        path: string;
        /**
         * The file extension (e.g. "rs", "ts"), if any.
         */
        extension?: string | null;
        /**
         * The size of the file in bytes.
         */
        size: number;
        /**
         * The matches found in this file.
         */
        matches: {
            /**
             * 1-based line number of the match.
             */
            lineNumber: number;
            /**
             * The full text of the matching line.
             */
            line: string;
            /**
             * 0-based column offset of the first match in the line.
             */
            startColumn: number;
            /**
             * 0-based column offset of the end of the first match in the line.
             */
            endColumn: number;
            /**
             * Context lines before the match.
             */
            contextBefore: string[];
            /**
             * Context lines after the match.
             */
            contextAfter: string[];
        }[];
    }[];
}
interface ResponseGetGitV1RepoRepoSearchCommits200 {
    /**
     * Total number of matching commits found.
     */
    totalCommits: number;
    /**
     * Whether there are more results beyond those returned.
     */
    hasMore: boolean;
    /**
     * The matching commits.
     */
    commits: {
        /**
         * The commit SHA.
         */
        sha: string;
        /**
         * The commit message (first line / summary).
         */
        message: string;
        /**
         * The full commit message.
         */
        fullMessage: string;
        /**
         * The author name.
         */
        authorName: string;
        /**
         * The author email.
         */
        authorEmail: string;
        /**
         * The commit timestamp (ISO 8601).
         */
        timestamp: string;
    }[];
}
/**
 * Diff content search results.
 */
interface ResponseGetGitV1RepoRepoSearchDiffs200 {
    /**
     * Total number of commits with matching changes (before pagination).
     */
    totalCommits: number;
    /**
     * Whether there are more results beyond the current page.
     */
    hasMore: boolean;
    /**
     * The matching commits with their file-level diff matches.
     */
    commits: {
        /**
         * The commit SHA.
         */
        sha: string;
        /**
         * The commit message summary (first line).
         */
        message: string;
        /**
         * The author name.
         */
        authorName: string;
        /**
         * The author email.
         */
        authorEmail: string;
        /**
         * The commit timestamp (ISO 8601).
         */
        timestamp: string;
        /**
         * Files in this commit with matching changed content.
         */
        files: {
            /**
             * The file path relative to the repository root.
             */
            path: string;
            /**
             * The matching lines in the diff for this file.
             */
            matches: {
                /**
                 * The matched line content (without the leading +/- prefix).
                 */
                line: string;
                /**
                 * 1-based line number in the new file (for additions) or old file (for deletions).
                 */
                lineNumber: number;
                /**
                 * 0-based byte offset of the match start within the line.
                 */
                startColumn: number;
                /**
                 * 0-based byte offset of the match end within the line.
                 */
                endColumn: number;
                /**
                 * Whether this was an added line (true) or a deleted line (false).
                 */
                isAddition: boolean;
            }[];
        }[];
    }[];
}
interface ResponseGetGitV1RepoRepoSearchFiles200 {
    /**
     * Total number of matching files.
     */
    totalFiles: number;
    /**
     * Whether the results were truncated.
     */
    hasMore: boolean;
    /**
     * The matching file paths.
     */
    files: {
        /**
         * The full file path relative to the repository root.
         */
        path: string;
        /**
         * The file extension (e.g. "rs", "ts"), if any.
         */
        extension?: string | null;
        /**
         * The file size in bytes.
         */
        size: number;
    }[];
}
interface ResponseGetGitV1RepoRepoTrigger200 {
    triggers: {
        repositoryId: string;
        trigger: {
            branches?: string[] | null;
            globs?: string[] | null;
            event: "push";
        };
        action: {
            endpoint: string;
            action: "webhook";
        };
        managed: boolean;
        id: string;
        createdAt: string;
    }[];
}
interface ResponseGetGitV1RepoRepoTrigger403 {
    /**
     * Error code in SCREAMING_SNAKE_CASE
     */
    error: string;
    /**
     * Human-readable error message
     */
    message: string;
}
interface ResponseGetGitV1RepoRepoTrigger404 {
    /**
     * Error code in SCREAMING_SNAKE_CASE
     */
    error: string;
    /**
     * Human-readable error message
     */
    message: string;
}
interface ResponseGetGitV1RepoRepoTrigger500 {
    /**
     * Error code in SCREAMING_SNAKE_CASE
     */
    error: string;
    /**
     * Human-readable error message
     */
    message: string;
}
interface ResponsePostGitV1RepoRepoTrigger200 {
    triggerId: string;
}
interface ResponsePostGitV1RepoRepoTrigger400 {
    message: string;
}
interface ResponsePostGitV1RepoRepoTrigger403 {
    message: string;
}
interface ResponsePostGitV1RepoRepoTrigger404 {
    message: string;
}
interface ResponsePostGitV1RepoRepoTrigger500 {
    message: string;
}
interface ResponseDeleteGitV1RepoRepoTriggerTrigger200 {
}
interface ResponseDeleteGitV1RepoRepoTriggerTrigger400 {
    message: string;
}
interface ResponseDeleteGitV1RepoRepoTriggerTrigger403 {
    message: string;
}
interface ResponseDeleteGitV1RepoRepoTriggerTrigger404 {
}
interface ResponseDeleteGitV1RepoRepoTriggerTrigger500 {
    message: string;
}
interface ResponseGetIdentityV1Identities200 {
    identities: {
        id: string;
        managed: boolean;
    }[];
    offset: number;
    total: number;
}
interface ResponsePostIdentityV1Identities200 {
    id: string;
    managed: boolean;
}
interface ResponseDeleteIdentityV1IdentitiesIdentity200 {
}
interface ResponseGetIdentityV1IdentitiesIdentityPermissionsGit200 {
    repositories: {
        id: string;
        name?: string | null;
        accountId: string;
        permissions: "read" | "write";
        visibility: "public" | "private";
    }[];
}
interface ResponseGetIdentityV1IdentitiesIdentityPermissionsGitRepo200 {
    identity: string;
    repo: string;
    accessLevel?: null | ("read" | "write");
}
interface ResponsePostIdentityV1IdentitiesIdentityPermissionsGitRepo200 {
}
interface ResponsePutIdentityV1IdentitiesIdentityPermissionsGitRepo200 {
}
interface ResponseDeleteIdentityV1IdentitiesIdentityPermissionsGitRepo200 {
}
interface ResponseGetIdentityV1IdentitiesIdentityPermissionsVm200 {
    permissions: {
        id: string;
        vmId: string;
        identityId: string;
        allowedUsers?: string[] | null;
        grantedAt: string;
        grantedBy: string;
    }[];
    offset: number;
    total: number;
}
/**
 * Full VM permission record
 */
interface ResponseGetIdentityV1IdentitiesIdentityPermissionsVmVmId200 {
    id: string;
    vmId: string;
    identityId: string;
    allowedUsers?: string[] | null;
    grantedAt: string;
    grantedBy: string;
}
/**
 * Full VM permission record
 */
interface ResponsePostIdentityV1IdentitiesIdentityPermissionsVmVmId200 {
    id: string;
    vmId: string;
    identityId: string;
    allowedUsers?: string[] | null;
    grantedAt: string;
    grantedBy: string;
}
/**
 * Full VM permission record
 */
interface ResponsePutIdentityV1IdentitiesIdentityPermissionsVmVmId200 {
    id: string;
    vmId: string;
    identityId: string;
    allowedUsers?: string[] | null;
    grantedAt: string;
    grantedBy: string;
}
interface ResponseDeleteIdentityV1IdentitiesIdentityPermissionsVmVmId200 {
}
interface ResponseGetIdentityV1IdentitiesIdentityTokens200 {
    tokens: {
        id: string;
    }[];
}
interface ResponsePostIdentityV1IdentitiesIdentityTokens200 {
    id: string;
    token: string;
}
interface ResponseDeleteIdentityV1IdentitiesIdentityTokensToken200 {
}
interface ResponseGetObservabilityV1Logs200 {
    logs: {
        message: string;
        timestamp: string;
        source?: string | null;
        resourceType?: string | null;
        origin?: string | null;
        resourceId?: string | null;
        instanceId?: string | null;
        level?: string | null;
        vmService?: string | null;
        buildId?: string | null;
    }[];
    nextPageToken?: string | null;
}
interface ResponseGetV1CronSchedules200 {
    schedules: ({
        id: string;
        accountId: string;
        deploymentId: string;
        path?: string | null;
        cron: string;
        timezone: string;
        retries: number;
        payload: unknown;
        active: boolean;
        createdAt: string;
        updatedAt: string;
    } & {
        successRate?: number | null;
        averageLatencyMs?: number | null;
        executionCount?: number | null;
    })[];
}
interface ResponsePostV1CronSchedules200 {
    schedule: {
        id: string;
        accountId: string;
        deploymentId: string;
        path?: string | null;
        cron: string;
        timezone: string;
        retries: number;
        payload: unknown;
        active: boolean;
        createdAt: string;
        updatedAt: string;
    };
}
interface ResponseGetV1CronSchedulesId200 {
    schedule: {
        id: string;
        accountId: string;
        deploymentId: string;
        path?: string | null;
        cron: string;
        timezone: string;
        retries: number;
        payload: unknown;
        active: boolean;
        createdAt: string;
        updatedAt: string;
    };
}
interface ResponseDeleteV1CronSchedulesId200 {
    success: boolean;
}
interface ResponsePatchV1CronSchedulesId200 {
    success: boolean;
}
interface ResponseGetV1CronSchedulesIdExecutions200 {
    executions: {
        id: string;
        scheduleId: string;
        deploymentId: string;
        runAt: string;
        status: "queued" | "running" | "succeeded" | "failed" | "retry";
        attempts: number;
        maxAttempts: number;
        lockedAt?: string | null;
        lockOwner?: string | null;
        lastError?: string | null;
        instanceId?: string | null;
        createdAt: string;
        updatedAt: string;
    }[];
    total: number;
    offset: number;
    limit: number;
}
interface ResponseGetV1CronSchedulesIdMetricsTimeline200 {
    scheduleId: string;
    dataPoints: {
        timestamp: string;
        executionCount: number;
        succeededCount: number;
        succeededOnFirstTryCount: number;
        succeededOnRetryCount: number;
        failedCount: number;
        averageLatencyMs?: number | null;
        averageSuccessLatencyMs?: number | null;
        averageFailureLatencyMs?: number | null;
        p50SuccessLatencyMs?: number | null;
        p90SuccessLatencyMs?: number | null;
        p99SuccessLatencyMs?: number | null;
    }[];
    start: string;
    end: string;
}
interface ResponseGetV1CronSchedulesIdSuccessRate200 {
    total: number;
    succeeded: number;
    failed: number;
    successRate: number;
    start: string;
    end: string;
    averageLatencyMs?: number | null;
}
interface ResponseGetV1Vms200 {
    vms: {
        /**
         * VM ID — always 20 alphanumeric lowercase characters.
         * New IDs are fully random. Legacy short IDs are right-padded with '0' on parse.
         */
        id: string;
        state: "starting" | "running" | "suspending" | "suspended" | "stopped" | "lost";
        metrics?: null | {
            wallTimeSeconds: number;
            billingDay: string;
            isActiveToday: boolean;
        };
        createdAt?: string | null;
        lastNetworkActivity?: string | null;
        cpuTimeSeconds?: number | null;
        persistence?: null | ({
            /**
             * Priority for eviction when storage quota is reached. Higher values
             * mean the VM is less likely to be evicted. Range is 0-10, default is
             * 5.
             */
            priority?: number | null;
            type: "sticky";
        } | {
            deleteEvent?: null | ("OnStop" | "OnSuspend");
            type: "ephemeral";
        } | {
            type: "persistent";
        });
        snapshotId?: null | string;
        deleted?: boolean;
        createdDeclaratively?: boolean;
    }[];
    totalCount: number;
    runningCount: number;
    startingCount: number;
    suspendedCount: number;
    stoppedCount: number;
    userId?: string | null;
}
interface ResponseGetV1Vms500 {
    /**
     * Error code in SCREAMING_SNAKE_CASE
     */
    error: string;
    /**
     * Human-readable error message
     */
    message: string;
}
interface ResponsePostV1Vms200 {
    id: string;
    domains: string[];
    consoleUrl?: string | null;
    snapshotId?: null | string;
}
interface ResponseGetV1VmsSnapshots200 {
    snapshots: {
        /**
         * The ID of the snapshot
         */
        snapshotId: string;
        /**
         * VM ID — always 20 alphanumeric lowercase characters.
         * New IDs are fully random. Legacy short IDs are right-padded with '0' on parse.
         */
        sourceVmId: string;
        accountId?: null | string;
        /**
         * When the snapshot was created
         */
        createdAt: string;
        /**
         * Optional name for the snapshot
         */
        name?: string | null;
        /**
         * Whether the snapshot creation failed
         */
        failed: boolean;
        /**
         * Reason for failure if applicable
         */
        failureReason?: string | null;
        /**
         * Whether the snapshot has been soft-deleted
         */
        deleted: boolean;
        /**
         * Snapshot persistence strategy
         */
        snapshotPersistence: {
            priority?: number | null;
            type: "sticky";
        } | {
            type: "persistent";
        };
        /**
         * Number of vCPUs configured at snapshot time
         */
        vcpuCount?: number | null;
        /**
         * Memory size in MiB configured at snapshot time
         */
        memSizeMib?: number | null;
        /**
         * Root filesystem size in MB
         */
        rootfsSizeMb?: number | null;
    }[];
    totalCount: number;
    failedCount: number;
    deletedCount: number;
}
interface ResponseGetV1VmsSnapshots400 {
    /**
     * Error code in SCREAMING_SNAKE_CASE
     */
    error: string;
    /**
     * Human-readable error message
     */
    message: string;
}
interface ResponseGetV1VmsSnapshots500 {
    /**
     * Error code in SCREAMING_SNAKE_CASE
     */
    error: string;
    /**
     * Human-readable error message
     */
    message: string;
}
interface ResponsePostV1VmsSnapshots200 {
    /**
     * Branded snapshot ID in the format `sc-<20 lowercase alphanumeric chars>`.
     * Unlike `VmShortId`, this is a plain `String` wrapper with no fixed-size array or padding.
     */
    snapshotId: string;
}
type ResponseDeleteV1VmsSnapshotsSnapshotId200 = {
    /**
     * Branded snapshot ID in the format `sc-<20 lowercase alphanumeric chars>`.
     * Unlike `VmShortId`, this is a plain `String` wrapper with no fixed-size array or padding.
     */
    snapshot_id: string;
};
interface ResponseDeleteV1VmsSnapshotsSnapshotId404 {
    /**
     * Error code in SCREAMING_SNAKE_CASE
     */
    error: string;
    /**
     * Human-readable error message
     */
    message: string;
}
interface ResponseDeleteV1VmsSnapshotsSnapshotId409 {
    /**
     * Error code in SCREAMING_SNAKE_CASE
     */
    error: string;
    /**
     * Human-readable error message
     */
    message: string;
}
interface ResponseDeleteV1VmsSnapshotsSnapshotId500 {
    /**
     * Error code in SCREAMING_SNAKE_CASE
     */
    error: string;
    /**
     * Human-readable error message
     */
    message: string;
}
type ResponsePatchV1VmsSnapshotsSnapshotId200 = {
    /**
     * Branded snapshot ID in the format `sc-<20 lowercase alphanumeric chars>`.
     * Unlike `VmShortId`, this is a plain `String` wrapper with no fixed-size array or padding.
     */
    snapshot_id: string;
    name?: string | null;
};
interface ResponsePatchV1VmsSnapshotsSnapshotId404 {
    /**
     * Error code in SCREAMING_SNAKE_CASE
     */
    error: string;
    /**
     * Human-readable error message
     */
    message: string;
}
interface ResponsePatchV1VmsSnapshotsSnapshotId500 {
    /**
     * Error code in SCREAMING_SNAKE_CASE
     */
    error: string;
    /**
     * Human-readable error message
     */
    message: string;
}
interface ResponsePostV1VmsIdResize200 {
}
interface ResponsePostV1VmsIdResize400 {
    /**
     * Error code in SCREAMING_SNAKE_CASE
     */
    error: string;
    /**
     * Human-readable error message
     */
    message: string;
}
interface ResponsePostV1VmsIdResize404 {
    /**
     * Error code in SCREAMING_SNAKE_CASE
     */
    error: string;
    /**
     * Human-readable error message
     */
    message: string;
}
interface ResponsePostV1VmsIdResize500 {
    /**
     * Error code in SCREAMING_SNAKE_CASE
     */
    error: string;
    /**
     * Human-readable error message
     */
    message: string;
}
interface ResponseGetV1VmsVmId200 {
    /**
     * VM ID — always 20 alphanumeric lowercase characters.
     * New IDs are fully random. Legacy short IDs are right-padded with '0' on parse.
     */
    id: string;
    vmInstanceId?: null | string;
    lastNetworkActivity?: string | null;
    state: "starting" | "running" | "suspending" | "suspended" | "stopped" | "lost";
    cpuTimeSeconds?: number | null;
}
interface ResponseGetV1VmsVmId500 {
    /**
     * Error code in SCREAMING_SNAKE_CASE
     */
    error: string;
    /**
     * Human-readable error message
     */
    message: string;
}
type ResponseDeleteV1VmsVmId200 = {
    id: string;
};
interface ResponseDeleteV1VmsVmId500 {
    /**
     * Error code in SCREAMING_SNAKE_CASE
     */
    error: string;
    /**
     * Human-readable error message
     */
    message: string;
}
interface ResponsePostV1VmsVmIdAwait200 {
    /**
     * VM ID — always 20 alphanumeric lowercase characters.
     * New IDs are fully random. Legacy short IDs are right-padded with '0' on parse.
     */
    id: string;
    exitStatus: string;
}
interface ResponsePostV1VmsVmIdAwait500 {
    /**
     * Error code in SCREAMING_SNAKE_CASE
     */
    error: string;
    /**
     * Human-readable error message
     */
    message: string;
}
interface ResponsePostV1VmsVmIdExecAwait200 {
    stdout?: string | null;
    stderr?: string | null;
    statusCode?: number | null;
}
interface ResponsePostV1VmsVmIdExecAwait408 {
    /**
     * Error code in SCREAMING_SNAKE_CASE
     */
    error: string;
    /**
     * Human-readable error message
     */
    message: string;
}
interface ResponsePostV1VmsVmIdExecAwait500 {
    /**
     * Error code in SCREAMING_SNAKE_CASE
     */
    error: string;
    /**
     * Human-readable error message
     */
    message: string;
}
type ResponseGetV1VmsVmIdFilesFilepath200 = {
    content: string;
    /**
     * File content encoding
     */
    encoding?: "utf8" | "base64";
} | {
    files: {
        name: string;
        kind: "file" | "directory";
    }[];
};
interface ResponseGetV1VmsVmIdFilesFilepath400 {
    /**
     * Error code in SCREAMING_SNAKE_CASE
     */
    error: string;
    /**
     * Human-readable error message
     */
    message: string;
}
interface ResponseGetV1VmsVmIdFilesFilepath404 {
    /**
     * Error code in SCREAMING_SNAKE_CASE
     */
    error: string;
    /**
     * Human-readable error message
     */
    message: string;
}
interface ResponseGetV1VmsVmIdFilesFilepath500 {
    /**
     * Error code in SCREAMING_SNAKE_CASE
     */
    error: string;
    /**
     * Human-readable error message
     */
    message: string;
}
type ResponsePutV1VmsVmIdFilesFilepath200 = {};
interface ResponsePutV1VmsVmIdFilesFilepath400 {
    /**
     * Error code in SCREAMING_SNAKE_CASE
     */
    error: string;
    /**
     * Human-readable error message
     */
    message: string;
}
interface ResponsePutV1VmsVmIdFilesFilepath404 {
    /**
     * Error code in SCREAMING_SNAKE_CASE
     */
    error: string;
    /**
     * Human-readable error message
     */
    message: string;
}
interface ResponsePutV1VmsVmIdFilesFilepath500 {
    /**
     * Error code in SCREAMING_SNAKE_CASE
     */
    error: string;
    /**
     * Human-readable error message
     */
    message: string;
}
interface ResponsePostV1VmsVmIdFork200 {
    vmId: string;
    forks: {
        id: string;
        domains: string[];
        consoleUrl?: string | null;
    }[];
}
interface ResponsePostV1VmsVmIdFork403 {
    /**
     * Error code in SCREAMING_SNAKE_CASE
     */
    error: string;
    /**
     * Human-readable error message
     */
    message: string;
}
interface ResponsePostV1VmsVmIdFork500 {
    /**
     * Error code in SCREAMING_SNAKE_CASE
     */
    error: string;
    /**
     * Human-readable error message
     */
    message: string;
}
interface ResponsePostV1VmsVmIdKill200 {
    /**
     * VM ID — always 20 alphanumeric lowercase characters.
     * New IDs are fully random. Legacy short IDs are right-padded with '0' on parse.
     */
    id: string;
}
interface ResponsePostV1VmsVmIdKill500 {
    /**
     * Error code in SCREAMING_SNAKE_CASE
     */
    error: string;
    /**
     * Human-readable error message
     */
    message: string;
}
interface ResponsePostV1VmsVmIdOptimize200 {
    id: string;
    message: string;
}
interface ResponsePostV1VmsVmIdOptimize500 {
    /**
     * Error code in SCREAMING_SNAKE_CASE
     */
    error: string;
    /**
     * Human-readable error message
     */
    message: string;
}
interface ResponsePostV1VmsVmIdSnapshot200 {
    /**
     * Branded snapshot ID in the format `sc-<20 lowercase alphanumeric chars>`.
     * Unlike `VmShortId`, this is a plain `String` wrapper with no fixed-size array or padding.
     */
    snapshotId: string;
    /**
     * VM ID — always 20 alphanumeric lowercase characters.
     * New IDs are fully random. Legacy short IDs are right-padded with '0' on parse.
     */
    sourceVmId: string;
    sourceVmInstanceId?: null | string;
}
interface ResponsePostV1VmsVmIdStart200 {
    id: string;
    domains: string[];
    console_url?: string | null;
}
interface ResponsePostV1VmsVmIdStop200 {
    /**
     * VM ID — always 20 alphanumeric lowercase characters.
     * New IDs are fully random. Legacy short IDs are right-padded with '0' on parse.
     */
    vmId: string;
    vmInstanceId: string;
}
interface ResponsePostV1VmsVmIdStop400 {
    /**
     * Error code in SCREAMING_SNAKE_CASE
     */
    error: string;
    /**
     * Human-readable error message
     */
    message: string;
}
interface ResponsePostV1VmsVmIdStop500 {
    /**
     * Error code in SCREAMING_SNAKE_CASE
     */
    error: string;
    /**
     * Human-readable error message
     */
    message: string;
}
interface ResponsePostV1VmsVmIdSuspend200 {
    /**
     * The ID of the VM that was suspended
     */
    id: string;
    /**
     * The ID of the VM instance that was suspended
     */
    vmInstanceId: string;
    /**
     * The ID of the snapshot layer created for this VM — if a layer was created
     */
    snapshotLayerId: string;
}
interface ResponsePostV1VmsVmIdSuspend500 {
    /**
     * Error code in SCREAMING_SNAKE_CASE
     */
    error: string;
    /**
     * Human-readable error message
     */
    message: string;
}
interface ResponsePostV1VmsVmIdSystemdRestart200 {
    results: {
        serviceId: string;
        success: boolean;
        message: string;
    }[];
}
interface ResponsePostV1VmsVmIdSystemdRestart500 {
    /**
     * Error code in SCREAMING_SNAKE_CASE
     */
    error: string;
    /**
     * Human-readable error message
     */
    message: string;
}
interface ResponseGetV1VmsVmIdSystemdServices200 {
    services: {
        name: string;
    }[];
}
interface ResponseGetV1VmsVmIdSystemdServices500 {
    /**
     * Error code in SCREAMING_SNAKE_CASE
     */
    error: string;
    /**
     * Human-readable error message
     */
    message: string;
}
interface ResponsePostV1VmsVmIdSystemdServices200 {
    success: boolean;
    message: string;
    serviceName: string;
}
interface ResponsePostV1VmsVmIdSystemdServices409 {
    /**
     * Error code in SCREAMING_SNAKE_CASE
     */
    error: string;
    /**
     * Human-readable error message
     */
    message: string;
}
interface ResponsePostV1VmsVmIdSystemdServices500 {
    /**
     * Error code in SCREAMING_SNAKE_CASE
     */
    error: string;
    /**
     * Human-readable error message
     */
    message: string;
}
interface ResponseDeleteV1VmsVmIdSystemdServicesServiceId200 {
    success: boolean;
    message: string;
}
interface ResponseDeleteV1VmsVmIdSystemdServicesServiceId404 {
    /**
     * Error code in SCREAMING_SNAKE_CASE
     */
    error: string;
    /**
     * Human-readable error message
     */
    message: string;
}
interface ResponseDeleteV1VmsVmIdSystemdServicesServiceId500 {
    /**
     * Error code in SCREAMING_SNAKE_CASE
     */
    error: string;
    /**
     * Human-readable error message
     */
    message: string;
}
interface ResponseGetV1VmsVmIdSystemdServicesServiceIdLogs200 {
    logs: {
        message: string;
        timestamp: string;
        priority?: string | null;
        unit?: string | null;
    }[];
}
interface ResponseGetV1VmsVmIdSystemdServicesServiceIdLogs404 {
    /**
     * Error code in SCREAMING_SNAKE_CASE
     */
    error: string;
    /**
     * Human-readable error message
     */
    message: string;
}
interface ResponseGetV1VmsVmIdSystemdServicesServiceIdLogs500 {
    /**
     * Error code in SCREAMING_SNAKE_CASE
     */
    error: string;
    /**
     * Human-readable error message
     */
    message: string;
}
interface ResponseGetV1VmsVmIdSystemdServicesServiceIdStatus200 {
    name: string;
    activeState: string;
    subState: string;
    loadState: string;
    description: string;
}
interface ResponseGetV1VmsVmIdSystemdServicesServiceIdStatus404 {
    /**
     * Error code in SCREAMING_SNAKE_CASE
     */
    error: string;
    /**
     * Human-readable error message
     */
    message: string;
}
interface ResponseGetV1VmsVmIdSystemdServicesServiceIdStatus500 {
    /**
     * Error code in SCREAMING_SNAKE_CASE
     */
    error: string;
    /**
     * Human-readable error message
     */
    message: string;
}
interface ResponsePostV1VmsVmIdSystemdStart200 {
    results: {
        serviceId: string;
        success: boolean;
        message: string;
    }[];
}
interface ResponsePostV1VmsVmIdSystemdStart500 {
    /**
     * Error code in SCREAMING_SNAKE_CASE
     */
    error: string;
    /**
     * Human-readable error message
     */
    message: string;
}
interface ResponsePostV1VmsVmIdSystemdStop200 {
    results: {
        serviceId: string;
        success: boolean;
        message: string;
    }[];
}
interface ResponsePostV1VmsVmIdSystemdStop500 {
    /**
     * Error code in SCREAMING_SNAKE_CASE
     */
    error: string;
    /**
     * Human-readable error message
     */
    message: string;
}
interface ResponseGetV1VmsVmIdTerminals200 {
    terminals: {
        name: string;
        status: string;
        created?: string | null;
    }[];
}
interface ResponseGetV1VmsVmIdTerminals500 {
    /**
     * Error code in SCREAMING_SNAKE_CASE
     */
    error: string;
    /**
     * Human-readable error message
     */
    message: string;
}
interface ResponseGetV1VmsVmIdTerminalsTerminalIdLogs200 {
    logs: {
        line: string;
        timestamp?: string | null;
    }[];
}
interface ResponseGetV1VmsVmIdTerminalsTerminalIdLogs500 {
    /**
     * Error code in SCREAMING_SNAKE_CASE
     */
    error: string;
    /**
     * Human-readable error message
     */
    message: string;
}
interface ResponseGetV1VmsVmIdTerminalsTerminalIdXterm_256Color200 {
    output: string;
}
interface ResponseGetV1VmsVmIdTerminalsTerminalIdXterm_256Color500 {
    /**
     * Error code in SCREAMING_SNAKE_CASE
     */
    error: string;
    /**
     * Human-readable error message
     */
    message: string;
}
type ResponsePostWebV1Deploy200 = {
    deploymentId: string;
    /**
     * @deprecated
     */
    projectId: string;
    domains?: string[] | null;
    /**
     * The entrypoint file for the website. If not specified we try to automatically detect it.
     * For static-only deployments (static: true), this will be None.
     */
    entrypoint?: string | null;
} | {
    deploymentId: string;
};
interface ResponsePostWebV1Deploy400 {
    message: string;
}
type ResponsePostWebV1Deployment200 = {
    deploymentId: string;
    /**
     * @deprecated
     */
    projectId: string;
    domains?: string[] | null;
    /**
     * The entrypoint file for the website. If not specified we try to automatically detect it.
     * For static-only deployments (static: true), this will be None.
     */
    entrypoint?: string | null;
} | {
    deploymentId: string;
};
interface ResponsePostWebV1Deployment400 {
    /**
     * Error code in SCREAMING_SNAKE_CASE
     */
    error: string;
    /**
     * Human-readable error message
     */
    message: string;
}
interface ResponsePostWebV1Deployment403 {
    /**
     * Error code in SCREAMING_SNAKE_CASE
     */
    error: string;
    /**
     * Human-readable error message
     */
    message: string;
}
interface ResponsePostWebV1Deployment404 {
    /**
     * Error code in SCREAMING_SNAKE_CASE
     */
    error: string;
    /**
     * Human-readable error message
     */
    message: string;
}
interface ResponsePostWebV1Deployment500 {
    /**
     * Error code in SCREAMING_SNAKE_CASE
     */
    error: string;
    /**
     * Human-readable error message
     */
    message: string;
}
interface ResponsePostWebV1Deployment502 {
    /**
     * Error code in SCREAMING_SNAKE_CASE
     */
    error: string;
    /**
     * Human-readable error message
     */
    message: string;
}
interface ResponseGetWebV1Deployments200 {
    entries: {
        deploymentId: string;
        accountId: string;
        provisionedAt: string;
        timeout: string;
        state: "provisioning" | "deployed" | "failed";
        deployedAt?: string | null;
        domains: string[];
        envVars: {
            [k: string]: string;
        };
    }[];
    total: number;
    offset: number;
}
interface ResponseGetWebV1Deployments500 {
    /**
     * Error code in SCREAMING_SNAKE_CASE
     */
    error: string;
    /**
     * Human-readable error message
     */
    message: string;
}

type responses_ResponseDeleteDnsV1Records200 = ResponseDeleteDnsV1Records200;
type responses_ResponseDeleteDnsV1Records403 = ResponseDeleteDnsV1Records403;
type responses_ResponseDeleteDnsV1Records500 = ResponseDeleteDnsV1Records500;
type responses_ResponseDeleteDomainsV1MappingsDomain200 = ResponseDeleteDomainsV1MappingsDomain200;
type responses_ResponseDeleteDomainsV1MappingsDomain400 = ResponseDeleteDomainsV1MappingsDomain400;
type responses_ResponseDeleteDomainsV1MappingsDomain401 = ResponseDeleteDomainsV1MappingsDomain401;
type responses_ResponseDeleteDomainsV1MappingsDomain422 = ResponseDeleteDomainsV1MappingsDomain422;
type responses_ResponseDeleteDomainsV1MappingsDomain500 = ResponseDeleteDomainsV1MappingsDomain500;
type responses_ResponseDeleteDomainsV1MappingsDomain502 = ResponseDeleteDomainsV1MappingsDomain502;
type responses_ResponseDeleteDomainsV1Verifications200 = ResponseDeleteDomainsV1Verifications200;
type responses_ResponseDeleteDomainsV1Verifications400 = ResponseDeleteDomainsV1Verifications400;
type responses_ResponseDeleteGitV1IdentityIdentity200 = ResponseDeleteGitV1IdentityIdentity200;
type responses_ResponseDeleteGitV1IdentityIdentity403 = ResponseDeleteGitV1IdentityIdentity403;
type responses_ResponseDeleteGitV1IdentityIdentity404 = ResponseDeleteGitV1IdentityIdentity404;
type responses_ResponseDeleteGitV1IdentityIdentity500 = ResponseDeleteGitV1IdentityIdentity500;
type responses_ResponseDeleteGitV1IdentityIdentityPermissionsRepo200 = ResponseDeleteGitV1IdentityIdentityPermissionsRepo200;
type responses_ResponseDeleteGitV1IdentityIdentityPermissionsRepo403 = ResponseDeleteGitV1IdentityIdentityPermissionsRepo403;
type responses_ResponseDeleteGitV1IdentityIdentityPermissionsRepo404 = ResponseDeleteGitV1IdentityIdentityPermissionsRepo404;
type responses_ResponseDeleteGitV1IdentityIdentityPermissionsRepo500 = ResponseDeleteGitV1IdentityIdentityPermissionsRepo500;
type responses_ResponseDeleteGitV1IdentityIdentityTokens200 = ResponseDeleteGitV1IdentityIdentityTokens200;
type responses_ResponseDeleteGitV1IdentityIdentityTokens403 = ResponseDeleteGitV1IdentityIdentityTokens403;
type responses_ResponseDeleteGitV1IdentityIdentityTokens404 = ResponseDeleteGitV1IdentityIdentityTokens404;
type responses_ResponseDeleteGitV1IdentityIdentityTokens500 = ResponseDeleteGitV1IdentityIdentityTokens500;
type responses_ResponseDeleteGitV1RepoRepo200 = ResponseDeleteGitV1RepoRepo200;
type responses_ResponseDeleteGitV1RepoRepo403 = ResponseDeleteGitV1RepoRepo403;
type responses_ResponseDeleteGitV1RepoRepo500 = ResponseDeleteGitV1RepoRepo500;
type responses_ResponseDeleteGitV1RepoRepoRepairJobId200 = ResponseDeleteGitV1RepoRepoRepairJobId200;
type responses_ResponseDeleteGitV1RepoRepoTriggerTrigger200 = ResponseDeleteGitV1RepoRepoTriggerTrigger200;
type responses_ResponseDeleteGitV1RepoRepoTriggerTrigger400 = ResponseDeleteGitV1RepoRepoTriggerTrigger400;
type responses_ResponseDeleteGitV1RepoRepoTriggerTrigger403 = ResponseDeleteGitV1RepoRepoTriggerTrigger403;
type responses_ResponseDeleteGitV1RepoRepoTriggerTrigger404 = ResponseDeleteGitV1RepoRepoTriggerTrigger404;
type responses_ResponseDeleteGitV1RepoRepoTriggerTrigger500 = ResponseDeleteGitV1RepoRepoTriggerTrigger500;
type responses_ResponseDeleteIdentityV1IdentitiesIdentity200 = ResponseDeleteIdentityV1IdentitiesIdentity200;
type responses_ResponseDeleteIdentityV1IdentitiesIdentityPermissionsGitRepo200 = ResponseDeleteIdentityV1IdentitiesIdentityPermissionsGitRepo200;
type responses_ResponseDeleteIdentityV1IdentitiesIdentityPermissionsVmVmId200 = ResponseDeleteIdentityV1IdentitiesIdentityPermissionsVmVmId200;
type responses_ResponseDeleteIdentityV1IdentitiesIdentityTokensToken200 = ResponseDeleteIdentityV1IdentitiesIdentityTokensToken200;
type responses_ResponseDeleteV1CronSchedulesId200 = ResponseDeleteV1CronSchedulesId200;
type responses_ResponseDeleteV1VmsSnapshotsSnapshotId200 = ResponseDeleteV1VmsSnapshotsSnapshotId200;
type responses_ResponseDeleteV1VmsSnapshotsSnapshotId404 = ResponseDeleteV1VmsSnapshotsSnapshotId404;
type responses_ResponseDeleteV1VmsSnapshotsSnapshotId409 = ResponseDeleteV1VmsSnapshotsSnapshotId409;
type responses_ResponseDeleteV1VmsSnapshotsSnapshotId500 = ResponseDeleteV1VmsSnapshotsSnapshotId500;
type responses_ResponseDeleteV1VmsVmId200 = ResponseDeleteV1VmsVmId200;
type responses_ResponseDeleteV1VmsVmId500 = ResponseDeleteV1VmsVmId500;
type responses_ResponseDeleteV1VmsVmIdSystemdServicesServiceId200 = ResponseDeleteV1VmsVmIdSystemdServicesServiceId200;
type responses_ResponseDeleteV1VmsVmIdSystemdServicesServiceId404 = ResponseDeleteV1VmsVmIdSystemdServicesServiceId404;
type responses_ResponseDeleteV1VmsVmIdSystemdServicesServiceId500 = ResponseDeleteV1VmsVmIdSystemdServicesServiceId500;
type responses_ResponseGetAuthV1BackgroundRequestsRequestId202 = ResponseGetAuthV1BackgroundRequestsRequestId202;
type responses_ResponseGetAuthV1BackgroundRequestsRequestId404 = ResponseGetAuthV1BackgroundRequestsRequestId404;
type responses_ResponseGetAuthV1Whoami200 = ResponseGetAuthV1Whoami200;
type responses_ResponseGetDnsV1Records200 = ResponseGetDnsV1Records200;
type responses_ResponseGetDnsV1Records400 = ResponseGetDnsV1Records400;
type responses_ResponseGetDomainsV1Domains200 = ResponseGetDomainsV1Domains200;
type responses_ResponseGetDomainsV1Domains400 = ResponseGetDomainsV1Domains400;
type responses_ResponseGetDomainsV1Mappings200 = ResponseGetDomainsV1Mappings200;
type responses_ResponseGetDomainsV1Verifications200 = ResponseGetDomainsV1Verifications200;
type responses_ResponseGetDomainsV1Verifications400 = ResponseGetDomainsV1Verifications400;
type responses_ResponseGetExecuteV1Deployments200 = ResponseGetExecuteV1Deployments200;
type responses_ResponseGetExecuteV1Deployments500 = ResponseGetExecuteV1Deployments500;
type responses_ResponseGetExecuteV1DeploymentsDeployment200 = ResponseGetExecuteV1DeploymentsDeployment200;
type responses_ResponseGetExecuteV1DeploymentsDeployment401 = ResponseGetExecuteV1DeploymentsDeployment401;
type responses_ResponseGetExecuteV1DeploymentsDeployment404 = ResponseGetExecuteV1DeploymentsDeployment404;
type responses_ResponseGetExecuteV1DeploymentsDeployment500 = ResponseGetExecuteV1DeploymentsDeployment500;
type responses_ResponseGetGitV1Identity200 = ResponseGetGitV1Identity200;
type responses_ResponseGetGitV1IdentityIdentityPermissions200 = ResponseGetGitV1IdentityIdentityPermissions200;
type responses_ResponseGetGitV1IdentityIdentityPermissions403 = ResponseGetGitV1IdentityIdentityPermissions403;
type responses_ResponseGetGitV1IdentityIdentityPermissions404 = ResponseGetGitV1IdentityIdentityPermissions404;
type responses_ResponseGetGitV1IdentityIdentityPermissions500 = ResponseGetGitV1IdentityIdentityPermissions500;
type responses_ResponseGetGitV1IdentityIdentityPermissionsRepo200 = ResponseGetGitV1IdentityIdentityPermissionsRepo200;
type responses_ResponseGetGitV1IdentityIdentityPermissionsRepo403 = ResponseGetGitV1IdentityIdentityPermissionsRepo403;
type responses_ResponseGetGitV1IdentityIdentityPermissionsRepo404 = ResponseGetGitV1IdentityIdentityPermissionsRepo404;
type responses_ResponseGetGitV1IdentityIdentityPermissionsRepo500 = ResponseGetGitV1IdentityIdentityPermissionsRepo500;
type responses_ResponseGetGitV1IdentityIdentityTokens200 = ResponseGetGitV1IdentityIdentityTokens200;
type responses_ResponseGetGitV1IdentityIdentityTokens403 = ResponseGetGitV1IdentityIdentityTokens403;
type responses_ResponseGetGitV1IdentityIdentityTokens404 = ResponseGetGitV1IdentityIdentityTokens404;
type responses_ResponseGetGitV1IdentityIdentityTokens500 = ResponseGetGitV1IdentityIdentityTokens500;
type responses_ResponseGetGitV1Repo200 = ResponseGetGitV1Repo200;
type responses_ResponseGetGitV1Repo500 = ResponseGetGitV1Repo500;
type responses_ResponseGetGitV1RepoRepo200 = ResponseGetGitV1RepoRepo200;
type responses_ResponseGetGitV1RepoRepoCompare200 = ResponseGetGitV1RepoRepoCompare200;
type responses_ResponseGetGitV1RepoRepoContentsPath200 = ResponseGetGitV1RepoRepoContentsPath200;
type responses_ResponseGetGitV1RepoRepoContentsPath200DirEntryRecursive = ResponseGetGitV1RepoRepoContentsPath200DirEntryRecursive;
type responses_ResponseGetGitV1RepoRepoContentsPath200Directory = ResponseGetGitV1RepoRepoContentsPath200Directory;
type responses_ResponseGetGitV1RepoRepoContentsPath200DirectoryEntry = ResponseGetGitV1RepoRepoContentsPath200DirectoryEntry;
type responses_ResponseGetGitV1RepoRepoContentsPath200File = ResponseGetGitV1RepoRepoContentsPath200File;
type responses_ResponseGetGitV1RepoRepoContentsPath200FileEntry = ResponseGetGitV1RepoRepoContentsPath200FileEntry;
type responses_ResponseGetGitV1RepoRepoContentsPath200FileEntry1 = ResponseGetGitV1RepoRepoContentsPath200FileEntry1;
type responses_ResponseGetGitV1RepoRepoGitBlobsHash200 = ResponseGetGitV1RepoRepoGitBlobsHash200;
type responses_ResponseGetGitV1RepoRepoGitCommits200 = ResponseGetGitV1RepoRepoGitCommits200;
type responses_ResponseGetGitV1RepoRepoGitCommits200CommitsSelector = ResponseGetGitV1RepoRepoGitCommits200CommitsSelector;
type responses_ResponseGetGitV1RepoRepoGitCommits200Range = ResponseGetGitV1RepoRepoGitCommits200Range;
type responses_ResponseGetGitV1RepoRepoGitCommits200Since = ResponseGetGitV1RepoRepoGitCommits200Since;
type responses_ResponseGetGitV1RepoRepoGitCommits200Until = ResponseGetGitV1RepoRepoGitCommits200Until;
type responses_ResponseGetGitV1RepoRepoGitCommits403 = ResponseGetGitV1RepoRepoGitCommits403;
type responses_ResponseGetGitV1RepoRepoGitCommits500 = ResponseGetGitV1RepoRepoGitCommits500;
type responses_ResponseGetGitV1RepoRepoGitCommitsHash200 = ResponseGetGitV1RepoRepoGitCommitsHash200;
type responses_ResponseGetGitV1RepoRepoGitRefsHeads200 = ResponseGetGitV1RepoRepoGitRefsHeads200;
type responses_ResponseGetGitV1RepoRepoGitRefsHeadsBranch200 = ResponseGetGitV1RepoRepoGitRefsHeadsBranch200;
type responses_ResponseGetGitV1RepoRepoGitRefsHeadsBranch400 = ResponseGetGitV1RepoRepoGitRefsHeadsBranch400;
type responses_ResponseGetGitV1RepoRepoGitRefsHeadsBranch403 = ResponseGetGitV1RepoRepoGitRefsHeadsBranch403;
type responses_ResponseGetGitV1RepoRepoGitRefsHeadsBranch500 = ResponseGetGitV1RepoRepoGitRefsHeadsBranch500;
type responses_ResponseGetGitV1RepoRepoGitRefsTags200 = ResponseGetGitV1RepoRepoGitRefsTags200;
type responses_ResponseGetGitV1RepoRepoGitRefsTagsTag200 = ResponseGetGitV1RepoRepoGitRefsTagsTag200;
type responses_ResponseGetGitV1RepoRepoGitRefsTagsTag400 = ResponseGetGitV1RepoRepoGitRefsTagsTag400;
type responses_ResponseGetGitV1RepoRepoGitRefsTagsTag403 = ResponseGetGitV1RepoRepoGitRefsTagsTag403;
type responses_ResponseGetGitV1RepoRepoGitRefsTagsTag500 = ResponseGetGitV1RepoRepoGitRefsTagsTag500;
type responses_ResponseGetGitV1RepoRepoGitTagsHash200 = ResponseGetGitV1RepoRepoGitTagsHash200;
type responses_ResponseGetGitV1RepoRepoGitTreesHash200 = ResponseGetGitV1RepoRepoGitTreesHash200;
type responses_ResponseGetGitV1RepoRepoGitTreesHash200Blob = ResponseGetGitV1RepoRepoGitTreesHash200Blob;
type responses_ResponseGetGitV1RepoRepoGitTreesHash200Tree = ResponseGetGitV1RepoRepoGitTreesHash200Tree;
type responses_ResponseGetGitV1RepoRepoIdDefaultBranch200 = ResponseGetGitV1RepoRepoIdDefaultBranch200;
type responses_ResponseGetGitV1RepoRepoIdDefaultBranch403 = ResponseGetGitV1RepoRepoIdDefaultBranch403;
type responses_ResponseGetGitV1RepoRepoIdDefaultBranch500 = ResponseGetGitV1RepoRepoIdDefaultBranch500;
type responses_ResponseGetGitV1RepoRepoIdGithubSync200 = ResponseGetGitV1RepoRepoIdGithubSync200;
type responses_ResponseGetGitV1RepoRepoIdVisibility200 = ResponseGetGitV1RepoRepoIdVisibility200;
type responses_ResponseGetGitV1RepoRepoIdVisibility403 = ResponseGetGitV1RepoRepoIdVisibility403;
type responses_ResponseGetGitV1RepoRepoIdVisibility500 = ResponseGetGitV1RepoRepoIdVisibility500;
type responses_ResponseGetGitV1RepoRepoRepair200 = ResponseGetGitV1RepoRepoRepair200;
type responses_ResponseGetGitV1RepoRepoRepairJobId200 = ResponseGetGitV1RepoRepoRepairJobId200;
type responses_ResponseGetGitV1RepoRepoSearch200 = ResponseGetGitV1RepoRepoSearch200;
type responses_ResponseGetGitV1RepoRepoSearchCommits200 = ResponseGetGitV1RepoRepoSearchCommits200;
type responses_ResponseGetGitV1RepoRepoSearchDiffs200 = ResponseGetGitV1RepoRepoSearchDiffs200;
type responses_ResponseGetGitV1RepoRepoSearchFiles200 = ResponseGetGitV1RepoRepoSearchFiles200;
type responses_ResponseGetGitV1RepoRepoTrigger200 = ResponseGetGitV1RepoRepoTrigger200;
type responses_ResponseGetGitV1RepoRepoTrigger403 = ResponseGetGitV1RepoRepoTrigger403;
type responses_ResponseGetGitV1RepoRepoTrigger404 = ResponseGetGitV1RepoRepoTrigger404;
type responses_ResponseGetGitV1RepoRepoTrigger500 = ResponseGetGitV1RepoRepoTrigger500;
type responses_ResponseGetIdentityV1Identities200 = ResponseGetIdentityV1Identities200;
type responses_ResponseGetIdentityV1IdentitiesIdentityPermissionsGit200 = ResponseGetIdentityV1IdentitiesIdentityPermissionsGit200;
type responses_ResponseGetIdentityV1IdentitiesIdentityPermissionsGitRepo200 = ResponseGetIdentityV1IdentitiesIdentityPermissionsGitRepo200;
type responses_ResponseGetIdentityV1IdentitiesIdentityPermissionsVm200 = ResponseGetIdentityV1IdentitiesIdentityPermissionsVm200;
type responses_ResponseGetIdentityV1IdentitiesIdentityPermissionsVmVmId200 = ResponseGetIdentityV1IdentitiesIdentityPermissionsVmVmId200;
type responses_ResponseGetIdentityV1IdentitiesIdentityTokens200 = ResponseGetIdentityV1IdentitiesIdentityTokens200;
type responses_ResponseGetObservabilityV1Logs200 = ResponseGetObservabilityV1Logs200;
type responses_ResponseGetV1CronSchedules200 = ResponseGetV1CronSchedules200;
type responses_ResponseGetV1CronSchedulesId200 = ResponseGetV1CronSchedulesId200;
type responses_ResponseGetV1CronSchedulesIdExecutions200 = ResponseGetV1CronSchedulesIdExecutions200;
type responses_ResponseGetV1CronSchedulesIdMetricsTimeline200 = ResponseGetV1CronSchedulesIdMetricsTimeline200;
type responses_ResponseGetV1CronSchedulesIdSuccessRate200 = ResponseGetV1CronSchedulesIdSuccessRate200;
type responses_ResponseGetV1Vms200 = ResponseGetV1Vms200;
type responses_ResponseGetV1Vms500 = ResponseGetV1Vms500;
type responses_ResponseGetV1VmsSnapshots200 = ResponseGetV1VmsSnapshots200;
type responses_ResponseGetV1VmsSnapshots400 = ResponseGetV1VmsSnapshots400;
type responses_ResponseGetV1VmsSnapshots500 = ResponseGetV1VmsSnapshots500;
type responses_ResponseGetV1VmsVmId200 = ResponseGetV1VmsVmId200;
type responses_ResponseGetV1VmsVmId500 = ResponseGetV1VmsVmId500;
type responses_ResponseGetV1VmsVmIdFilesFilepath200 = ResponseGetV1VmsVmIdFilesFilepath200;
type responses_ResponseGetV1VmsVmIdFilesFilepath400 = ResponseGetV1VmsVmIdFilesFilepath400;
type responses_ResponseGetV1VmsVmIdFilesFilepath404 = ResponseGetV1VmsVmIdFilesFilepath404;
type responses_ResponseGetV1VmsVmIdFilesFilepath500 = ResponseGetV1VmsVmIdFilesFilepath500;
type responses_ResponseGetV1VmsVmIdSystemdServices200 = ResponseGetV1VmsVmIdSystemdServices200;
type responses_ResponseGetV1VmsVmIdSystemdServices500 = ResponseGetV1VmsVmIdSystemdServices500;
type responses_ResponseGetV1VmsVmIdSystemdServicesServiceIdLogs200 = ResponseGetV1VmsVmIdSystemdServicesServiceIdLogs200;
type responses_ResponseGetV1VmsVmIdSystemdServicesServiceIdLogs404 = ResponseGetV1VmsVmIdSystemdServicesServiceIdLogs404;
type responses_ResponseGetV1VmsVmIdSystemdServicesServiceIdLogs500 = ResponseGetV1VmsVmIdSystemdServicesServiceIdLogs500;
type responses_ResponseGetV1VmsVmIdSystemdServicesServiceIdStatus200 = ResponseGetV1VmsVmIdSystemdServicesServiceIdStatus200;
type responses_ResponseGetV1VmsVmIdSystemdServicesServiceIdStatus404 = ResponseGetV1VmsVmIdSystemdServicesServiceIdStatus404;
type responses_ResponseGetV1VmsVmIdSystemdServicesServiceIdStatus500 = ResponseGetV1VmsVmIdSystemdServicesServiceIdStatus500;
type responses_ResponseGetV1VmsVmIdTerminals200 = ResponseGetV1VmsVmIdTerminals200;
type responses_ResponseGetV1VmsVmIdTerminals500 = ResponseGetV1VmsVmIdTerminals500;
type responses_ResponseGetV1VmsVmIdTerminalsTerminalIdLogs200 = ResponseGetV1VmsVmIdTerminalsTerminalIdLogs200;
type responses_ResponseGetV1VmsVmIdTerminalsTerminalIdLogs500 = ResponseGetV1VmsVmIdTerminalsTerminalIdLogs500;
type responses_ResponseGetV1VmsVmIdTerminalsTerminalIdXterm_256Color200 = ResponseGetV1VmsVmIdTerminalsTerminalIdXterm_256Color200;
type responses_ResponseGetV1VmsVmIdTerminalsTerminalIdXterm_256Color500 = ResponseGetV1VmsVmIdTerminalsTerminalIdXterm_256Color500;
type responses_ResponseGetWebV1Deployments200 = ResponseGetWebV1Deployments200;
type responses_ResponseGetWebV1Deployments500 = ResponseGetWebV1Deployments500;
type responses_ResponsePatchV1CronSchedulesId200 = ResponsePatchV1CronSchedulesId200;
type responses_ResponsePatchV1VmsSnapshotsSnapshotId200 = ResponsePatchV1VmsSnapshotsSnapshotId200;
type responses_ResponsePatchV1VmsSnapshotsSnapshotId404 = ResponsePatchV1VmsSnapshotsSnapshotId404;
type responses_ResponsePatchV1VmsSnapshotsSnapshotId500 = ResponsePatchV1VmsSnapshotsSnapshotId500;
type responses_ResponsePostDnsV1Records200 = ResponsePostDnsV1Records200;
type responses_ResponsePostDnsV1Records403 = ResponsePostDnsV1Records403;
type responses_ResponsePostDnsV1Records500 = ResponsePostDnsV1Records500;
type responses_ResponsePostDomainsV1CertsDomainWildcard200 = ResponsePostDomainsV1CertsDomainWildcard200;
type responses_ResponsePostDomainsV1CertsDomainWildcard400 = ResponsePostDomainsV1CertsDomainWildcard400;
type responses_ResponsePostDomainsV1MappingsDomain200 = ResponsePostDomainsV1MappingsDomain200;
type responses_ResponsePostDomainsV1MappingsDomain4XX = ResponsePostDomainsV1MappingsDomain4XX;
type responses_ResponsePostDomainsV1MappingsDomain5XX = ResponsePostDomainsV1MappingsDomain5XX;
type responses_ResponsePostDomainsV1Verifications200 = ResponsePostDomainsV1Verifications200;
type responses_ResponsePostDomainsV1Verifications400 = ResponsePostDomainsV1Verifications400;
type responses_ResponsePostExecuteV1Script200 = ResponsePostExecuteV1Script200;
type responses_ResponsePostExecuteV1Script400 = ResponsePostExecuteV1Script400;
type responses_ResponsePostExecuteV1Script500 = ResponsePostExecuteV1Script500;
type responses_ResponsePostExecuteV3Script200 = ResponsePostExecuteV3Script200;
type responses_ResponsePostExecuteV3Script403 = ResponsePostExecuteV3Script403;
type responses_ResponsePostGitV1Identity200 = ResponsePostGitV1Identity200;
type responses_ResponsePostGitV1IdentityIdentityPermissionsRepo200 = ResponsePostGitV1IdentityIdentityPermissionsRepo200;
type responses_ResponsePostGitV1IdentityIdentityPermissionsRepo403 = ResponsePostGitV1IdentityIdentityPermissionsRepo403;
type responses_ResponsePostGitV1IdentityIdentityPermissionsRepo404 = ResponsePostGitV1IdentityIdentityPermissionsRepo404;
type responses_ResponsePostGitV1IdentityIdentityPermissionsRepo500 = ResponsePostGitV1IdentityIdentityPermissionsRepo500;
type responses_ResponsePostGitV1IdentityIdentityTokens200 = ResponsePostGitV1IdentityIdentityTokens200;
type responses_ResponsePostGitV1IdentityIdentityTokens403 = ResponsePostGitV1IdentityIdentityTokens403;
type responses_ResponsePostGitV1IdentityIdentityTokens404 = ResponsePostGitV1IdentityIdentityTokens404;
type responses_ResponsePostGitV1IdentityIdentityTokens500 = ResponsePostGitV1IdentityIdentityTokens500;
type responses_ResponsePostGitV1Repo200 = ResponsePostGitV1Repo200;
type responses_ResponsePostGitV1Repo403 = ResponsePostGitV1Repo403;
type responses_ResponsePostGitV1Repo500 = ResponsePostGitV1Repo500;
type responses_ResponsePostGitV1RepoRepoCommits200 = ResponsePostGitV1RepoRepoCommits200;
type responses_ResponsePostGitV1RepoRepoCommits403 = ResponsePostGitV1RepoRepoCommits403;
type responses_ResponsePostGitV1RepoRepoCommits500 = ResponsePostGitV1RepoRepoCommits500;
type responses_ResponsePostGitV1RepoRepoGitCommits200 = ResponsePostGitV1RepoRepoGitCommits200;
type responses_ResponsePostGitV1RepoRepoGitCommits403 = ResponsePostGitV1RepoRepoGitCommits403;
type responses_ResponsePostGitV1RepoRepoGitCommits500 = ResponsePostGitV1RepoRepoGitCommits500;
type responses_ResponsePostGitV1RepoRepoGitRefsHeadsBranch200 = ResponsePostGitV1RepoRepoGitRefsHeadsBranch200;
type responses_ResponsePostGitV1RepoRepoGitRefsHeadsBranch400 = ResponsePostGitV1RepoRepoGitRefsHeadsBranch400;
type responses_ResponsePostGitV1RepoRepoGitRefsHeadsBranch403 = ResponsePostGitV1RepoRepoGitRefsHeadsBranch403;
type responses_ResponsePostGitV1RepoRepoGitRefsHeadsBranch500 = ResponsePostGitV1RepoRepoGitRefsHeadsBranch500;
type responses_ResponsePostGitV1RepoRepoRepair202 = ResponsePostGitV1RepoRepoRepair202;
type responses_ResponsePostGitV1RepoRepoTrigger200 = ResponsePostGitV1RepoRepoTrigger200;
type responses_ResponsePostGitV1RepoRepoTrigger400 = ResponsePostGitV1RepoRepoTrigger400;
type responses_ResponsePostGitV1RepoRepoTrigger403 = ResponsePostGitV1RepoRepoTrigger403;
type responses_ResponsePostGitV1RepoRepoTrigger404 = ResponsePostGitV1RepoRepoTrigger404;
type responses_ResponsePostGitV1RepoRepoTrigger500 = ResponsePostGitV1RepoRepoTrigger500;
type responses_ResponsePostIdentityV1Identities200 = ResponsePostIdentityV1Identities200;
type responses_ResponsePostIdentityV1IdentitiesIdentityPermissionsGitRepo200 = ResponsePostIdentityV1IdentitiesIdentityPermissionsGitRepo200;
type responses_ResponsePostIdentityV1IdentitiesIdentityPermissionsVmVmId200 = ResponsePostIdentityV1IdentitiesIdentityPermissionsVmVmId200;
type responses_ResponsePostIdentityV1IdentitiesIdentityTokens200 = ResponsePostIdentityV1IdentitiesIdentityTokens200;
type responses_ResponsePostV1CronSchedules200 = ResponsePostV1CronSchedules200;
type responses_ResponsePostV1Vms200 = ResponsePostV1Vms200;
type responses_ResponsePostV1VmsIdResize200 = ResponsePostV1VmsIdResize200;
type responses_ResponsePostV1VmsIdResize400 = ResponsePostV1VmsIdResize400;
type responses_ResponsePostV1VmsIdResize404 = ResponsePostV1VmsIdResize404;
type responses_ResponsePostV1VmsIdResize500 = ResponsePostV1VmsIdResize500;
type responses_ResponsePostV1VmsSnapshots200 = ResponsePostV1VmsSnapshots200;
type responses_ResponsePostV1VmsVmIdAwait200 = ResponsePostV1VmsVmIdAwait200;
type responses_ResponsePostV1VmsVmIdAwait500 = ResponsePostV1VmsVmIdAwait500;
type responses_ResponsePostV1VmsVmIdExecAwait200 = ResponsePostV1VmsVmIdExecAwait200;
type responses_ResponsePostV1VmsVmIdExecAwait408 = ResponsePostV1VmsVmIdExecAwait408;
type responses_ResponsePostV1VmsVmIdExecAwait500 = ResponsePostV1VmsVmIdExecAwait500;
type responses_ResponsePostV1VmsVmIdFork200 = ResponsePostV1VmsVmIdFork200;
type responses_ResponsePostV1VmsVmIdFork403 = ResponsePostV1VmsVmIdFork403;
type responses_ResponsePostV1VmsVmIdFork500 = ResponsePostV1VmsVmIdFork500;
type responses_ResponsePostV1VmsVmIdKill200 = ResponsePostV1VmsVmIdKill200;
type responses_ResponsePostV1VmsVmIdKill500 = ResponsePostV1VmsVmIdKill500;
type responses_ResponsePostV1VmsVmIdOptimize200 = ResponsePostV1VmsVmIdOptimize200;
type responses_ResponsePostV1VmsVmIdOptimize500 = ResponsePostV1VmsVmIdOptimize500;
type responses_ResponsePostV1VmsVmIdSnapshot200 = ResponsePostV1VmsVmIdSnapshot200;
type responses_ResponsePostV1VmsVmIdStart200 = ResponsePostV1VmsVmIdStart200;
type responses_ResponsePostV1VmsVmIdStop200 = ResponsePostV1VmsVmIdStop200;
type responses_ResponsePostV1VmsVmIdStop400 = ResponsePostV1VmsVmIdStop400;
type responses_ResponsePostV1VmsVmIdStop500 = ResponsePostV1VmsVmIdStop500;
type responses_ResponsePostV1VmsVmIdSuspend200 = ResponsePostV1VmsVmIdSuspend200;
type responses_ResponsePostV1VmsVmIdSuspend500 = ResponsePostV1VmsVmIdSuspend500;
type responses_ResponsePostV1VmsVmIdSystemdRestart200 = ResponsePostV1VmsVmIdSystemdRestart200;
type responses_ResponsePostV1VmsVmIdSystemdRestart500 = ResponsePostV1VmsVmIdSystemdRestart500;
type responses_ResponsePostV1VmsVmIdSystemdServices200 = ResponsePostV1VmsVmIdSystemdServices200;
type responses_ResponsePostV1VmsVmIdSystemdServices409 = ResponsePostV1VmsVmIdSystemdServices409;
type responses_ResponsePostV1VmsVmIdSystemdServices500 = ResponsePostV1VmsVmIdSystemdServices500;
type responses_ResponsePostV1VmsVmIdSystemdStart200 = ResponsePostV1VmsVmIdSystemdStart200;
type responses_ResponsePostV1VmsVmIdSystemdStart500 = ResponsePostV1VmsVmIdSystemdStart500;
type responses_ResponsePostV1VmsVmIdSystemdStop200 = ResponsePostV1VmsVmIdSystemdStop200;
type responses_ResponsePostV1VmsVmIdSystemdStop500 = ResponsePostV1VmsVmIdSystemdStop500;
type responses_ResponsePostWebV1Deploy200 = ResponsePostWebV1Deploy200;
type responses_ResponsePostWebV1Deploy400 = ResponsePostWebV1Deploy400;
type responses_ResponsePostWebV1Deployment200 = ResponsePostWebV1Deployment200;
type responses_ResponsePostWebV1Deployment400 = ResponsePostWebV1Deployment400;
type responses_ResponsePostWebV1Deployment403 = ResponsePostWebV1Deployment403;
type responses_ResponsePostWebV1Deployment404 = ResponsePostWebV1Deployment404;
type responses_ResponsePostWebV1Deployment500 = ResponsePostWebV1Deployment500;
type responses_ResponsePostWebV1Deployment502 = ResponsePostWebV1Deployment502;
type responses_ResponsePutDomainsV1Verifications200 = ResponsePutDomainsV1Verifications200;
type responses_ResponsePutDomainsV1Verifications400 = ResponsePutDomainsV1Verifications400;
type responses_ResponsePutDomainsV1Verifications401 = ResponsePutDomainsV1Verifications401;
type responses_ResponsePutDomainsV1Verifications403 = ResponsePutDomainsV1Verifications403;
type responses_ResponsePutDomainsV1Verifications404 = ResponsePutDomainsV1Verifications404;
type responses_ResponsePutDomainsV1Verifications422 = ResponsePutDomainsV1Verifications422;
type responses_ResponsePutDomainsV1Verifications500 = ResponsePutDomainsV1Verifications500;
type responses_ResponsePutDomainsV1Verifications502 = ResponsePutDomainsV1Verifications502;
type responses_ResponsePutGitV1RepoRepoIdDefaultBranch200 = ResponsePutGitV1RepoRepoIdDefaultBranch200;
type responses_ResponsePutGitV1RepoRepoIdDefaultBranch403 = ResponsePutGitV1RepoRepoIdDefaultBranch403;
type responses_ResponsePutGitV1RepoRepoIdDefaultBranch500 = ResponsePutGitV1RepoRepoIdDefaultBranch500;
type responses_ResponsePutGitV1RepoRepoIdVisibility200 = ResponsePutGitV1RepoRepoIdVisibility200;
type responses_ResponsePutGitV1RepoRepoIdVisibility403 = ResponsePutGitV1RepoRepoIdVisibility403;
type responses_ResponsePutGitV1RepoRepoIdVisibility500 = ResponsePutGitV1RepoRepoIdVisibility500;
type responses_ResponsePutIdentityV1IdentitiesIdentityPermissionsGitRepo200 = ResponsePutIdentityV1IdentitiesIdentityPermissionsGitRepo200;
type responses_ResponsePutIdentityV1IdentitiesIdentityPermissionsVmVmId200 = ResponsePutIdentityV1IdentitiesIdentityPermissionsVmVmId200;
type responses_ResponsePutV1VmsVmIdFilesFilepath200 = ResponsePutV1VmsVmIdFilesFilepath200;
type responses_ResponsePutV1VmsVmIdFilesFilepath400 = ResponsePutV1VmsVmIdFilesFilepath400;
type responses_ResponsePutV1VmsVmIdFilesFilepath404 = ResponsePutV1VmsVmIdFilesFilepath404;
type responses_ResponsePutV1VmsVmIdFilesFilepath500 = ResponsePutV1VmsVmIdFilesFilepath500;
declare namespace responses {
  export type { responses_ResponseDeleteDnsV1Records200 as ResponseDeleteDnsV1Records200, responses_ResponseDeleteDnsV1Records403 as ResponseDeleteDnsV1Records403, responses_ResponseDeleteDnsV1Records500 as ResponseDeleteDnsV1Records500, responses_ResponseDeleteDomainsV1MappingsDomain200 as ResponseDeleteDomainsV1MappingsDomain200, responses_ResponseDeleteDomainsV1MappingsDomain400 as ResponseDeleteDomainsV1MappingsDomain400, responses_ResponseDeleteDomainsV1MappingsDomain401 as ResponseDeleteDomainsV1MappingsDomain401, responses_ResponseDeleteDomainsV1MappingsDomain422 as ResponseDeleteDomainsV1MappingsDomain422, responses_ResponseDeleteDomainsV1MappingsDomain500 as ResponseDeleteDomainsV1MappingsDomain500, responses_ResponseDeleteDomainsV1MappingsDomain502 as ResponseDeleteDomainsV1MappingsDomain502, responses_ResponseDeleteDomainsV1Verifications200 as ResponseDeleteDomainsV1Verifications200, responses_ResponseDeleteDomainsV1Verifications400 as ResponseDeleteDomainsV1Verifications400, responses_ResponseDeleteGitV1IdentityIdentity200 as ResponseDeleteGitV1IdentityIdentity200, responses_ResponseDeleteGitV1IdentityIdentity403 as ResponseDeleteGitV1IdentityIdentity403, responses_ResponseDeleteGitV1IdentityIdentity404 as ResponseDeleteGitV1IdentityIdentity404, responses_ResponseDeleteGitV1IdentityIdentity500 as ResponseDeleteGitV1IdentityIdentity500, responses_ResponseDeleteGitV1IdentityIdentityPermissionsRepo200 as ResponseDeleteGitV1IdentityIdentityPermissionsRepo200, responses_ResponseDeleteGitV1IdentityIdentityPermissionsRepo403 as ResponseDeleteGitV1IdentityIdentityPermissionsRepo403, responses_ResponseDeleteGitV1IdentityIdentityPermissionsRepo404 as ResponseDeleteGitV1IdentityIdentityPermissionsRepo404, responses_ResponseDeleteGitV1IdentityIdentityPermissionsRepo500 as ResponseDeleteGitV1IdentityIdentityPermissionsRepo500, responses_ResponseDeleteGitV1IdentityIdentityTokens200 as ResponseDeleteGitV1IdentityIdentityTokens200, responses_ResponseDeleteGitV1IdentityIdentityTokens403 as ResponseDeleteGitV1IdentityIdentityTokens403, responses_ResponseDeleteGitV1IdentityIdentityTokens404 as ResponseDeleteGitV1IdentityIdentityTokens404, responses_ResponseDeleteGitV1IdentityIdentityTokens500 as ResponseDeleteGitV1IdentityIdentityTokens500, responses_ResponseDeleteGitV1RepoRepo200 as ResponseDeleteGitV1RepoRepo200, responses_ResponseDeleteGitV1RepoRepo403 as ResponseDeleteGitV1RepoRepo403, responses_ResponseDeleteGitV1RepoRepo500 as ResponseDeleteGitV1RepoRepo500, responses_ResponseDeleteGitV1RepoRepoRepairJobId200 as ResponseDeleteGitV1RepoRepoRepairJobId200, responses_ResponseDeleteGitV1RepoRepoTriggerTrigger200 as ResponseDeleteGitV1RepoRepoTriggerTrigger200, responses_ResponseDeleteGitV1RepoRepoTriggerTrigger400 as ResponseDeleteGitV1RepoRepoTriggerTrigger400, responses_ResponseDeleteGitV1RepoRepoTriggerTrigger403 as ResponseDeleteGitV1RepoRepoTriggerTrigger403, responses_ResponseDeleteGitV1RepoRepoTriggerTrigger404 as ResponseDeleteGitV1RepoRepoTriggerTrigger404, responses_ResponseDeleteGitV1RepoRepoTriggerTrigger500 as ResponseDeleteGitV1RepoRepoTriggerTrigger500, responses_ResponseDeleteIdentityV1IdentitiesIdentity200 as ResponseDeleteIdentityV1IdentitiesIdentity200, responses_ResponseDeleteIdentityV1IdentitiesIdentityPermissionsGitRepo200 as ResponseDeleteIdentityV1IdentitiesIdentityPermissionsGitRepo200, responses_ResponseDeleteIdentityV1IdentitiesIdentityPermissionsVmVmId200 as ResponseDeleteIdentityV1IdentitiesIdentityPermissionsVmVmId200, responses_ResponseDeleteIdentityV1IdentitiesIdentityTokensToken200 as ResponseDeleteIdentityV1IdentitiesIdentityTokensToken200, responses_ResponseDeleteV1CronSchedulesId200 as ResponseDeleteV1CronSchedulesId200, responses_ResponseDeleteV1VmsSnapshotsSnapshotId200 as ResponseDeleteV1VmsSnapshotsSnapshotId200, responses_ResponseDeleteV1VmsSnapshotsSnapshotId404 as ResponseDeleteV1VmsSnapshotsSnapshotId404, responses_ResponseDeleteV1VmsSnapshotsSnapshotId409 as ResponseDeleteV1VmsSnapshotsSnapshotId409, responses_ResponseDeleteV1VmsSnapshotsSnapshotId500 as ResponseDeleteV1VmsSnapshotsSnapshotId500, responses_ResponseDeleteV1VmsVmId200 as ResponseDeleteV1VmsVmId200, responses_ResponseDeleteV1VmsVmId500 as ResponseDeleteV1VmsVmId500, responses_ResponseDeleteV1VmsVmIdSystemdServicesServiceId200 as ResponseDeleteV1VmsVmIdSystemdServicesServiceId200, responses_ResponseDeleteV1VmsVmIdSystemdServicesServiceId404 as ResponseDeleteV1VmsVmIdSystemdServicesServiceId404, responses_ResponseDeleteV1VmsVmIdSystemdServicesServiceId500 as ResponseDeleteV1VmsVmIdSystemdServicesServiceId500, responses_ResponseGetAuthV1BackgroundRequestsRequestId202 as ResponseGetAuthV1BackgroundRequestsRequestId202, responses_ResponseGetAuthV1BackgroundRequestsRequestId404 as ResponseGetAuthV1BackgroundRequestsRequestId404, responses_ResponseGetAuthV1Whoami200 as ResponseGetAuthV1Whoami200, responses_ResponseGetDnsV1Records200 as ResponseGetDnsV1Records200, responses_ResponseGetDnsV1Records400 as ResponseGetDnsV1Records400, responses_ResponseGetDomainsV1Domains200 as ResponseGetDomainsV1Domains200, responses_ResponseGetDomainsV1Domains400 as ResponseGetDomainsV1Domains400, responses_ResponseGetDomainsV1Mappings200 as ResponseGetDomainsV1Mappings200, responses_ResponseGetDomainsV1Verifications200 as ResponseGetDomainsV1Verifications200, responses_ResponseGetDomainsV1Verifications400 as ResponseGetDomainsV1Verifications400, responses_ResponseGetExecuteV1Deployments200 as ResponseGetExecuteV1Deployments200, responses_ResponseGetExecuteV1Deployments500 as ResponseGetExecuteV1Deployments500, responses_ResponseGetExecuteV1DeploymentsDeployment200 as ResponseGetExecuteV1DeploymentsDeployment200, responses_ResponseGetExecuteV1DeploymentsDeployment401 as ResponseGetExecuteV1DeploymentsDeployment401, responses_ResponseGetExecuteV1DeploymentsDeployment404 as ResponseGetExecuteV1DeploymentsDeployment404, responses_ResponseGetExecuteV1DeploymentsDeployment500 as ResponseGetExecuteV1DeploymentsDeployment500, responses_ResponseGetGitV1Identity200 as ResponseGetGitV1Identity200, responses_ResponseGetGitV1IdentityIdentityPermissions200 as ResponseGetGitV1IdentityIdentityPermissions200, responses_ResponseGetGitV1IdentityIdentityPermissions403 as ResponseGetGitV1IdentityIdentityPermissions403, responses_ResponseGetGitV1IdentityIdentityPermissions404 as ResponseGetGitV1IdentityIdentityPermissions404, responses_ResponseGetGitV1IdentityIdentityPermissions500 as ResponseGetGitV1IdentityIdentityPermissions500, responses_ResponseGetGitV1IdentityIdentityPermissionsRepo200 as ResponseGetGitV1IdentityIdentityPermissionsRepo200, responses_ResponseGetGitV1IdentityIdentityPermissionsRepo403 as ResponseGetGitV1IdentityIdentityPermissionsRepo403, responses_ResponseGetGitV1IdentityIdentityPermissionsRepo404 as ResponseGetGitV1IdentityIdentityPermissionsRepo404, responses_ResponseGetGitV1IdentityIdentityPermissionsRepo500 as ResponseGetGitV1IdentityIdentityPermissionsRepo500, responses_ResponseGetGitV1IdentityIdentityTokens200 as ResponseGetGitV1IdentityIdentityTokens200, responses_ResponseGetGitV1IdentityIdentityTokens403 as ResponseGetGitV1IdentityIdentityTokens403, responses_ResponseGetGitV1IdentityIdentityTokens404 as ResponseGetGitV1IdentityIdentityTokens404, responses_ResponseGetGitV1IdentityIdentityTokens500 as ResponseGetGitV1IdentityIdentityTokens500, responses_ResponseGetGitV1Repo200 as ResponseGetGitV1Repo200, responses_ResponseGetGitV1Repo500 as ResponseGetGitV1Repo500, responses_ResponseGetGitV1RepoRepo200 as ResponseGetGitV1RepoRepo200, responses_ResponseGetGitV1RepoRepoCompare200 as ResponseGetGitV1RepoRepoCompare200, responses_ResponseGetGitV1RepoRepoContentsPath200 as ResponseGetGitV1RepoRepoContentsPath200, responses_ResponseGetGitV1RepoRepoContentsPath200DirEntryRecursive as ResponseGetGitV1RepoRepoContentsPath200DirEntryRecursive, responses_ResponseGetGitV1RepoRepoContentsPath200Directory as ResponseGetGitV1RepoRepoContentsPath200Directory, responses_ResponseGetGitV1RepoRepoContentsPath200DirectoryEntry as ResponseGetGitV1RepoRepoContentsPath200DirectoryEntry, responses_ResponseGetGitV1RepoRepoContentsPath200File as ResponseGetGitV1RepoRepoContentsPath200File, responses_ResponseGetGitV1RepoRepoContentsPath200FileEntry as ResponseGetGitV1RepoRepoContentsPath200FileEntry, responses_ResponseGetGitV1RepoRepoContentsPath200FileEntry1 as ResponseGetGitV1RepoRepoContentsPath200FileEntry1, responses_ResponseGetGitV1RepoRepoGitBlobsHash200 as ResponseGetGitV1RepoRepoGitBlobsHash200, responses_ResponseGetGitV1RepoRepoGitCommits200 as ResponseGetGitV1RepoRepoGitCommits200, responses_ResponseGetGitV1RepoRepoGitCommits200CommitsSelector as ResponseGetGitV1RepoRepoGitCommits200CommitsSelector, responses_ResponseGetGitV1RepoRepoGitCommits200Range as ResponseGetGitV1RepoRepoGitCommits200Range, responses_ResponseGetGitV1RepoRepoGitCommits200Since as ResponseGetGitV1RepoRepoGitCommits200Since, responses_ResponseGetGitV1RepoRepoGitCommits200Until as ResponseGetGitV1RepoRepoGitCommits200Until, responses_ResponseGetGitV1RepoRepoGitCommits403 as ResponseGetGitV1RepoRepoGitCommits403, responses_ResponseGetGitV1RepoRepoGitCommits500 as ResponseGetGitV1RepoRepoGitCommits500, responses_ResponseGetGitV1RepoRepoGitCommitsHash200 as ResponseGetGitV1RepoRepoGitCommitsHash200, responses_ResponseGetGitV1RepoRepoGitRefsHeads200 as ResponseGetGitV1RepoRepoGitRefsHeads200, responses_ResponseGetGitV1RepoRepoGitRefsHeadsBranch200 as ResponseGetGitV1RepoRepoGitRefsHeadsBranch200, responses_ResponseGetGitV1RepoRepoGitRefsHeadsBranch400 as ResponseGetGitV1RepoRepoGitRefsHeadsBranch400, responses_ResponseGetGitV1RepoRepoGitRefsHeadsBranch403 as ResponseGetGitV1RepoRepoGitRefsHeadsBranch403, responses_ResponseGetGitV1RepoRepoGitRefsHeadsBranch500 as ResponseGetGitV1RepoRepoGitRefsHeadsBranch500, responses_ResponseGetGitV1RepoRepoGitRefsTags200 as ResponseGetGitV1RepoRepoGitRefsTags200, responses_ResponseGetGitV1RepoRepoGitRefsTagsTag200 as ResponseGetGitV1RepoRepoGitRefsTagsTag200, responses_ResponseGetGitV1RepoRepoGitRefsTagsTag400 as ResponseGetGitV1RepoRepoGitRefsTagsTag400, responses_ResponseGetGitV1RepoRepoGitRefsTagsTag403 as ResponseGetGitV1RepoRepoGitRefsTagsTag403, responses_ResponseGetGitV1RepoRepoGitRefsTagsTag500 as ResponseGetGitV1RepoRepoGitRefsTagsTag500, responses_ResponseGetGitV1RepoRepoGitTagsHash200 as ResponseGetGitV1RepoRepoGitTagsHash200, responses_ResponseGetGitV1RepoRepoGitTreesHash200 as ResponseGetGitV1RepoRepoGitTreesHash200, responses_ResponseGetGitV1RepoRepoGitTreesHash200Blob as ResponseGetGitV1RepoRepoGitTreesHash200Blob, responses_ResponseGetGitV1RepoRepoGitTreesHash200Tree as ResponseGetGitV1RepoRepoGitTreesHash200Tree, responses_ResponseGetGitV1RepoRepoIdDefaultBranch200 as ResponseGetGitV1RepoRepoIdDefaultBranch200, responses_ResponseGetGitV1RepoRepoIdDefaultBranch403 as ResponseGetGitV1RepoRepoIdDefaultBranch403, responses_ResponseGetGitV1RepoRepoIdDefaultBranch500 as ResponseGetGitV1RepoRepoIdDefaultBranch500, responses_ResponseGetGitV1RepoRepoIdGithubSync200 as ResponseGetGitV1RepoRepoIdGithubSync200, responses_ResponseGetGitV1RepoRepoIdVisibility200 as ResponseGetGitV1RepoRepoIdVisibility200, responses_ResponseGetGitV1RepoRepoIdVisibility403 as ResponseGetGitV1RepoRepoIdVisibility403, responses_ResponseGetGitV1RepoRepoIdVisibility500 as ResponseGetGitV1RepoRepoIdVisibility500, responses_ResponseGetGitV1RepoRepoRepair200 as ResponseGetGitV1RepoRepoRepair200, responses_ResponseGetGitV1RepoRepoRepairJobId200 as ResponseGetGitV1RepoRepoRepairJobId200, responses_ResponseGetGitV1RepoRepoSearch200 as ResponseGetGitV1RepoRepoSearch200, responses_ResponseGetGitV1RepoRepoSearchCommits200 as ResponseGetGitV1RepoRepoSearchCommits200, responses_ResponseGetGitV1RepoRepoSearchDiffs200 as ResponseGetGitV1RepoRepoSearchDiffs200, responses_ResponseGetGitV1RepoRepoSearchFiles200 as ResponseGetGitV1RepoRepoSearchFiles200, responses_ResponseGetGitV1RepoRepoTrigger200 as ResponseGetGitV1RepoRepoTrigger200, responses_ResponseGetGitV1RepoRepoTrigger403 as ResponseGetGitV1RepoRepoTrigger403, responses_ResponseGetGitV1RepoRepoTrigger404 as ResponseGetGitV1RepoRepoTrigger404, responses_ResponseGetGitV1RepoRepoTrigger500 as ResponseGetGitV1RepoRepoTrigger500, responses_ResponseGetIdentityV1Identities200 as ResponseGetIdentityV1Identities200, responses_ResponseGetIdentityV1IdentitiesIdentityPermissionsGit200 as ResponseGetIdentityV1IdentitiesIdentityPermissionsGit200, responses_ResponseGetIdentityV1IdentitiesIdentityPermissionsGitRepo200 as ResponseGetIdentityV1IdentitiesIdentityPermissionsGitRepo200, responses_ResponseGetIdentityV1IdentitiesIdentityPermissionsVm200 as ResponseGetIdentityV1IdentitiesIdentityPermissionsVm200, responses_ResponseGetIdentityV1IdentitiesIdentityPermissionsVmVmId200 as ResponseGetIdentityV1IdentitiesIdentityPermissionsVmVmId200, responses_ResponseGetIdentityV1IdentitiesIdentityTokens200 as ResponseGetIdentityV1IdentitiesIdentityTokens200, responses_ResponseGetObservabilityV1Logs200 as ResponseGetObservabilityV1Logs200, responses_ResponseGetV1CronSchedules200 as ResponseGetV1CronSchedules200, responses_ResponseGetV1CronSchedulesId200 as ResponseGetV1CronSchedulesId200, responses_ResponseGetV1CronSchedulesIdExecutions200 as ResponseGetV1CronSchedulesIdExecutions200, responses_ResponseGetV1CronSchedulesIdMetricsTimeline200 as ResponseGetV1CronSchedulesIdMetricsTimeline200, responses_ResponseGetV1CronSchedulesIdSuccessRate200 as ResponseGetV1CronSchedulesIdSuccessRate200, responses_ResponseGetV1Vms200 as ResponseGetV1Vms200, responses_ResponseGetV1Vms500 as ResponseGetV1Vms500, responses_ResponseGetV1VmsSnapshots200 as ResponseGetV1VmsSnapshots200, responses_ResponseGetV1VmsSnapshots400 as ResponseGetV1VmsSnapshots400, responses_ResponseGetV1VmsSnapshots500 as ResponseGetV1VmsSnapshots500, responses_ResponseGetV1VmsVmId200 as ResponseGetV1VmsVmId200, responses_ResponseGetV1VmsVmId500 as ResponseGetV1VmsVmId500, responses_ResponseGetV1VmsVmIdFilesFilepath200 as ResponseGetV1VmsVmIdFilesFilepath200, responses_ResponseGetV1VmsVmIdFilesFilepath400 as ResponseGetV1VmsVmIdFilesFilepath400, responses_ResponseGetV1VmsVmIdFilesFilepath404 as ResponseGetV1VmsVmIdFilesFilepath404, responses_ResponseGetV1VmsVmIdFilesFilepath500 as ResponseGetV1VmsVmIdFilesFilepath500, responses_ResponseGetV1VmsVmIdSystemdServices200 as ResponseGetV1VmsVmIdSystemdServices200, responses_ResponseGetV1VmsVmIdSystemdServices500 as ResponseGetV1VmsVmIdSystemdServices500, responses_ResponseGetV1VmsVmIdSystemdServicesServiceIdLogs200 as ResponseGetV1VmsVmIdSystemdServicesServiceIdLogs200, responses_ResponseGetV1VmsVmIdSystemdServicesServiceIdLogs404 as ResponseGetV1VmsVmIdSystemdServicesServiceIdLogs404, responses_ResponseGetV1VmsVmIdSystemdServicesServiceIdLogs500 as ResponseGetV1VmsVmIdSystemdServicesServiceIdLogs500, responses_ResponseGetV1VmsVmIdSystemdServicesServiceIdStatus200 as ResponseGetV1VmsVmIdSystemdServicesServiceIdStatus200, responses_ResponseGetV1VmsVmIdSystemdServicesServiceIdStatus404 as ResponseGetV1VmsVmIdSystemdServicesServiceIdStatus404, responses_ResponseGetV1VmsVmIdSystemdServicesServiceIdStatus500 as ResponseGetV1VmsVmIdSystemdServicesServiceIdStatus500, responses_ResponseGetV1VmsVmIdTerminals200 as ResponseGetV1VmsVmIdTerminals200, responses_ResponseGetV1VmsVmIdTerminals500 as ResponseGetV1VmsVmIdTerminals500, responses_ResponseGetV1VmsVmIdTerminalsTerminalIdLogs200 as ResponseGetV1VmsVmIdTerminalsTerminalIdLogs200, responses_ResponseGetV1VmsVmIdTerminalsTerminalIdLogs500 as ResponseGetV1VmsVmIdTerminalsTerminalIdLogs500, responses_ResponseGetV1VmsVmIdTerminalsTerminalIdXterm_256Color200 as ResponseGetV1VmsVmIdTerminalsTerminalIdXterm_256Color200, responses_ResponseGetV1VmsVmIdTerminalsTerminalIdXterm_256Color500 as ResponseGetV1VmsVmIdTerminalsTerminalIdXterm_256Color500, responses_ResponseGetWebV1Deployments200 as ResponseGetWebV1Deployments200, responses_ResponseGetWebV1Deployments500 as ResponseGetWebV1Deployments500, responses_ResponsePatchV1CronSchedulesId200 as ResponsePatchV1CronSchedulesId200, responses_ResponsePatchV1VmsSnapshotsSnapshotId200 as ResponsePatchV1VmsSnapshotsSnapshotId200, responses_ResponsePatchV1VmsSnapshotsSnapshotId404 as ResponsePatchV1VmsSnapshotsSnapshotId404, responses_ResponsePatchV1VmsSnapshotsSnapshotId500 as ResponsePatchV1VmsSnapshotsSnapshotId500, responses_ResponsePostDnsV1Records200 as ResponsePostDnsV1Records200, responses_ResponsePostDnsV1Records403 as ResponsePostDnsV1Records403, responses_ResponsePostDnsV1Records500 as ResponsePostDnsV1Records500, responses_ResponsePostDomainsV1CertsDomainWildcard200 as ResponsePostDomainsV1CertsDomainWildcard200, responses_ResponsePostDomainsV1CertsDomainWildcard400 as ResponsePostDomainsV1CertsDomainWildcard400, responses_ResponsePostDomainsV1MappingsDomain200 as ResponsePostDomainsV1MappingsDomain200, responses_ResponsePostDomainsV1MappingsDomain4XX as ResponsePostDomainsV1MappingsDomain4XX, responses_ResponsePostDomainsV1MappingsDomain5XX as ResponsePostDomainsV1MappingsDomain5XX, responses_ResponsePostDomainsV1Verifications200 as ResponsePostDomainsV1Verifications200, responses_ResponsePostDomainsV1Verifications400 as ResponsePostDomainsV1Verifications400, responses_ResponsePostExecuteV1Script200 as ResponsePostExecuteV1Script200, responses_ResponsePostExecuteV1Script400 as ResponsePostExecuteV1Script400, responses_ResponsePostExecuteV1Script500 as ResponsePostExecuteV1Script500, responses_ResponsePostExecuteV3Script200 as ResponsePostExecuteV3Script200, responses_ResponsePostExecuteV3Script403 as ResponsePostExecuteV3Script403, responses_ResponsePostGitV1Identity200 as ResponsePostGitV1Identity200, responses_ResponsePostGitV1IdentityIdentityPermissionsRepo200 as ResponsePostGitV1IdentityIdentityPermissionsRepo200, responses_ResponsePostGitV1IdentityIdentityPermissionsRepo403 as ResponsePostGitV1IdentityIdentityPermissionsRepo403, responses_ResponsePostGitV1IdentityIdentityPermissionsRepo404 as ResponsePostGitV1IdentityIdentityPermissionsRepo404, responses_ResponsePostGitV1IdentityIdentityPermissionsRepo500 as ResponsePostGitV1IdentityIdentityPermissionsRepo500, responses_ResponsePostGitV1IdentityIdentityTokens200 as ResponsePostGitV1IdentityIdentityTokens200, responses_ResponsePostGitV1IdentityIdentityTokens403 as ResponsePostGitV1IdentityIdentityTokens403, responses_ResponsePostGitV1IdentityIdentityTokens404 as ResponsePostGitV1IdentityIdentityTokens404, responses_ResponsePostGitV1IdentityIdentityTokens500 as ResponsePostGitV1IdentityIdentityTokens500, responses_ResponsePostGitV1Repo200 as ResponsePostGitV1Repo200, responses_ResponsePostGitV1Repo403 as ResponsePostGitV1Repo403, responses_ResponsePostGitV1Repo500 as ResponsePostGitV1Repo500, responses_ResponsePostGitV1RepoRepoCommits200 as ResponsePostGitV1RepoRepoCommits200, responses_ResponsePostGitV1RepoRepoCommits403 as ResponsePostGitV1RepoRepoCommits403, responses_ResponsePostGitV1RepoRepoCommits500 as ResponsePostGitV1RepoRepoCommits500, responses_ResponsePostGitV1RepoRepoGitCommits200 as ResponsePostGitV1RepoRepoGitCommits200, responses_ResponsePostGitV1RepoRepoGitCommits403 as ResponsePostGitV1RepoRepoGitCommits403, responses_ResponsePostGitV1RepoRepoGitCommits500 as ResponsePostGitV1RepoRepoGitCommits500, responses_ResponsePostGitV1RepoRepoGitRefsHeadsBranch200 as ResponsePostGitV1RepoRepoGitRefsHeadsBranch200, responses_ResponsePostGitV1RepoRepoGitRefsHeadsBranch400 as ResponsePostGitV1RepoRepoGitRefsHeadsBranch400, responses_ResponsePostGitV1RepoRepoGitRefsHeadsBranch403 as ResponsePostGitV1RepoRepoGitRefsHeadsBranch403, responses_ResponsePostGitV1RepoRepoGitRefsHeadsBranch500 as ResponsePostGitV1RepoRepoGitRefsHeadsBranch500, responses_ResponsePostGitV1RepoRepoRepair202 as ResponsePostGitV1RepoRepoRepair202, responses_ResponsePostGitV1RepoRepoTrigger200 as ResponsePostGitV1RepoRepoTrigger200, responses_ResponsePostGitV1RepoRepoTrigger400 as ResponsePostGitV1RepoRepoTrigger400, responses_ResponsePostGitV1RepoRepoTrigger403 as ResponsePostGitV1RepoRepoTrigger403, responses_ResponsePostGitV1RepoRepoTrigger404 as ResponsePostGitV1RepoRepoTrigger404, responses_ResponsePostGitV1RepoRepoTrigger500 as ResponsePostGitV1RepoRepoTrigger500, responses_ResponsePostIdentityV1Identities200 as ResponsePostIdentityV1Identities200, responses_ResponsePostIdentityV1IdentitiesIdentityPermissionsGitRepo200 as ResponsePostIdentityV1IdentitiesIdentityPermissionsGitRepo200, responses_ResponsePostIdentityV1IdentitiesIdentityPermissionsVmVmId200 as ResponsePostIdentityV1IdentitiesIdentityPermissionsVmVmId200, responses_ResponsePostIdentityV1IdentitiesIdentityTokens200 as ResponsePostIdentityV1IdentitiesIdentityTokens200, responses_ResponsePostV1CronSchedules200 as ResponsePostV1CronSchedules200, responses_ResponsePostV1Vms200 as ResponsePostV1Vms200, responses_ResponsePostV1VmsIdResize200 as ResponsePostV1VmsIdResize200, responses_ResponsePostV1VmsIdResize400 as ResponsePostV1VmsIdResize400, responses_ResponsePostV1VmsIdResize404 as ResponsePostV1VmsIdResize404, responses_ResponsePostV1VmsIdResize500 as ResponsePostV1VmsIdResize500, responses_ResponsePostV1VmsSnapshots200 as ResponsePostV1VmsSnapshots200, responses_ResponsePostV1VmsVmIdAwait200 as ResponsePostV1VmsVmIdAwait200, responses_ResponsePostV1VmsVmIdAwait500 as ResponsePostV1VmsVmIdAwait500, responses_ResponsePostV1VmsVmIdExecAwait200 as ResponsePostV1VmsVmIdExecAwait200, responses_ResponsePostV1VmsVmIdExecAwait408 as ResponsePostV1VmsVmIdExecAwait408, responses_ResponsePostV1VmsVmIdExecAwait500 as ResponsePostV1VmsVmIdExecAwait500, responses_ResponsePostV1VmsVmIdFork200 as ResponsePostV1VmsVmIdFork200, responses_ResponsePostV1VmsVmIdFork403 as ResponsePostV1VmsVmIdFork403, responses_ResponsePostV1VmsVmIdFork500 as ResponsePostV1VmsVmIdFork500, responses_ResponsePostV1VmsVmIdKill200 as ResponsePostV1VmsVmIdKill200, responses_ResponsePostV1VmsVmIdKill500 as ResponsePostV1VmsVmIdKill500, responses_ResponsePostV1VmsVmIdOptimize200 as ResponsePostV1VmsVmIdOptimize200, responses_ResponsePostV1VmsVmIdOptimize500 as ResponsePostV1VmsVmIdOptimize500, responses_ResponsePostV1VmsVmIdSnapshot200 as ResponsePostV1VmsVmIdSnapshot200, responses_ResponsePostV1VmsVmIdStart200 as ResponsePostV1VmsVmIdStart200, responses_ResponsePostV1VmsVmIdStop200 as ResponsePostV1VmsVmIdStop200, responses_ResponsePostV1VmsVmIdStop400 as ResponsePostV1VmsVmIdStop400, responses_ResponsePostV1VmsVmIdStop500 as ResponsePostV1VmsVmIdStop500, responses_ResponsePostV1VmsVmIdSuspend200 as ResponsePostV1VmsVmIdSuspend200, responses_ResponsePostV1VmsVmIdSuspend500 as ResponsePostV1VmsVmIdSuspend500, responses_ResponsePostV1VmsVmIdSystemdRestart200 as ResponsePostV1VmsVmIdSystemdRestart200, responses_ResponsePostV1VmsVmIdSystemdRestart500 as ResponsePostV1VmsVmIdSystemdRestart500, responses_ResponsePostV1VmsVmIdSystemdServices200 as ResponsePostV1VmsVmIdSystemdServices200, responses_ResponsePostV1VmsVmIdSystemdServices409 as ResponsePostV1VmsVmIdSystemdServices409, responses_ResponsePostV1VmsVmIdSystemdServices500 as ResponsePostV1VmsVmIdSystemdServices500, responses_ResponsePostV1VmsVmIdSystemdStart200 as ResponsePostV1VmsVmIdSystemdStart200, responses_ResponsePostV1VmsVmIdSystemdStart500 as ResponsePostV1VmsVmIdSystemdStart500, responses_ResponsePostV1VmsVmIdSystemdStop200 as ResponsePostV1VmsVmIdSystemdStop200, responses_ResponsePostV1VmsVmIdSystemdStop500 as ResponsePostV1VmsVmIdSystemdStop500, responses_ResponsePostWebV1Deploy200 as ResponsePostWebV1Deploy200, responses_ResponsePostWebV1Deploy400 as ResponsePostWebV1Deploy400, responses_ResponsePostWebV1Deployment200 as ResponsePostWebV1Deployment200, responses_ResponsePostWebV1Deployment400 as ResponsePostWebV1Deployment400, responses_ResponsePostWebV1Deployment403 as ResponsePostWebV1Deployment403, responses_ResponsePostWebV1Deployment404 as ResponsePostWebV1Deployment404, responses_ResponsePostWebV1Deployment500 as ResponsePostWebV1Deployment500, responses_ResponsePostWebV1Deployment502 as ResponsePostWebV1Deployment502, responses_ResponsePutDomainsV1Verifications200 as ResponsePutDomainsV1Verifications200, responses_ResponsePutDomainsV1Verifications400 as ResponsePutDomainsV1Verifications400, responses_ResponsePutDomainsV1Verifications401 as ResponsePutDomainsV1Verifications401, responses_ResponsePutDomainsV1Verifications403 as ResponsePutDomainsV1Verifications403, responses_ResponsePutDomainsV1Verifications404 as ResponsePutDomainsV1Verifications404, responses_ResponsePutDomainsV1Verifications422 as ResponsePutDomainsV1Verifications422, responses_ResponsePutDomainsV1Verifications500 as ResponsePutDomainsV1Verifications500, responses_ResponsePutDomainsV1Verifications502 as ResponsePutDomainsV1Verifications502, responses_ResponsePutGitV1RepoRepoIdDefaultBranch200 as ResponsePutGitV1RepoRepoIdDefaultBranch200, responses_ResponsePutGitV1RepoRepoIdDefaultBranch403 as ResponsePutGitV1RepoRepoIdDefaultBranch403, responses_ResponsePutGitV1RepoRepoIdDefaultBranch500 as ResponsePutGitV1RepoRepoIdDefaultBranch500, responses_ResponsePutGitV1RepoRepoIdVisibility200 as ResponsePutGitV1RepoRepoIdVisibility200, responses_ResponsePutGitV1RepoRepoIdVisibility403 as ResponsePutGitV1RepoRepoIdVisibility403, responses_ResponsePutGitV1RepoRepoIdVisibility500 as ResponsePutGitV1RepoRepoIdVisibility500, responses_ResponsePutIdentityV1IdentitiesIdentityPermissionsGitRepo200 as ResponsePutIdentityV1IdentitiesIdentityPermissionsGitRepo200, responses_ResponsePutIdentityV1IdentitiesIdentityPermissionsVmVmId200 as ResponsePutIdentityV1IdentitiesIdentityPermissionsVmVmId200, responses_ResponsePutV1VmsVmIdFilesFilepath200 as ResponsePutV1VmsVmIdFilesFilepath200, responses_ResponsePutV1VmsVmIdFilesFilepath400 as ResponsePutV1VmsVmIdFilesFilepath400, responses_ResponsePutV1VmsVmIdFilesFilepath404 as ResponsePutV1VmsVmIdFilesFilepath404, responses_ResponsePutV1VmsVmIdFilesFilepath500 as ResponsePutV1VmsVmIdFilesFilepath500 };
}

interface GetAuthV1BackgroundRequestsRequestIdPathParams {
    /**
     * Branded request identifier — `ri-<20 lowercase alphanumeric chars>` for newly
     * minted IDs. The wrapped string is otherwise opaque, so legacy UUID-formatted
     * IDs (from in-flight requests during rollout) round-trip unchanged.
     */
    request_id: string;
}
interface GetDnsV1RecordsQueryParams {
    domain: string;
}
interface PostDnsV1RecordsRequestBody {
    domain: string;
    record: {
        kind: "A" | "AAAA" | "CNAME" | "TXT" | "NS";
        name: string;
        value: string;
        ttl?: string | null;
        priority?: number | null;
    };
}
interface DeleteDnsV1RecordsQueryParams {
    domain: string;
    record: {
        kind: "A" | "AAAA" | "CNAME" | "TXT" | "NS";
        name: string;
        value: string;
        ttl: string;
        priority?: number | null;
        managed: boolean;
    };
}
interface PostDomainsV1CertsDomainWildcardPathParams {
    domain: string;
}
interface GetDomainsV1DomainsQueryParams {
    limit?: number | null;
    offset?: number | null;
    implicitlyOwned?: boolean | null;
}
interface GetDomainsV1MappingsQueryParams {
    offset?: number | null;
    limit?: number | null;
    domainOwnership?: string | null;
    domain?: string | null;
}
interface PostDomainsV1MappingsDomainPathParams {
    domain: string;
}
interface PostDomainsV1MappingsDomainRequestBody {
    deploymentId?: string | null;
    vmId?: null | string;
    vmPort?: number | null;
}
interface DeleteDomainsV1MappingsDomainPathParams {
    domain: string;
}
interface PostDomainsV1VerificationsRequestBody {
    /**
     * The domain to create a verification code for
     */
    domain: string;
}
/**
 * Verify a domain verification request, can either be done for a domain, or for a specific request
 */
type PutDomainsV1VerificationsRequestBody = {
    domain: string;
} | {
    id: string;
};
interface DeleteDomainsV1VerificationsRequestBody {
    /**
     * The domain to create a verification code for
     */
    domain: string;
    /**
     * The verification code
     */
    verificationCode: string;
}
interface GetExecuteV1DeploymentsQueryParams {
    limit?: number | null;
    offset?: number | null;
}
interface GetExecuteV1DeploymentsDeploymentPathParams {
    deployment: string;
}
interface PostExecuteV1ScriptRequestBody {
    /**
     * The JavaScript or TypeScript script to execute
     */
    script: string;
    config?: {
        /**
         * The environment variables to set for the script
         */
        envVars?: {
            [k: string]: string;
        };
        /**
         * The node modules to install for the script
         */
        nodeModules?: {
            [k: string]: string;
        };
        /**
         * If true, Freestyle will best-effort infer npm packages from script imports.
         */
        inferNodeModules?: boolean;
        /**
         * Tags for you to organize your scripts, useful for tracking what you're running
         */
        tags?: string[];
        /**
         * The script timeout
         */
        timeout?: number | null;
        /**
         * If false, we'll not resolve peer dependencies for the packages given, this can speed up execute performance, but will break packages with peers unless the peers are manually specified.
         */
        peerDependencyResolution?: boolean;
        networkPermissions?: (({
            query: string;
            behavior?: "regex" | "exact";
        } & {
            action: "allow";
        }) | ({
            query: string;
            behavior?: "regex" | "exact";
        } & {
            action: "deny";
        }))[] | null;
        /**
         * These headers will be added to every fetch request made through the script
         */
        customHeaders?: {
            [k: string]: string;
        };
        /**
         * Proxy all outgoing requests through this URL
         */
        proxy?: string | null;
        egress?: null | {
            allow?: null | {
                /**
                 * Whitelist of domains. Empty object means no domains allowed.
                 * "*" means allow all domains.
                 * Domain name maps to a list of transformations (currently just headers).
                 */
                domains?: {
                    [k: string]: {
                        /**
                         * Transformations to apply to requests to this domain
                         */
                        transform?: {
                            /**
                             * Headers to set on outgoing requests
                             */
                            headers?: {
                                [k: string]: string;
                            } | null;
                        }[] | null;
                    }[];
                } | null;
                /**
                 * Whitelist of IPs. Empty object means no IPs allowed.
                 * CIDR notation supported (e.g., "173.194.0.0/16").
                 * IPs are allowed on any port/protocol.
                 */
                ips?: {
                    [k: string]: {
                        /**
                         * Transformations to apply to requests to this IP
                         */
                        transform?: {
                            /**
                             * Headers to set on outgoing requests
                             */
                            headers?: {
                                [k: string]: string;
                            } | null;
                        }[] | null;
                    }[];
                } | null;
            };
            deny?: null | {
                /**
                 * Blacklist of IPs. These override allow rules.
                 * CIDR notation supported.
                 */
                ips?: {
                    [k: string]: {
                        /**
                         * Transformations to apply to requests to this IP
                         */
                        transform?: {
                            /**
                             * Headers to set on outgoing requests
                             */
                            headers?: {
                                [k: string]: string;
                            } | null;
                        }[] | null;
                    }[];
                } | null;
            };
        };
        /**
         * If true, Freestyle will not retain the code, any logs, environment variables, or results from this execution.
         */
        zeroRetention?: boolean | null;
    };
}
interface PostExecuteV3ScriptRequestBody {
    /**
     * The JavaScript or TypeScript script to execute
     */
    script: string;
    config?: {
        /**
         * The environment variables to set for the script
         */
        envVars?: {
            [k: string]: string;
        };
        /**
         * The node modules to install for the script
         */
        nodeModules?: {
            [k: string]: string;
        };
        /**
         * If true, Freestyle will best-effort infer npm packages from script imports.
         */
        inferNodeModules?: boolean;
        /**
         * Tags for you to organize your scripts, useful for tracking what you're running
         */
        tags?: string[];
        /**
         * The script timeout
         */
        timeout?: number | null;
        /**
         * If false, we'll not resolve peer dependencies for the packages given, this can speed up execute performance, but will break packages with peers unless the peers are manually specified.
         */
        peerDependencyResolution?: boolean;
        networkPermissions?: (({
            query: string;
            behavior?: "regex" | "exact";
        } & {
            action: "allow";
        }) | ({
            query: string;
            behavior?: "regex" | "exact";
        } & {
            action: "deny";
        }))[] | null;
        /**
         * These headers will be added to every fetch request made through the script
         */
        customHeaders?: {
            [k: string]: string;
        };
        /**
         * Proxy all outgoing requests through this URL
         */
        proxy?: string | null;
        egress?: null | {
            allow?: null | {
                /**
                 * Whitelist of domains. Empty object means no domains allowed.
                 * "*" means allow all domains.
                 * Domain name maps to a list of transformations (currently just headers).
                 */
                domains?: {
                    [k: string]: {
                        /**
                         * Transformations to apply to requests to this domain
                         */
                        transform?: {
                            /**
                             * Headers to set on outgoing requests
                             */
                            headers?: {
                                [k: string]: string;
                            } | null;
                        }[] | null;
                    }[];
                } | null;
                /**
                 * Whitelist of IPs. Empty object means no IPs allowed.
                 * CIDR notation supported (e.g., "173.194.0.0/16").
                 * IPs are allowed on any port/protocol.
                 */
                ips?: {
                    [k: string]: {
                        /**
                         * Transformations to apply to requests to this IP
                         */
                        transform?: {
                            /**
                             * Headers to set on outgoing requests
                             */
                            headers?: {
                                [k: string]: string;
                            } | null;
                        }[] | null;
                    }[];
                } | null;
            };
            deny?: null | {
                /**
                 * Blacklist of IPs. These override allow rules.
                 * CIDR notation supported.
                 */
                ips?: {
                    [k: string]: {
                        /**
                         * Transformations to apply to requests to this IP
                         */
                        transform?: {
                            /**
                             * Headers to set on outgoing requests
                             */
                            headers?: {
                                [k: string]: string;
                            } | null;
                        }[] | null;
                    }[];
                } | null;
            };
        };
        /**
         * If true, Freestyle will not retain the code, any logs, environment variables, or results from this execution.
         */
        zeroRetention?: boolean | null;
    };
}
interface GetGitV1IdentityQueryParams {
    limit?: number | null;
    offset?: number | null;
    includeManaged?: boolean | null;
}
interface DeleteGitV1IdentityIdentityPathParams {
    identity: string;
}
interface GetGitV1IdentityIdentityPermissionsPathParams {
    identity: string;
}
interface GetGitV1IdentityIdentityPermissionsQueryParams {
    /**
     * Maximum number of repositories to return
     */
    limit?: number;
    /**
     * Offset for the list of repositories
     */
    offset?: number;
}
interface GetGitV1IdentityIdentityPermissionsRepoPathParams {
    /**
     * The git identity ID
     */
    identity: string;
    /**
     * The git repository ID
     */
    repo: string;
}
interface PostGitV1IdentityIdentityPermissionsRepoPathParams {
    /**
     * The git identity ID
     */
    identity: string;
    /**
     * The git repository ID
     */
    repo: string;
}
interface PostGitV1IdentityIdentityPermissionsRepoRequestBody {
    permission: "read" | "write";
}
interface DeleteGitV1IdentityIdentityPermissionsRepoPathParams {
    /**
     * The git identity ID
     */
    identity: string;
    /**
     * The git repository ID
     */
    repo: string;
}
interface PatchGitV1IdentityIdentityPermissionsRepoPathParams {
    /**
     * The git identity ID
     */
    identity: string;
    /**
     * The git repository ID
     */
    repo: string;
}
interface PatchGitV1IdentityIdentityPermissionsRepoRequestBody {
    permission: "read" | "write";
}
interface GetGitV1IdentityIdentityTokensPathParams {
    identity: string;
}
interface PostGitV1IdentityIdentityTokensPathParams {
    identity: string;
}
interface DeleteGitV1IdentityIdentityTokensPathParams {
    identity: string;
}
interface DeleteGitV1IdentityIdentityTokensRequestBody {
    tokenId: string;
}
interface GetGitV1RepoQueryParams {
    /**
     * Maximum number of repositories to return
     */
    limit?: number;
    /**
     * Offset for the list of repositories
     */
    offset?: number;
    /**
     * Search filter by repository name or ID
     */
    search?: string;
}
interface PostGitV1RepoRequestBody {
    /**
     * This name is not visible to users, and is only accessible to you via API and in the
     * dashboard. Mostly useful for observability.
     */
    name?: string | null;
    public?: boolean;
    /**
     * The default branch name for the repository. Defaults to "main" if not specified.
     */
    defaultBranch?: string | null;
    /**
     * Fork from another Git repository. Cannot be used with `import`.
     */
    source?: {
        url: string;
        /**
         * @deprecated
         */
        branch?: string | null;
        /**
         * The revision (branch, tag, or commit hash) to checkout from the source repo.
         * The given revision will be used as the new repository's default branch.
         *
         * This field supersedes 'branch'.
         */
        rev?: string | null;
        depth?: number | null;
        /**
         * If true, all branches and tags will be fetched from the source repository.
         * Defaults to false, which only fetches the default branch (unless `rev` is set).
         */
        allBranches?: boolean | null;
    };
    /**
     * Import static content with an initial commit. Cannot be used with `source`.
     */
    import?: PostGitV1RepoFiles | PostGitV1RepoTar | PostGitV1RepoZip | PostGitV1RepoGit;
}
interface PostGitV1RepoFiles {
    files: PostGitV1RepoFiles1;
    commitMessage: string;
    authorName?: string | null;
    authorEmail?: string | null;
    type: "files";
}
/**
 * A map of file names to their contents.
 */
interface PostGitV1RepoFiles1 {
    [k: string]: string;
}
interface PostGitV1RepoTar {
    url: string;
    dir?: string | null;
    commitMessage: string;
    authorName?: string | null;
    authorEmail?: string | null;
    type: "tar";
}
interface PostGitV1RepoZip {
    url: string;
    dir?: string | null;
    commitMessage: string;
    authorName?: string | null;
    authorEmail?: string | null;
    type: "zip";
}
interface PostGitV1RepoGit {
    url: string;
    /**
     * @deprecated
     */
    branch?: string | null;
    /**
     * The revision (branch, tag, or commit hash) to checkout from the source repo.
     *
     * This field supersedes 'branch'.
     */
    rev?: string | null;
    dir?: string | null;
    commitMessage: string;
    authorName?: string | null;
    authorEmail?: string | null;
    type: "git";
}
interface GetGitV1RepoRepoIdDefaultBranchPathParams {
    /**
     * The repository ID
     */
    repo_id: string;
}
interface PutGitV1RepoRepoIdDefaultBranchPathParams {
    /**
     * The repository ID
     */
    repo_id: string;
}
interface PutGitV1RepoRepoIdDefaultBranchRequestBody {
    defaultBranch: string;
}
interface GetGitV1RepoRepoIdGithubSyncPathParams {
    /**
     * Repository ID
     */
    repo_id: string;
}
interface PostGitV1RepoRepoIdGithubSyncPathParams {
    /**
     * Repository ID
     */
    repo_id: string;
}
interface PostGitV1RepoRepoIdGithubSyncRequestBody {
    /**
     * The GitHub repository name in "owner/repo" format
     */
    githubRepoName: string;
}
interface DeleteGitV1RepoRepoIdGithubSyncPathParams {
    /**
     * Repository ID
     */
    repo_id: string;
}
interface GetGitV1RepoRepoIdVisibilityPathParams {
    /**
     * The repository ID
     */
    repo_id: string;
}
interface PutGitV1RepoRepoIdVisibilityPathParams {
    /**
     * The repository ID
     */
    repo_id: string;
}
interface PutGitV1RepoRepoIdVisibilityRequestBody {
    visibility: "public" | "private";
}
interface GetGitV1RepoRepoPathParams {
    /**
     * The repository id
     */
    repo: string;
}
interface DeleteGitV1RepoRepoPathParams {
    /**
     * The repository id
     */
    repo: string;
}
interface PostGitV1RepoRepoCommitsPathParams {
    /**
     * The repository id
     */
    repo: string;
}
interface PostGitV1RepoRepoCommitsRequestBody {
    /**
     * The commit message
     */
    message: string;
    /**
     * Files to add, modify, or delete in this commit
     */
    files: {
        /**
         * The path of the file in the repository (e.g., "src/main.rs")
         */
        path: string;
        /**
         * The content of the file. Mutually exclusive with `deleted`.
         * If encoding is base64, this should be a base64-encoded string.
         */
        content?: string | null;
        encoding?: null | ("utf8" | "base64");
        /**
         * Whether to delete this file. Mutually exclusive with `content`.
         */
        deleted?: boolean | null;
    }[];
    /**
     * The branch to commit to (e.g., "main"). If not provided, commits to the default branch.
     * If the branch does not exist, it is created as an orphan branch with this commit as its root.
     */
    branch?: string | null;
    author?: null | {
        /**
         * The name of the author/committer
         */
        name: string;
        /**
         * The email of the author/committer
         */
        email: string;
    };
    /**
     * Optional expected parent SHA for optimistic concurrency control.
     * If provided, the commit will only be created if the current branch tip (or parent) matches this SHA.
     * This prevents race conditions when multiple commits are being created concurrently.
     * Returns a conflict error if the check fails.
     */
    expectedSha?: string | null;
}
interface GetGitV1RepoRepoComparePathParams {
    /**
     * The repository id
     */
    repo: string;
}
interface GetGitV1RepoRepoCompareQueryParams {
    /**
     * Base revision (commit SHA, branch name, tag, or any valid Git revision)
     */
    base: string;
    /**
     * Head revision (commit SHA, branch name, tag, or any valid Git revision)
     */
    head: string;
}
interface GetGitV1RepoRepoContentsPathPathParams {
    /**
     * The repository ID.
     */
    repo: string;
    /**
     * The path to the file or directory. Empty for root.
     */
    path: string | null;
}
interface GetGitV1RepoRepoContentsPathQueryParams {
    /**
     * The git revision (branch name, commit SHA, etc.). Defaults to HEAD.
     */
    rev?: string;
    /**
     * If true, directory entries include their descendants recursively.
     * Defaults to false (immediate children only).
     */
    recursive?: boolean;
}
interface GetGitV1RepoRepoGitBlobsHashPathParams {
    /**
     * The repository id
     */
    repo: string;
    /**
     * The object's hash
     */
    hash: string;
}
interface GetGitV1RepoRepoGitCommitsPathParams {
    /**
     * The repository id
     */
    repo: string;
}
interface GetGitV1RepoRepoGitCommitsQueryParams {
    /**
     * Branch name (defaults to HEAD)
     */
    branch?: string | null;
    /**
     * Maximum number of commits to return (default: 50, max: 500)
     */
    limit?: number | null;
    /**
     * Number of commits to skip (default: 0)
     */
    offset?: number | null;
    /**
     * Sort order: "desc" (newest first, default) or "asc" (oldest first)
     */
    order?: null | ("desc" | "asc");
    /**
     * Start point (older commit) for filtering/pagination (commit SHA)
     * - When used alone with order=desc: Returns commits newer than this (exclusive). Use for "what's new since X?"
     * - When used alone with order=asc: Starts from this commit (inclusive). Use with next_commit for pagination.
     * - When used with `until`: Defines the base of a range (like git's A..B where this is A)
     */
    since?: string | null;
    /**
     * End point (newer commit) for filtering/pagination (commit SHA)
     * - When used alone with order=desc: Starts from this commit (inclusive). Use with next_commit for pagination.
     * - When used alone with order=asc: Returns commits up to and including this commit.
     * - When used with `since`: Defines the head of a range (like git's A..B where this is B)
     *
     * When both `since` and `until` are provided, `until` must be a descendant of `since`.
     */
    until?: string | null;
    /**
     * If true, skip the exhaustive history walk used to compute `total`.
     * Defaults to false. When true, the `total` field is omitted from the
     * response. Use this for cursor-based pagination where `total` is unused.
     */
    disableTotalCount?: boolean | null;
}
interface PostGitV1RepoRepoGitCommitsPathParams {
    /**
     * The repository id
     */
    repo: string;
}
interface PostGitV1RepoRepoGitCommitsRequestBody {
    /**
     * The commit message
     */
    message: string;
    /**
     * The SHA of the tree for this commit
     */
    tree: string;
    /**
     * The SHAs of the parent commits (empty array for initial commit)
     */
    parents: string[];
    author?: null | {
        /**
         * The name of the author/committer
         */
        name: string;
        /**
         * The email of the author/committer
         */
        email: string;
        /**
         * Optional date (if not provided, uses current time)
         */
        date?: string | null;
    };
    committer?: null | {
        /**
         * The name of the author/committer
         */
        name: string;
        /**
         * The email of the author/committer
         */
        email: string;
        /**
         * Optional date (if not provided, uses current time)
         */
        date?: string | null;
    };
}
interface GetGitV1RepoRepoGitCommitsHashPathParams {
    /**
     * The repository id
     */
    repo: string;
    /**
     * The object's hash
     */
    hash: string;
}
interface GetGitV1RepoRepoGitRefsHeadsPathParams {
    /**
     * The repository id
     */
    repo: string;
}
interface PostGitV1RepoRepoGitRefsHeadsBranchPathParams {
    /**
     * The repository id
     */
    repo: string;
    /**
     * The branch's name
     */
    branch: string;
}
interface PostGitV1RepoRepoGitRefsHeadsBranchRequestBody {
    /**
     * The SHA of the commit this branch should point to.
     * If not provided, the branch will be created from the default branch.
     */
    sha?: string | null;
}
interface GetGitV1RepoRepoGitRefsHeadsBranchPathParams {
    /**
     * The repository id
     */
    repo: string;
    /**
     * The branch's name
     */
    branch: string;
}
interface GetGitV1RepoRepoGitRefsTagsPathParams {
    /**
     * The repository id
     */
    repo: string;
}
interface GetGitV1RepoRepoGitRefsTagsTagPathParams {
    /**
     * The repository id
     */
    repo: string;
    /**
     * The tag's name
     */
    tag: string;
}
interface GetGitV1RepoRepoGitTagsHashPathParams {
    /**
     * The repository id
     */
    repo: string;
    /**
     * The object's hash
     */
    hash: string;
}
interface GetGitV1RepoRepoGitTreesHashPathParams {
    /**
     * The repository id
     */
    repo: string;
    /**
     * The object's hash
     */
    hash: string;
}
interface GetGitV1RepoRepoRepairPathParams {
    repo: string;
}
interface PostGitV1RepoRepoRepairPathParams {
    repo: string;
}
interface PostGitV1RepoRepoRepairQueryParams {
    /**
     * How far back from each ref tip to walk. Tip is depth=1.
     * Omit to walk the entire history (slow on huge repos).
     */
    depth?: number | null;
}
interface GetGitV1RepoRepoRepairJobIdPathParams {
    /**
     * Repository ID
     */
    repo: string;
    /**
     * Repair job ID returned by POST
     */
    job_id: string;
}
interface DeleteGitV1RepoRepoRepairJobIdPathParams {
    /**
     * Repository ID
     */
    repo: string;
    /**
     * Repair job ID returned by POST
     */
    job_id: string;
}
interface GetGitV1RepoRepoSearchPathParams {
    /**
     * The repository id
     */
    repo: string;
}
interface GetGitV1RepoRepoSearchQueryParams {
    /**
     * The text (or regex pattern) to search for in file contents.
     */
    query: string;
    /**
     * The git revision (branch name, commit SHA, etc.). Defaults to HEAD.
     */
    rev?: string;
    /**
     * Optional glob pattern to filter included file paths (e.g. "*.rs", "src/** /*.ts").
     */
    pathPattern?: string;
    /**
     * Optional glob pattern to exclude file paths (e.g. "node_modules/**", "*.min.js").
     */
    excludePattern?: string;
    /**
     * Maximum number of matching files to return. Defaults to 100, max 1000.
     */
    maxResults?: number;
    /**
     * Whether the query is a case-sensitive search. Defaults to false.
     */
    caseSensitive?: boolean;
    /**
     * Whether the query is a regex pattern. Defaults to false.
     */
    isRegex?: boolean;
    /**
     * Whether to match whole words only. Defaults to false.
     */
    wholeWord?: boolean;
    /**
     * Number of results to skip for pagination. Defaults to 0.
     */
    offset?: number;
}
interface GetGitV1RepoRepoSearchCommitsPathParams {
    /**
     * The repository id
     */
    repo: string;
}
interface GetGitV1RepoRepoSearchCommitsQueryParams {
    /**
     * The text (or regex pattern) to search for in commit messages.
     */
    query: string;
    /**
     * The git revision to start walking from. Defaults to HEAD.
     */
    rev?: string;
    /**
     * Maximum number of matching commits to return. Defaults to 100, max 1000.
     */
    maxResults?: number;
    /**
     * Whether the query is a regex. Defaults to false.
     */
    isRegex?: boolean;
    /**
     * Whether the query is case-sensitive. Defaults to false.
     */
    caseSensitive?: boolean;
}
interface GetGitV1RepoRepoSearchDiffsPathParams {
    /**
     * The repository id
     */
    repo: string;
}
interface GetGitV1RepoRepoSearchDiffsQueryParams {
    /**
     * The text (or regex pattern) to search for in changed file content.
     */
    query: string;
    /**
     * The git revision to start walking from. Defaults to HEAD.
     */
    rev?: string;
    /**
     * Optional glob pattern to filter included file paths.
     */
    pathPattern?: string;
    /**
     * Optional glob pattern to exclude file paths.
     */
    excludePattern?: string;
    /**
     * Maximum number of matching commits to return. Defaults to 100, max 1000.
     */
    maxResults?: number;
    /**
     * Whether the query is case-sensitive. Defaults to false.
     */
    caseSensitive?: boolean;
    /**
     * Whether the query is a regex pattern. Defaults to false.
     */
    isRegex?: boolean;
    /**
     * Whether to match whole words only. Defaults to false.
     */
    wholeWord?: boolean;
    /**
     * Number of results to skip for pagination. Defaults to 0.
     */
    offset?: number;
}
interface GetGitV1RepoRepoSearchFilesPathParams {
    /**
     * The repository id
     */
    repo: string;
}
interface GetGitV1RepoRepoSearchFilesQueryParams {
    /**
     * The filename pattern to search for (matched against full paths).
     */
    query: string;
    /**
     * The git revision (branch name, commit SHA, etc.). Defaults to HEAD.
     */
    rev?: string;
    /**
     * Maximum number of results. Defaults to 100, max 1000.
     */
    maxResults?: number;
    /**
     * Whether the query is a regex. Defaults to false (glob-style matching).
     */
    isRegex?: boolean;
    /**
     * Whether the query is case-sensitive. Defaults to false.
     */
    caseSensitive?: boolean;
}
interface GetGitV1RepoRepoTarballPathParams {
    /**
     * The repository id
     */
    repo: string;
}
interface GetGitV1RepoRepoTarballQueryParams {
    /**
     * The git revision (branch name, commit SHA, etc.). Defaults to HEAD.
     */
    rev?: string;
}
interface GetGitV1RepoRepoTriggerPathParams {
    /**
     * The repository id
     */
    repo: string;
}
interface PostGitV1RepoRepoTriggerPathParams {
    /**
     * The repository id
     */
    repo: string;
}
interface PostGitV1RepoRepoTriggerRequestBody {
    trigger: {
        branches?: string[] | null;
        globs?: string[] | null;
        event: "push";
    };
    action: {
        endpoint: string;
        action: "webhook";
    };
}
interface DeleteGitV1RepoRepoTriggerTriggerPathParams {
    /**
     * The repository id
     */
    repo: string;
    /**
     * The trigger id
     */
    trigger: string;
}
interface GetGitV1RepoRepoZipPathParams {
    /**
     * The repository id
     */
    repo: string;
}
interface GetGitV1RepoRepoZipQueryParams {
    /**
     * The git revision (branch name, commit SHA, etc.). Defaults to HEAD.
     */
    rev?: string;
}
interface GetIdentityV1IdentitiesQueryParams {
    limit?: number | null;
    offset?: number | null;
    includeManaged?: boolean | null;
}
interface DeleteIdentityV1IdentitiesIdentityPathParams {
    identity: string;
}
interface GetIdentityV1IdentitiesIdentityPermissionsGitPathParams {
    identity: string;
}
interface GetIdentityV1IdentitiesIdentityPermissionsGitQueryParams {
    /**
     * Maximum number of repositories to return
     */
    limit?: number;
    /**
     * Offset for the list of repositories
     */
    offset?: number;
}
interface GetIdentityV1IdentitiesIdentityPermissionsGitRepoPathParams {
    /**
     * The git identity ID
     */
    identity: string;
    /**
     * The git repository ID
     */
    repo: string;
}
interface PostIdentityV1IdentitiesIdentityPermissionsGitRepoPathParams {
    /**
     * The git identity ID
     */
    identity: string;
    /**
     * The git repository ID
     */
    repo: string;
}
interface PostIdentityV1IdentitiesIdentityPermissionsGitRepoRequestBody {
    permission: "read" | "write";
}
interface PutIdentityV1IdentitiesIdentityPermissionsGitRepoPathParams {
    /**
     * The git identity ID
     */
    identity: string;
    /**
     * The git repository ID
     */
    repo: string;
}
interface PutIdentityV1IdentitiesIdentityPermissionsGitRepoRequestBody {
    permission: "read" | "write";
}
interface DeleteIdentityV1IdentitiesIdentityPermissionsGitRepoPathParams {
    /**
     * The git identity ID
     */
    identity: string;
    /**
     * The git repository ID
     */
    repo: string;
}
interface GetIdentityV1IdentitiesIdentityPermissionsVmPathParams {
    identity: string;
}
interface GetIdentityV1IdentitiesIdentityPermissionsVmQueryParams {
    limit?: number | null;
    offset?: number | null;
}
interface GetIdentityV1IdentitiesIdentityPermissionsVmVmIdPathParams {
    /**
     * The git identity ID
     */
    identity: string;
    /**
     * The VM ID
     */
    vm_id: string;
}
interface PostIdentityV1IdentitiesIdentityPermissionsVmVmIdPathParams {
    /**
     * The git identity ID
     */
    identity: string;
    /**
     * The VM ID
     */
    vm_id: string;
}
interface PostIdentityV1IdentitiesIdentityPermissionsVmVmIdRequestBody {
    /**
     * List of allowed Linux users. If null, identity can SSH as any user.
     * If specified, identity can only SSH as users in this list.
     */
    allowedUsers?: string[] | null;
}
interface PutIdentityV1IdentitiesIdentityPermissionsVmVmIdPathParams {
    /**
     * The git identity ID
     */
    identity: string;
    /**
     * The VM ID
     */
    vm_id: string;
}
interface PutIdentityV1IdentitiesIdentityPermissionsVmVmIdRequestBody {
    /**
     * List of allowed Linux users. If null, identity can SSH as any user.
     * If specified, identity can only SSH as users in this list.
     */
    allowedUsers?: string[] | null;
}
interface DeleteIdentityV1IdentitiesIdentityPermissionsVmVmIdPathParams {
    /**
     * The git identity ID
     */
    identity: string;
    /**
     * The VM ID
     */
    vm_id: string;
}
interface GetIdentityV1IdentitiesIdentityTokensPathParams {
    identity: string;
}
interface PostIdentityV1IdentitiesIdentityTokensPathParams {
    identity: string;
}
interface DeleteIdentityV1IdentitiesIdentityTokensTokenPathParams {
    identity: string;
    token: string;
}
interface GetObservabilityV1LogsQueryParams {
    deploymentId?: string | null;
    requestId?: null | string;
    buildId?: string | null;
    instanceId?: string | null;
    domain?: string | null;
    vmId?: string | null;
    runId?: string | null;
    vmService?: string | null;
    pageToken?: string | null;
    pageSize?: number | null;
    /**
     * Start time in RFC3339 format (e.g., "2024-01-01T00:00:00Z"). Defaults to 24 hours ago if not specified.
     */
    startTime?: string | null;
    /**
     * End time in RFC3339 format (e.g., "2024-01-02T00:00:00Z"). Defaults to now if not specified.
     */
    endTime?: string | null;
    /**
     * Full-text search filter — case-insensitive substring match on log message body.
     */
    search?: string | null;
    /**
     * Filter logs by resource type: "deployment" or "vm". Only applies to account-wide queries.
     */
    resourceType?: string | null;
}
interface GetV1CronSchedulesQueryParams {
    deploymentId?: string | null;
    metricsStart?: string | null;
    metricsEnd?: string | null;
}
interface PostV1CronSchedulesRequestBody {
    deploymentId: string;
    name?: string | null;
    path?: string | null;
    cron: string;
    timezone?: string;
    retries?: number;
    payload?: unknown;
}
interface GetV1CronSchedulesIdPathParams {
    /**
     * Schedule ID
     */
    id: string;
}
interface DeleteV1CronSchedulesIdPathParams {
    /**
     * Schedule ID
     */
    id: string;
}
interface PatchV1CronSchedulesIdPathParams {
    /**
     * Schedule ID
     */
    id: string;
}
interface PatchV1CronSchedulesIdRequestBody {
    deploymentId?: string | null;
    active?: boolean | null;
    path?: string | null;
    cron?: string | null;
    timezone?: string | null;
    retries?: number | null;
    payload?: unknown;
}
interface GetV1CronSchedulesIdExecutionsPathParams {
    /**
     * Schedule ID
     */
    id: string;
}
interface GetV1CronSchedulesIdExecutionsQueryParams {
    limit?: number | null;
    offset?: number | null;
}
interface GetV1CronSchedulesIdMetricsTimelinePathParams {
    /**
     * Schedule ID
     */
    id: string;
}
interface GetV1CronSchedulesIdMetricsTimelineQueryParams {
    start: string;
    end: string;
    bucketMinutes?: number | null;
}
interface GetV1CronSchedulesIdSuccessRatePathParams {
    /**
     * Schedule ID
     */
    id: string;
}
interface GetV1CronSchedulesIdSuccessRateQueryParams {
    start: string;
    end: string;
}
interface GetV1VmsQueryParams {
    limit?: number | null;
    offset?: number | null;
    vmState?: null | ("starting" | "running" | "suspending" | "suspended" | "stopped" | "lost");
    includeDeleted?: boolean | null;
    search?: string | null;
}
interface PostV1VmsRequestBody {
    spec?: null | {
        snapshot?: null | {
            snapshot?: null | {};
            snapshotId?: null | string;
            baseImage?: null | {
                /**
                 * The text content of a Dockerfile (e.g., `"FROM debian:trixie-slim"`).
                 */
                dockerfileContent: string;
            };
            rootfsSizeGb?: number | null;
            memSizeGb?: number | null;
            vcpuCount?: number | null;
            /**
             * Optional working directory for the VM. Defaults to '/'.
             */
            workdir?: string | null;
            /**
             * Idle timeout in seconds. If set, the VM will be automatically
             * suspended after this many seconds of no network activity.
             */
            idleTimeoutSeconds?: number | null;
            waitForReadySignal?: boolean | null;
            readySignalTimeoutSeconds?: number | null;
            /**
             * Optional list of ports to expose externally.
             */
            ports?: {
                port: number;
                targetPort: number;
            }[] | null;
            systemd?: null | {
                services?: {
                    /**
                     * Unique slug; becomes unit name "<name>.service".
                     */
                    name: string;
                    /**
                     * "oneshot" (run and exit) or "service" (long-running/healing).
                     */
                    mode: "oneshot" | "service";
                    /**
                     * Executable to run (can specify multiple commands that run sequentially).
                     */
                    exec: string[];
                    /**
                     * Environment variables.
                     */
                    env?: {
                        [k: string]: string;
                    } | null;
                    /**
                     * Linux user to run the service as.
                     */
                    user?: string | null;
                    /**
                     * Linux group to run the service in.
                     */
                    group?: string | null;
                    /**
                     * Working directory.
                     */
                    workdir?: string | null;
                    /**
                     * Establishes an ordering dependency. The current unit will start only
                     * after the units listed in After= have started. This is useful for
                     * ensuring that certain services are up and running before the current
                     * service begins its operation.
                     */
                    after?: string[] | null;
                    /**
                     * Establishes a strong dependency. If the required unit fails to
                     * start or stops unexpectedly, the current unit will also be stopped. This
                     * ensures that a service critical to the functioning of the current unit
                     * is running and stable. Units listed in Requires= are activated along
                     * with the current unit. If the required unit is not active, systemd will
                     * attempt to start it. This directive signifies a tight coupling between
                     * services, where the current service cannot function without the required
                     * service.
                     */
                    requires?: string[] | null;
                    /**
                     * Units to activate when this unit enters a failed state. This is useful
                     * for triggering recovery actions, notifications, or cleanup services when
                     * the current service fails.
                     */
                    onFailure?: string[] | null;
                    /**
                     * Target used when enabling (default: multi-user.target).
                     */
                    wantedBy?: string[] | null;
                    /**
                     * Whether to enable this service (calls `systemctl enable <service>`).
                     * When enabled, the service will start automatically at boot.
                     */
                    enable?: boolean | null;
                    /**
                     * Overall start/stop timeout.
                     */
                    timeoutSec?: number | null;
                    /**
                     * For oneshot: remove unit on success.
                     */
                    deleteAfterSuccess?: boolean | null;
                    /**
                     * For oneshot: remain active after exit (default: true).
                     * When false, the service can be started again even if it already ran.
                     */
                    remainAfterExit?: boolean | null;
                    /**
                     * Use sd_notify; maps to Type=notify.
                     */
                    readySignal?: boolean | null;
                    /**
                     * Enable systemd watchdog (seconds).
                     */
                    watchdogSec?: number | null;
                    restartPolicy?: null | {
                        /**
                         * "no" | "on-failure" | "always" | "on-abnormal"
                         */
                        policy: "no" | "on-failure" | "always" | "on-abnormal";
                        restartSec?: number | null;
                        startLimitBurst?: number | null;
                        startLimitIntervalSec?: number | null;
                    };
                }[] | null;
                patchedServices?: {
                    /**
                     * Unique slug; becomes unit name "<name>.service".
                     */
                    name: string;
                    mode?: null | ("oneshot" | "service");
                    /**
                     * Executable to run (can specify multiple commands that run sequentially).
                     */
                    exec?: string[] | null;
                    /**
                     * Environment variables.
                     */
                    env?: {
                        [k: string]: string;
                    } | null;
                    /**
                     * Linux user to run the service as.
                     */
                    user?: string | null;
                    /**
                     * Linux group to run the service in.
                     */
                    group?: string | null;
                    /**
                     * Working directory.
                     */
                    workdir?: string | null;
                    /**
                     * Establishes an ordering dependency. The current unit will start only
                     * after the units listed in After= have started. This is useful for
                     * ensuring that certain services are up and running before the current
                     * service begins its operation.
                     */
                    after?: string[] | null;
                    /**
                     * Establishes a strong dependency. If the required unit fails to
                     * start or stops unexpectedly, the current unit will also be stopped. This
                     * ensures that a service critical to the functioning of the current unit
                     * is running and stable. Units listed in Requires= are activated along
                     * with the current unit. If the required unit is not active, systemd will
                     * attempt to start it. This directive signifies a tight coupling between
                     * services, where the current service cannot function without the required
                     * service.
                     */
                    requires?: string[] | null;
                    /**
                     * Units to activate when this unit enters a failed state. This is useful
                     * for triggering recovery actions, notifications, or cleanup services when
                     * the current service fails.
                     */
                    onFailure?: string[] | null;
                    /**
                     * Target used when enabling (default: multi-user.target).
                     */
                    wantedBy?: string[] | null;
                    /**
                     * Whether to enable this service (calls `systemctl enable <service>`).
                     * When enabled, the service will start automatically at boot.
                     */
                    enable?: boolean | null;
                    /**
                     * Overall start/stop timeout.
                     */
                    timeoutSec?: number | null;
                    /**
                     * For oneshot: remove unit on success.
                     */
                    deleteAfterSuccess?: boolean | null;
                    /**
                     * Use sd_notify; maps to Type=notify.
                     */
                    readySignal?: boolean | null;
                    /**
                     * Enable systemd watchdog (seconds).
                     */
                    watchdogSec?: number | null;
                    restartPolicy?: null | {
                        /**
                         * "no" | "on-failure" | "always" | "on-abnormal"
                         */
                        policy: "no" | "on-failure" | "always" | "on-abnormal";
                        restartSec?: number | null;
                        startLimitBurst?: number | null;
                        startLimitIntervalSec?: number | null;
                    };
                }[] | null;
            };
            /**
             * Linux users to create on VM startup.
             */
            users?: {
                /**
                 * Unique username
                 */
                name: string;
                /**
                 * Optional fixed UID; if None, allocate
                 */
                uid?: number | null;
                /**
                 * GECOS field (descriptive string, e.g., full name)
                 */
                gecos?: string | null;
                /**
                 * Groups to add user to (all groups use 'm' membership lines)
                 */
                groups?: string[];
                /**
                 * Home directory path (optional, defaults to /home/{username} for regular users, / for system users)
                 */
                home?: string | null;
                /**
                 * Login shell (optional, defaults to /bin/bash for regular users, /usr/sbin/nologin for system users)
                 */
                shell?: string | null;
                /**
                 * System user (allocator uses system range)
                 */
                system?: boolean | null;
            }[] | null;
            /**
             * Linux groups to create on VM startup.
             */
            groups?: {
                /**
                 * Unique group name
                 */
                name: string;
                /**
                 * Optional fixed GID; if None, allocate
                 */
                gid?: number | null;
                /**
                 * System group (allocator uses system range)
                 */
                system?: boolean | null;
            }[] | null;
            additionalFiles?: {
                [k: string]: {
                    /**
                     * The content of the file
                     */
                    content: string;
                    /**
                     * The encoding of the file. Either **utf-8** or **base64**
                     */
                    encoding?: string;
                    /**
                     * Whether the file should be marked executable after being written
                     */
                    executable?: boolean;
                };
            } | null;
            git?: null | {
                config: {
                    user?: null | {
                        name?: string | null;
                        email?: string | null;
                        signingkey?: string | null;
                    };
                };
                repos?: {
                    /**
                     * url or id of the git repository
                     */
                    repo: string;
                    /**
                     * path to place the repo on
                     */
                    path: string;
                    /**
                     * optional rev (branch, tag, commit)
                     */
                    rev?: string | null;
                }[] | null;
            };
            /**
             * apt packages to install on VM startup.
             */
            aptDeps?: string[] | null;
            /**
             * Optional discriminator to differentiate snapshots with otherwise
             * identical configurations.
             */
            discriminator?: string | null;
            /**
             * When true, bypasses the snapshot cache and always creates a new
             * snapshot. The new snapshot still stores the template hash, so it
             * becomes the updated cache entry for future requests that do not set
             * skip_cache.
             */
            skipCache?: boolean | null;
        };
        /**
         * Name of the spec itself — identifies this spec as a reusable unit,
         * independent of any VM instance created from it. Distinct from the
         * top-level VM `name` in `CreateVmRequest`, which names a VM instance.
         */
        name?: string | null;
    };
    /**
     * Optional name/label for the VM. VM-instance metadata — not part of the
     * cacheable spec, so it lives at the top level alongside `spec`.
     */
    name?: string | null;
    /**
     * Idle timeout in seconds. If set, the VM will be automatically suspended
     * after this many seconds of no network activity.
     */
    idleTimeoutSeconds?: number | null;
    /**
     * Optional list of ports to expose externally. If not provided, port 3000
     * will be exposed on port 443 by default. Pass an empty array to disable
     * external ports. Only ports 8081 and 443 can be configured externally for
     * now. Any target port is allowed.
     */
    ports?: {
        port: number;
        targetPort: number;
    }[] | null;
    /**
     * Whether the api request should wait for the VM to be ready before
     * returning. By default, the VM is considered ready when the serial
     * console is ready for login.
     */
    waitForReadySignal?: boolean | null;
    /**
     * How long to wait for the ready signal before timing out. Defaults to 120
     * seconds if not provided.
     */
    readySignalTimeoutSeconds?: number | null;
    /**
     * @deprecated
     * Optional working directory for the VM. File system and shell commands
     * will be executed in this directory.
     *
     * **Deprecated: use `spec.snapshot.workdir` instead.**
     */
    workdir?: string | null;
    persistence?: null | ({
        /**
         * Priority for eviction when storage quota is reached. Higher values
         * mean the VM is less likely to be evicted. Range is 0-10, default is
         * 5.
         */
        priority?: number | null;
        type: "sticky";
    } | {
        deleteEvent?: null | ("OnStop" | "OnSuspend");
        type: "ephemeral";
    } | {
        type: "persistent";
    });
    systemd?: null | {
        services?: {
            /**
             * Unique slug; becomes unit name "<name>.service".
             */
            name: string;
            /**
             * "oneshot" (run and exit) or "service" (long-running/healing).
             */
            mode: "oneshot" | "service";
            /**
             * Executable to run (can specify multiple commands that run sequentially).
             */
            exec: string[];
            /**
             * Environment variables.
             */
            env?: {
                [k: string]: string;
            } | null;
            /**
             * Linux user to run the service as.
             */
            user?: string | null;
            /**
             * Linux group to run the service in.
             */
            group?: string | null;
            /**
             * Working directory.
             */
            workdir?: string | null;
            /**
             * Establishes an ordering dependency. The current unit will start only
             * after the units listed in After= have started. This is useful for
             * ensuring that certain services are up and running before the current
             * service begins its operation.
             */
            after?: string[] | null;
            /**
             * Establishes a strong dependency. If the required unit fails to
             * start or stops unexpectedly, the current unit will also be stopped. This
             * ensures that a service critical to the functioning of the current unit
             * is running and stable. Units listed in Requires= are activated along
             * with the current unit. If the required unit is not active, systemd will
             * attempt to start it. This directive signifies a tight coupling between
             * services, where the current service cannot function without the required
             * service.
             */
            requires?: string[] | null;
            /**
             * Units to activate when this unit enters a failed state. This is useful
             * for triggering recovery actions, notifications, or cleanup services when
             * the current service fails.
             */
            onFailure?: string[] | null;
            /**
             * Target used when enabling (default: multi-user.target).
             */
            wantedBy?: string[] | null;
            /**
             * Whether to enable this service (calls `systemctl enable <service>`).
             * When enabled, the service will start automatically at boot.
             */
            enable?: boolean | null;
            /**
             * Overall start/stop timeout.
             */
            timeoutSec?: number | null;
            /**
             * For oneshot: remove unit on success.
             */
            deleteAfterSuccess?: boolean | null;
            /**
             * For oneshot: remain active after exit (default: true).
             * When false, the service can be started again even if it already ran.
             */
            remainAfterExit?: boolean | null;
            /**
             * Use sd_notify; maps to Type=notify.
             */
            readySignal?: boolean | null;
            /**
             * Enable systemd watchdog (seconds).
             */
            watchdogSec?: number | null;
            restartPolicy?: null | {
                /**
                 * "no" | "on-failure" | "always" | "on-abnormal"
                 */
                policy: "no" | "on-failure" | "always" | "on-abnormal";
                restartSec?: number | null;
                startLimitBurst?: number | null;
                startLimitIntervalSec?: number | null;
            };
        }[] | null;
        patchedServices?: {
            /**
             * Unique slug; becomes unit name "<name>.service".
             */
            name: string;
            mode?: null | ("oneshot" | "service");
            /**
             * Executable to run (can specify multiple commands that run sequentially).
             */
            exec?: string[] | null;
            /**
             * Environment variables.
             */
            env?: {
                [k: string]: string;
            } | null;
            /**
             * Linux user to run the service as.
             */
            user?: string | null;
            /**
             * Linux group to run the service in.
             */
            group?: string | null;
            /**
             * Working directory.
             */
            workdir?: string | null;
            /**
             * Establishes an ordering dependency. The current unit will start only
             * after the units listed in After= have started. This is useful for
             * ensuring that certain services are up and running before the current
             * service begins its operation.
             */
            after?: string[] | null;
            /**
             * Establishes a strong dependency. If the required unit fails to
             * start or stops unexpectedly, the current unit will also be stopped. This
             * ensures that a service critical to the functioning of the current unit
             * is running and stable. Units listed in Requires= are activated along
             * with the current unit. If the required unit is not active, systemd will
             * attempt to start it. This directive signifies a tight coupling between
             * services, where the current service cannot function without the required
             * service.
             */
            requires?: string[] | null;
            /**
             * Units to activate when this unit enters a failed state. This is useful
             * for triggering recovery actions, notifications, or cleanup services when
             * the current service fails.
             */
            onFailure?: string[] | null;
            /**
             * Target used when enabling (default: multi-user.target).
             */
            wantedBy?: string[] | null;
            /**
             * Whether to enable this service (calls `systemctl enable <service>`).
             * When enabled, the service will start automatically at boot.
             */
            enable?: boolean | null;
            /**
             * Overall start/stop timeout.
             */
            timeoutSec?: number | null;
            /**
             * For oneshot: remove unit on success.
             */
            deleteAfterSuccess?: boolean | null;
            /**
             * Use sd_notify; maps to Type=notify.
             */
            readySignal?: boolean | null;
            /**
             * Enable systemd watchdog (seconds).
             */
            watchdogSec?: number | null;
            restartPolicy?: null | {
                /**
                 * "no" | "on-failure" | "always" | "on-abnormal"
                 */
                policy: "no" | "on-failure" | "always" | "on-abnormal";
                restartSec?: number | null;
                startLimitBurst?: number | null;
                startLimitIntervalSec?: number | null;
            };
        }[] | null;
    };
    users?: {
        /**
         * Unique username
         */
        name: string;
        /**
         * Optional fixed UID; if None, allocate
         */
        uid?: number | null;
        /**
         * GECOS field (descriptive string, e.g., full name)
         */
        gecos?: string | null;
        /**
         * Groups to add user to (all groups use 'm' membership lines)
         */
        groups?: string[];
        /**
         * Home directory path (optional, defaults to /home/{username} for regular users, / for system users)
         */
        home?: string | null;
        /**
         * Login shell (optional, defaults to /bin/bash for regular users, /usr/sbin/nologin for system users)
         */
        shell?: string | null;
        /**
         * System user (allocator uses system range)
         */
        system?: boolean | null;
    }[] | null;
    groups?: {
        /**
         * Unique group name
         */
        name: string;
        /**
         * Optional fixed GID; if None, allocate
         */
        gid?: number | null;
        /**
         * System group (allocator uses system range)
         */
        system?: boolean | null;
    }[] | null;
    additionalFiles?: {
        [k: string]: {
            /**
             * The content of the file
             */
            content: string;
            /**
             * The encoding of the file. Either **utf-8** or **base64**
             */
            encoding?: string;
            /**
             * Whether the file should be marked executable after being written
             */
            executable?: boolean;
        };
    } | null;
    snapshotId?: null | string;
    template?: null | {
        snapshotId?: null | string;
        baseImage?: null | {
            /**
             * The text content of a Dockerfile (e.g., `"FROM debian:trixie-slim"`).
             */
            dockerfileContent: string;
        };
        rootfsSizeGb?: number | null;
        memSizeGb?: number | null;
        vcpuCount?: number | null;
        /**
         * Optional working directory for the VM. If not provided, the default to '/'
         */
        workdir?: string | null;
        /**
         * Idle timeout in seconds. If set, the VM will be automatically suspended
         * after this many seconds of no network activity. Defaults to 300 seconds
         * (5 minutes) if not provided or the last used timeout for the forked VM.
         */
        idleTimeoutSeconds?: number | null;
        waitForReadySignal?: boolean | null;
        readySignalTimeoutSeconds?: number | null;
        persistence?: null | ({
            /**
             * Priority for eviction when storage quota is reached. Higher values
             * mean the VM is less likely to be evicted. Range is 0-10, default is
             * 5.
             */
            priority?: number | null;
            type: "sticky";
        } | {
            deleteEvent?: null | ("OnStop" | "OnSuspend");
            type: "ephemeral";
        } | {
            type: "persistent";
        });
        /**
         * Optional list of ports to expose externally. If not provided, port 3000
         * will be exposed on port 443 by default. Pass an empty array to disable
         * external ports. Only ports 8081 and 443 can be configured externally for
         * now. Any target port is allowed.
         */
        ports?: {
            port: number;
            targetPort: number;
        }[] | null;
        systemd?: null | {
            services?: {
                /**
                 * Unique slug; becomes unit name "<name>.service".
                 */
                name: string;
                /**
                 * "oneshot" (run and exit) or "service" (long-running/healing).
                 */
                mode: "oneshot" | "service";
                /**
                 * Executable to run (can specify multiple commands that run sequentially).
                 */
                exec: string[];
                /**
                 * Environment variables.
                 */
                env?: {
                    [k: string]: string;
                } | null;
                /**
                 * Linux user to run the service as.
                 */
                user?: string | null;
                /**
                 * Linux group to run the service in.
                 */
                group?: string | null;
                /**
                 * Working directory.
                 */
                workdir?: string | null;
                /**
                 * Establishes an ordering dependency. The current unit will start only
                 * after the units listed in After= have started. This is useful for
                 * ensuring that certain services are up and running before the current
                 * service begins its operation.
                 */
                after?: string[] | null;
                /**
                 * Establishes a strong dependency. If the required unit fails to
                 * start or stops unexpectedly, the current unit will also be stopped. This
                 * ensures that a service critical to the functioning of the current unit
                 * is running and stable. Units listed in Requires= are activated along
                 * with the current unit. If the required unit is not active, systemd will
                 * attempt to start it. This directive signifies a tight coupling between
                 * services, where the current service cannot function without the required
                 * service.
                 */
                requires?: string[] | null;
                /**
                 * Units to activate when this unit enters a failed state. This is useful
                 * for triggering recovery actions, notifications, or cleanup services when
                 * the current service fails.
                 */
                onFailure?: string[] | null;
                /**
                 * Target used when enabling (default: multi-user.target).
                 */
                wantedBy?: string[] | null;
                /**
                 * Whether to enable this service (calls `systemctl enable <service>`).
                 * When enabled, the service will start automatically at boot.
                 */
                enable?: boolean | null;
                /**
                 * Overall start/stop timeout.
                 */
                timeoutSec?: number | null;
                /**
                 * For oneshot: remove unit on success.
                 */
                deleteAfterSuccess?: boolean | null;
                /**
                 * For oneshot: remain active after exit (default: true).
                 * When false, the service can be started again even if it already ran.
                 */
                remainAfterExit?: boolean | null;
                /**
                 * Use sd_notify; maps to Type=notify.
                 */
                readySignal?: boolean | null;
                /**
                 * Enable systemd watchdog (seconds).
                 */
                watchdogSec?: number | null;
                restartPolicy?: null | {
                    /**
                     * "no" | "on-failure" | "always" | "on-abnormal"
                     */
                    policy: "no" | "on-failure" | "always" | "on-abnormal";
                    restartSec?: number | null;
                    startLimitBurst?: number | null;
                    startLimitIntervalSec?: number | null;
                };
            }[] | null;
            patchedServices?: {
                /**
                 * Unique slug; becomes unit name "<name>.service".
                 */
                name: string;
                mode?: null | ("oneshot" | "service");
                /**
                 * Executable to run (can specify multiple commands that run sequentially).
                 */
                exec?: string[] | null;
                /**
                 * Environment variables.
                 */
                env?: {
                    [k: string]: string;
                } | null;
                /**
                 * Linux user to run the service as.
                 */
                user?: string | null;
                /**
                 * Linux group to run the service in.
                 */
                group?: string | null;
                /**
                 * Working directory.
                 */
                workdir?: string | null;
                /**
                 * Establishes an ordering dependency. The current unit will start only
                 * after the units listed in After= have started. This is useful for
                 * ensuring that certain services are up and running before the current
                 * service begins its operation.
                 */
                after?: string[] | null;
                /**
                 * Establishes a strong dependency. If the required unit fails to
                 * start or stops unexpectedly, the current unit will also be stopped. This
                 * ensures that a service critical to the functioning of the current unit
                 * is running and stable. Units listed in Requires= are activated along
                 * with the current unit. If the required unit is not active, systemd will
                 * attempt to start it. This directive signifies a tight coupling between
                 * services, where the current service cannot function without the required
                 * service.
                 */
                requires?: string[] | null;
                /**
                 * Units to activate when this unit enters a failed state. This is useful
                 * for triggering recovery actions, notifications, or cleanup services when
                 * the current service fails.
                 */
                onFailure?: string[] | null;
                /**
                 * Target used when enabling (default: multi-user.target).
                 */
                wantedBy?: string[] | null;
                /**
                 * Whether to enable this service (calls `systemctl enable <service>`).
                 * When enabled, the service will start automatically at boot.
                 */
                enable?: boolean | null;
                /**
                 * Overall start/stop timeout.
                 */
                timeoutSec?: number | null;
                /**
                 * For oneshot: remove unit on success.
                 */
                deleteAfterSuccess?: boolean | null;
                /**
                 * Use sd_notify; maps to Type=notify.
                 */
                readySignal?: boolean | null;
                /**
                 * Enable systemd watchdog (seconds).
                 */
                watchdogSec?: number | null;
                restartPolicy?: null | {
                    /**
                     * "no" | "on-failure" | "always" | "on-abnormal"
                     */
                    policy: "no" | "on-failure" | "always" | "on-abnormal";
                    restartSec?: number | null;
                    startLimitBurst?: number | null;
                    startLimitIntervalSec?: number | null;
                };
            }[] | null;
        };
        /**
         * Linux users to create on VM startup
         */
        users?: {
            /**
             * Unique username
             */
            name: string;
            /**
             * Optional fixed UID; if None, allocate
             */
            uid?: number | null;
            /**
             * GECOS field (descriptive string, e.g., full name)
             */
            gecos?: string | null;
            /**
             * Groups to add user to (all groups use 'm' membership lines)
             */
            groups?: string[];
            /**
             * Home directory path (optional, defaults to /home/{username} for regular users, / for system users)
             */
            home?: string | null;
            /**
             * Login shell (optional, defaults to /bin/bash for regular users, /usr/sbin/nologin for system users)
             */
            shell?: string | null;
            /**
             * System user (allocator uses system range)
             */
            system?: boolean | null;
        }[] | null;
        /**
         * Linux groups to create on VM startup
         */
        groups?: {
            /**
             * Unique group name
             */
            name: string;
            /**
             * Optional fixed GID; if None, allocate
             */
            gid?: number | null;
            /**
             * System group (allocator uses system range)
             */
            system?: boolean | null;
        }[] | null;
        additionalFiles?: {
            [k: string]: {
                /**
                 * The content of the file
                 */
                content: string;
                /**
                 * The encoding of the file. Either **utf-8** or **base64**
                 */
                encoding?: string;
                /**
                 * Whether the file should be marked executable after being written
                 */
                executable?: boolean;
            };
        } | null;
        /**
         * @deprecated
         */
        gitRepos?: {
            /**
             * url or id of the git repository
             */
            repo: string;
            /**
             * path to place the repo on
             */
            path: string;
            /**
             * optional rev (branch, tag, commit)
             */
            rev?: string | null;
        }[] | null;
        git?: null | {
            config: {
                user?: null | {
                    name?: string | null;
                    email?: string | null;
                    signingkey?: string | null;
                };
            };
            repos?: {
                /**
                 * url or id of the git repository
                 */
                repo: string;
                /**
                 * path to place the repo on
                 */
                path: string;
                /**
                 * optional rev (branch, tag, commit)
                 */
                rev?: string | null;
            }[] | null;
        };
        /**
         * Optional discriminator to differentiate snapshots with otherwise identical configurations
         */
        discriminator?: string | null;
        /**
         * Optional list of apt packages to install when setting up the VM.
         * These packages will be installed using `apt-get install` on VM startup.
         */
        aptDeps?: string[] | null;
        /**
         * When true, bypasses the snapshot cache and always creates a new snapshot.
         * The new snapshot still stores the template hash, so it becomes the updated cache entry
         * for future requests that do not set skip_cache.
         */
        skipCache?: boolean | null;
    };
    /**
     * @deprecated
     * Legacy list of git repositories to clone into the VM at startup.
     *
     * **Deprecated: use `spec.git.repos` instead.**
     */
    gitRepos?: {
        /**
         * url or id of the git repository
         */
        repo: string;
        /**
         * path to place the repo on
         */
        path: string;
        /**
         * optional rev (branch, tag, commit)
         */
        rev?: string | null;
    }[] | null;
    git?: null | {
        config: {
            user?: null | {
                name?: string | null;
                email?: string | null;
                signingkey?: string | null;
            };
        };
        repos?: {
            /**
             * url or id of the git repository
             */
            repo: string;
            /**
             * path to place the repo on
             */
            path: string;
            /**
             * optional rev (branch, tag, commit)
             */
            rev?: string | null;
        }[] | null;
    };
    /**
     * If true, the VM can be recreated if it is deleted. The VM will keep the same ID
     * and be recreated with the same configuration when something tries to start it.
     */
    recreate?: boolean | null;
    /**
     * Optional list of apt packages to install when setting up the VM.
     * These packages will be installed using `apt-get install` on VM startup.
     */
    aptDeps?: string[] | null;
    /**
     * Optional list of custom domains to map to this VM. Each domain can optionally
     * specify a vm port. If vm_port is not specified, defaults to 443.
     * Domains must be verified and owned by the account before they can be mapped.
     */
    domains?: {
        /**
         * The domain name to map to the VM
         */
        domain: string;
        /**
         * The port on the VM to route traffic to. Defaults to 443 if not specified.
         */
        vmPort?: number | null;
    }[] | null;
    /**
     * Minimum bytes of network traffic per check interval to count as real
     * activity for the idle timer.
     */
    activityThresholdBytes?: number | null;
    dockerCredentials?: null | {
        /**
         * Docker registry URL (e.g., "ghcr.io", "docker.io")
         */
        registry: string;
        /**
         * Username for the registry
         */
        username: string;
        /**
         * Password or token for the registry
         */
        password: string;
    };
}
interface GetV1VmsSnapshotsQueryParams {
    includeDeleted?: boolean | null;
    includeFailed?: boolean | null;
}
interface PostV1VmsSnapshotsRequestBody {
    name?: string | null;
    spec?: null | {
        snapshot?: null | {};
        snapshotId?: null | string;
        baseImage?: null | {
            /**
             * The text content of a Dockerfile (e.g., `"FROM debian:trixie-slim"`).
             */
            dockerfileContent: string;
        };
        rootfsSizeGb?: number | null;
        memSizeGb?: number | null;
        vcpuCount?: number | null;
        /**
         * Optional working directory for the VM. Defaults to '/'.
         */
        workdir?: string | null;
        /**
         * Idle timeout in seconds. If set, the VM will be automatically
         * suspended after this many seconds of no network activity.
         */
        idleTimeoutSeconds?: number | null;
        waitForReadySignal?: boolean | null;
        readySignalTimeoutSeconds?: number | null;
        /**
         * Optional list of ports to expose externally.
         */
        ports?: {
            port: number;
            targetPort: number;
        }[] | null;
        systemd?: null | {
            services?: {
                /**
                 * Unique slug; becomes unit name "<name>.service".
                 */
                name: string;
                /**
                 * "oneshot" (run and exit) or "service" (long-running/healing).
                 */
                mode: "oneshot" | "service";
                /**
                 * Executable to run (can specify multiple commands that run sequentially).
                 */
                exec: string[];
                /**
                 * Environment variables.
                 */
                env?: {
                    [k: string]: string;
                } | null;
                /**
                 * Linux user to run the service as.
                 */
                user?: string | null;
                /**
                 * Linux group to run the service in.
                 */
                group?: string | null;
                /**
                 * Working directory.
                 */
                workdir?: string | null;
                /**
                 * Establishes an ordering dependency. The current unit will start only
                 * after the units listed in After= have started. This is useful for
                 * ensuring that certain services are up and running before the current
                 * service begins its operation.
                 */
                after?: string[] | null;
                /**
                 * Establishes a strong dependency. If the required unit fails to
                 * start or stops unexpectedly, the current unit will also be stopped. This
                 * ensures that a service critical to the functioning of the current unit
                 * is running and stable. Units listed in Requires= are activated along
                 * with the current unit. If the required unit is not active, systemd will
                 * attempt to start it. This directive signifies a tight coupling between
                 * services, where the current service cannot function without the required
                 * service.
                 */
                requires?: string[] | null;
                /**
                 * Units to activate when this unit enters a failed state. This is useful
                 * for triggering recovery actions, notifications, or cleanup services when
                 * the current service fails.
                 */
                onFailure?: string[] | null;
                /**
                 * Target used when enabling (default: multi-user.target).
                 */
                wantedBy?: string[] | null;
                /**
                 * Whether to enable this service (calls `systemctl enable <service>`).
                 * When enabled, the service will start automatically at boot.
                 */
                enable?: boolean | null;
                /**
                 * Overall start/stop timeout.
                 */
                timeoutSec?: number | null;
                /**
                 * For oneshot: remove unit on success.
                 */
                deleteAfterSuccess?: boolean | null;
                /**
                 * For oneshot: remain active after exit (default: true).
                 * When false, the service can be started again even if it already ran.
                 */
                remainAfterExit?: boolean | null;
                /**
                 * Use sd_notify; maps to Type=notify.
                 */
                readySignal?: boolean | null;
                /**
                 * Enable systemd watchdog (seconds).
                 */
                watchdogSec?: number | null;
                restartPolicy?: null | {
                    /**
                     * "no" | "on-failure" | "always" | "on-abnormal"
                     */
                    policy: "no" | "on-failure" | "always" | "on-abnormal";
                    restartSec?: number | null;
                    startLimitBurst?: number | null;
                    startLimitIntervalSec?: number | null;
                };
            }[] | null;
            patchedServices?: {
                /**
                 * Unique slug; becomes unit name "<name>.service".
                 */
                name: string;
                mode?: null | ("oneshot" | "service");
                /**
                 * Executable to run (can specify multiple commands that run sequentially).
                 */
                exec?: string[] | null;
                /**
                 * Environment variables.
                 */
                env?: {
                    [k: string]: string;
                } | null;
                /**
                 * Linux user to run the service as.
                 */
                user?: string | null;
                /**
                 * Linux group to run the service in.
                 */
                group?: string | null;
                /**
                 * Working directory.
                 */
                workdir?: string | null;
                /**
                 * Establishes an ordering dependency. The current unit will start only
                 * after the units listed in After= have started. This is useful for
                 * ensuring that certain services are up and running before the current
                 * service begins its operation.
                 */
                after?: string[] | null;
                /**
                 * Establishes a strong dependency. If the required unit fails to
                 * start or stops unexpectedly, the current unit will also be stopped. This
                 * ensures that a service critical to the functioning of the current unit
                 * is running and stable. Units listed in Requires= are activated along
                 * with the current unit. If the required unit is not active, systemd will
                 * attempt to start it. This directive signifies a tight coupling between
                 * services, where the current service cannot function without the required
                 * service.
                 */
                requires?: string[] | null;
                /**
                 * Units to activate when this unit enters a failed state. This is useful
                 * for triggering recovery actions, notifications, or cleanup services when
                 * the current service fails.
                 */
                onFailure?: string[] | null;
                /**
                 * Target used when enabling (default: multi-user.target).
                 */
                wantedBy?: string[] | null;
                /**
                 * Whether to enable this service (calls `systemctl enable <service>`).
                 * When enabled, the service will start automatically at boot.
                 */
                enable?: boolean | null;
                /**
                 * Overall start/stop timeout.
                 */
                timeoutSec?: number | null;
                /**
                 * For oneshot: remove unit on success.
                 */
                deleteAfterSuccess?: boolean | null;
                /**
                 * Use sd_notify; maps to Type=notify.
                 */
                readySignal?: boolean | null;
                /**
                 * Enable systemd watchdog (seconds).
                 */
                watchdogSec?: number | null;
                restartPolicy?: null | {
                    /**
                     * "no" | "on-failure" | "always" | "on-abnormal"
                     */
                    policy: "no" | "on-failure" | "always" | "on-abnormal";
                    restartSec?: number | null;
                    startLimitBurst?: number | null;
                    startLimitIntervalSec?: number | null;
                };
            }[] | null;
        };
        /**
         * Linux users to create on VM startup.
         */
        users?: {
            /**
             * Unique username
             */
            name: string;
            /**
             * Optional fixed UID; if None, allocate
             */
            uid?: number | null;
            /**
             * GECOS field (descriptive string, e.g., full name)
             */
            gecos?: string | null;
            /**
             * Groups to add user to (all groups use 'm' membership lines)
             */
            groups?: string[];
            /**
             * Home directory path (optional, defaults to /home/{username} for regular users, / for system users)
             */
            home?: string | null;
            /**
             * Login shell (optional, defaults to /bin/bash for regular users, /usr/sbin/nologin for system users)
             */
            shell?: string | null;
            /**
             * System user (allocator uses system range)
             */
            system?: boolean | null;
        }[] | null;
        /**
         * Linux groups to create on VM startup.
         */
        groups?: {
            /**
             * Unique group name
             */
            name: string;
            /**
             * Optional fixed GID; if None, allocate
             */
            gid?: number | null;
            /**
             * System group (allocator uses system range)
             */
            system?: boolean | null;
        }[] | null;
        additionalFiles?: {
            [k: string]: {
                /**
                 * The content of the file
                 */
                content: string;
                /**
                 * The encoding of the file. Either **utf-8** or **base64**
                 */
                encoding?: string;
                /**
                 * Whether the file should be marked executable after being written
                 */
                executable?: boolean;
            };
        } | null;
        git?: null | {
            config: {
                user?: null | {
                    name?: string | null;
                    email?: string | null;
                    signingkey?: string | null;
                };
            };
            repos?: {
                /**
                 * url or id of the git repository
                 */
                repo: string;
                /**
                 * path to place the repo on
                 */
                path: string;
                /**
                 * optional rev (branch, tag, commit)
                 */
                rev?: string | null;
            }[] | null;
        };
        /**
         * apt packages to install on VM startup.
         */
        aptDeps?: string[] | null;
        /**
         * Optional discriminator to differentiate snapshots with otherwise
         * identical configurations.
         */
        discriminator?: string | null;
        /**
         * When true, bypasses the snapshot cache and always creates a new
         * snapshot. The new snapshot still stores the template hash, so it
         * becomes the updated cache entry for future requests that do not set
         * skip_cache.
         */
        skipCache?: boolean | null;
    };
    template?: null | {
        snapshotId?: null | string;
        baseImage?: null | {
            /**
             * The text content of a Dockerfile (e.g., `"FROM debian:trixie-slim"`).
             */
            dockerfileContent: string;
        };
        rootfsSizeGb?: number | null;
        memSizeGb?: number | null;
        vcpuCount?: number | null;
        /**
         * Optional working directory for the VM. If not provided, the default to '/'
         */
        workdir?: string | null;
        /**
         * Idle timeout in seconds. If set, the VM will be automatically suspended
         * after this many seconds of no network activity. Defaults to 300 seconds
         * (5 minutes) if not provided or the last used timeout for the forked VM.
         */
        idleTimeoutSeconds?: number | null;
        waitForReadySignal?: boolean | null;
        readySignalTimeoutSeconds?: number | null;
        persistence?: null | ({
            /**
             * Priority for eviction when storage quota is reached. Higher values
             * mean the VM is less likely to be evicted. Range is 0-10, default is
             * 5.
             */
            priority?: number | null;
            type: "sticky";
        } | {
            deleteEvent?: null | ("OnStop" | "OnSuspend");
            type: "ephemeral";
        } | {
            type: "persistent";
        });
        /**
         * Optional list of ports to expose externally. If not provided, port 3000
         * will be exposed on port 443 by default. Pass an empty array to disable
         * external ports. Only ports 8081 and 443 can be configured externally for
         * now. Any target port is allowed.
         */
        ports?: {
            port: number;
            targetPort: number;
        }[] | null;
        systemd?: null | {
            services?: {
                /**
                 * Unique slug; becomes unit name "<name>.service".
                 */
                name: string;
                /**
                 * "oneshot" (run and exit) or "service" (long-running/healing).
                 */
                mode: "oneshot" | "service";
                /**
                 * Executable to run (can specify multiple commands that run sequentially).
                 */
                exec: string[];
                /**
                 * Environment variables.
                 */
                env?: {
                    [k: string]: string;
                } | null;
                /**
                 * Linux user to run the service as.
                 */
                user?: string | null;
                /**
                 * Linux group to run the service in.
                 */
                group?: string | null;
                /**
                 * Working directory.
                 */
                workdir?: string | null;
                /**
                 * Establishes an ordering dependency. The current unit will start only
                 * after the units listed in After= have started. This is useful for
                 * ensuring that certain services are up and running before the current
                 * service begins its operation.
                 */
                after?: string[] | null;
                /**
                 * Establishes a strong dependency. If the required unit fails to
                 * start or stops unexpectedly, the current unit will also be stopped. This
                 * ensures that a service critical to the functioning of the current unit
                 * is running and stable. Units listed in Requires= are activated along
                 * with the current unit. If the required unit is not active, systemd will
                 * attempt to start it. This directive signifies a tight coupling between
                 * services, where the current service cannot function without the required
                 * service.
                 */
                requires?: string[] | null;
                /**
                 * Units to activate when this unit enters a failed state. This is useful
                 * for triggering recovery actions, notifications, or cleanup services when
                 * the current service fails.
                 */
                onFailure?: string[] | null;
                /**
                 * Target used when enabling (default: multi-user.target).
                 */
                wantedBy?: string[] | null;
                /**
                 * Whether to enable this service (calls `systemctl enable <service>`).
                 * When enabled, the service will start automatically at boot.
                 */
                enable?: boolean | null;
                /**
                 * Overall start/stop timeout.
                 */
                timeoutSec?: number | null;
                /**
                 * For oneshot: remove unit on success.
                 */
                deleteAfterSuccess?: boolean | null;
                /**
                 * For oneshot: remain active after exit (default: true).
                 * When false, the service can be started again even if it already ran.
                 */
                remainAfterExit?: boolean | null;
                /**
                 * Use sd_notify; maps to Type=notify.
                 */
                readySignal?: boolean | null;
                /**
                 * Enable systemd watchdog (seconds).
                 */
                watchdogSec?: number | null;
                restartPolicy?: null | {
                    /**
                     * "no" | "on-failure" | "always" | "on-abnormal"
                     */
                    policy: "no" | "on-failure" | "always" | "on-abnormal";
                    restartSec?: number | null;
                    startLimitBurst?: number | null;
                    startLimitIntervalSec?: number | null;
                };
            }[] | null;
            patchedServices?: {
                /**
                 * Unique slug; becomes unit name "<name>.service".
                 */
                name: string;
                mode?: null | ("oneshot" | "service");
                /**
                 * Executable to run (can specify multiple commands that run sequentially).
                 */
                exec?: string[] | null;
                /**
                 * Environment variables.
                 */
                env?: {
                    [k: string]: string;
                } | null;
                /**
                 * Linux user to run the service as.
                 */
                user?: string | null;
                /**
                 * Linux group to run the service in.
                 */
                group?: string | null;
                /**
                 * Working directory.
                 */
                workdir?: string | null;
                /**
                 * Establishes an ordering dependency. The current unit will start only
                 * after the units listed in After= have started. This is useful for
                 * ensuring that certain services are up and running before the current
                 * service begins its operation.
                 */
                after?: string[] | null;
                /**
                 * Establishes a strong dependency. If the required unit fails to
                 * start or stops unexpectedly, the current unit will also be stopped. This
                 * ensures that a service critical to the functioning of the current unit
                 * is running and stable. Units listed in Requires= are activated along
                 * with the current unit. If the required unit is not active, systemd will
                 * attempt to start it. This directive signifies a tight coupling between
                 * services, where the current service cannot function without the required
                 * service.
                 */
                requires?: string[] | null;
                /**
                 * Units to activate when this unit enters a failed state. This is useful
                 * for triggering recovery actions, notifications, or cleanup services when
                 * the current service fails.
                 */
                onFailure?: string[] | null;
                /**
                 * Target used when enabling (default: multi-user.target).
                 */
                wantedBy?: string[] | null;
                /**
                 * Whether to enable this service (calls `systemctl enable <service>`).
                 * When enabled, the service will start automatically at boot.
                 */
                enable?: boolean | null;
                /**
                 * Overall start/stop timeout.
                 */
                timeoutSec?: number | null;
                /**
                 * For oneshot: remove unit on success.
                 */
                deleteAfterSuccess?: boolean | null;
                /**
                 * Use sd_notify; maps to Type=notify.
                 */
                readySignal?: boolean | null;
                /**
                 * Enable systemd watchdog (seconds).
                 */
                watchdogSec?: number | null;
                restartPolicy?: null | {
                    /**
                     * "no" | "on-failure" | "always" | "on-abnormal"
                     */
                    policy: "no" | "on-failure" | "always" | "on-abnormal";
                    restartSec?: number | null;
                    startLimitBurst?: number | null;
                    startLimitIntervalSec?: number | null;
                };
            }[] | null;
        };
        /**
         * Linux users to create on VM startup
         */
        users?: {
            /**
             * Unique username
             */
            name: string;
            /**
             * Optional fixed UID; if None, allocate
             */
            uid?: number | null;
            /**
             * GECOS field (descriptive string, e.g., full name)
             */
            gecos?: string | null;
            /**
             * Groups to add user to (all groups use 'm' membership lines)
             */
            groups?: string[];
            /**
             * Home directory path (optional, defaults to /home/{username} for regular users, / for system users)
             */
            home?: string | null;
            /**
             * Login shell (optional, defaults to /bin/bash for regular users, /usr/sbin/nologin for system users)
             */
            shell?: string | null;
            /**
             * System user (allocator uses system range)
             */
            system?: boolean | null;
        }[] | null;
        /**
         * Linux groups to create on VM startup
         */
        groups?: {
            /**
             * Unique group name
             */
            name: string;
            /**
             * Optional fixed GID; if None, allocate
             */
            gid?: number | null;
            /**
             * System group (allocator uses system range)
             */
            system?: boolean | null;
        }[] | null;
        additionalFiles?: {
            [k: string]: {
                /**
                 * The content of the file
                 */
                content: string;
                /**
                 * The encoding of the file. Either **utf-8** or **base64**
                 */
                encoding?: string;
                /**
                 * Whether the file should be marked executable after being written
                 */
                executable?: boolean;
            };
        } | null;
        /**
         * @deprecated
         */
        gitRepos?: {
            /**
             * url or id of the git repository
             */
            repo: string;
            /**
             * path to place the repo on
             */
            path: string;
            /**
             * optional rev (branch, tag, commit)
             */
            rev?: string | null;
        }[] | null;
        git?: null | {
            config: {
                user?: null | {
                    name?: string | null;
                    email?: string | null;
                    signingkey?: string | null;
                };
            };
            repos?: {
                /**
                 * url or id of the git repository
                 */
                repo: string;
                /**
                 * path to place the repo on
                 */
                path: string;
                /**
                 * optional rev (branch, tag, commit)
                 */
                rev?: string | null;
            }[] | null;
        };
        /**
         * Optional discriminator to differentiate snapshots with otherwise identical configurations
         */
        discriminator?: string | null;
        /**
         * Optional list of apt packages to install when setting up the VM.
         * These packages will be installed using `apt-get install` on VM startup.
         */
        aptDeps?: string[] | null;
        /**
         * When true, bypasses the snapshot cache and always creates a new snapshot.
         * The new snapshot still stores the template hash, so it becomes the updated cache entry
         * for future requests that do not set skip_cache.
         */
        skipCache?: boolean | null;
    };
    persistence?: null | ({
        priority?: number | null;
        type: "sticky";
    } | {
        type: "persistent";
    });
    dockerCredentials?: null | {
        /**
         * Docker registry URL (e.g., "ghcr.io", "docker.io")
         */
        registry: string;
        /**
         * Username for the registry
         */
        username: string;
        /**
         * Password or token for the registry
         */
        password: string;
    };
}
interface DeleteV1VmsSnapshotsSnapshotIdPathParams {
    /**
     * The ID of the snapshot to delete
     */
    snapshot_id: string;
}
interface PatchV1VmsSnapshotsSnapshotIdPathParams {
    /**
     * The ID of the snapshot to update
     */
    snapshot_id: string;
}
interface PatchV1VmsSnapshotsSnapshotIdRequestBody {
    name?: string | null;
}
interface PostV1VmsIdResizePathParams {
    id: string;
}
interface PostV1VmsIdResizeRequestBody {
    rootfsSizeGb?: number | null;
    memSizeGb?: number | null;
    vcpuCount?: number | null;
}
interface GetV1VmsVmIdPathParams {
    vm_id: string;
}
interface DeleteV1VmsVmIdPathParams {
    /**
     * The ID of the VM to delete
     */
    vm_id: string;
}
interface PostV1VmsVmIdAwaitPathParams {
    /**
     * The ID of the VM to wait for
     */
    vm_id: string;
}
interface PostV1VmsVmIdExecAwaitPathParams {
    /**
     * The ID of the VM to execute the command in
     */
    vm_id: string;
}
interface PostV1VmsVmIdExecAwaitRequestBody {
    command: string;
    terminal?: string | null;
    timeoutMs?: number | null;
}
interface GetV1VmsVmIdFilesFilepathPathParams {
    /**
     * The ID of the VM to get the file from
     */
    vm_id: string;
    /**
     * The path of the file to get
     */
    filepath: string;
}
interface PutV1VmsVmIdFilesFilepathPathParams {
    /**
     * The ID of the VM to put the file to
     */
    vm_id: string;
    /**
     * The path of the file to put
     */
    filepath: string;
}
interface PutV1VmsVmIdFilesFilepathRequestBody {
    content: string;
    /**
     * File content encoding
     */
    encoding?: "utf8" | "base64";
}
interface PostV1VmsVmIdForkPathParams {
    vm_id: string;
}
interface PostV1VmsVmIdForkRequestBody {
    count?: number | null;
}
interface PostV1VmsVmIdKillPathParams {
    /**
     * The ID of the VM to kill
     */
    vm_id: string;
}
interface PostV1VmsVmIdOptimizePathParams {
    /**
     * The ID of the VM to optimize
     */
    vm_id: string;
}
interface PostV1VmsVmIdSnapshotPathParams {
    vm_id: string;
}
interface PostV1VmsVmIdSnapshotRequestBody {
    /**
     * Optional name/label for the snapshot
     */
    name?: string | null;
    persistence?: null | ({
        priority?: number | null;
        type: "sticky";
    } | {
        type: "persistent";
    });
}
interface PostV1VmsVmIdStartPathParams {
    vm_id: string;
}
interface PostV1VmsVmIdStartRequestBody {
    idleTimeoutSeconds?: number | null;
    readySignalTimeoutSeconds?: number | null;
    waitForReadySignal?: boolean | null;
    activityThresholdBytes?: number | null;
}
interface GetV1VmsVmIdStatsStreamPathParams {
    /**
     * The ID of the VM to stream stats for
     */
    vm_id: string;
}
interface GetV1VmsVmIdStatsStreamQueryParams {
    /**
     * Sample interval in ms (default 1000, clamped 100-10000)
     */
    interval_ms?: number;
}
interface PostV1VmsVmIdStopPathParams {
    /**
     * The ID of the VM to stop
     */
    vm_id: string;
}
interface PostV1VmsVmIdSuspendPathParams {
    /**
     * The ID of the VM to suspend
     */
    vm_id: string;
}
interface PostV1VmsVmIdSystemdRestartPathParams {
    /**
     * The ID of the VM
     */
    vm_id: string;
}
interface PostV1VmsVmIdSystemdRestartRequestBody {
    services: {
        id: string;
    }[];
}
interface GetV1VmsVmIdSystemdServicesPathParams {
    /**
     * The ID of the VM
     */
    vm_id: string;
}
interface PostV1VmsVmIdSystemdServicesPathParams {
    /**
     * The ID of the VM
     */
    vm_id: string;
}
interface PostV1VmsVmIdSystemdServicesRequestBody {
    /**
     * Unique slug; becomes unit name "<name>.service".
     */
    name: string;
    /**
     * "oneshot" (run and exit) or "service" (long-running/healing).
     */
    mode: "oneshot" | "service";
    /**
     * Executable to run (can specify multiple commands that run sequentially).
     */
    exec: string[];
    /**
     * Environment variables.
     */
    env?: {
        [k: string]: string;
    } | null;
    /**
     * Linux user to run the service as.
     */
    user?: string | null;
    /**
     * Linux group to run the service in.
     */
    group?: string | null;
    /**
     * Working directory.
     */
    workdir?: string | null;
    /**
     * Establishes an ordering dependency. The current unit will start only
     * after the units listed in After= have started. This is useful for
     * ensuring that certain services are up and running before the current
     * service begins its operation.
     */
    after?: string[] | null;
    /**
     * Establishes a strong dependency. If the required unit fails to
     * start or stops unexpectedly, the current unit will also be stopped. This
     * ensures that a service critical to the functioning of the current unit
     * is running and stable. Units listed in Requires= are activated along
     * with the current unit. If the required unit is not active, systemd will
     * attempt to start it. This directive signifies a tight coupling between
     * services, where the current service cannot function without the required
     * service.
     */
    requires?: string[] | null;
    /**
     * Units to activate when this unit enters a failed state. This is useful
     * for triggering recovery actions, notifications, or cleanup services when
     * the current service fails.
     */
    onFailure?: string[] | null;
    /**
     * Target used when enabling (default: multi-user.target).
     */
    wantedBy?: string[] | null;
    /**
     * Whether to enable this service (calls `systemctl enable <service>`).
     * When enabled, the service will start automatically at boot.
     */
    enable?: boolean | null;
    /**
     * Overall start/stop timeout.
     */
    timeoutSec?: number | null;
    /**
     * For oneshot: remove unit on success.
     */
    deleteAfterSuccess?: boolean | null;
    /**
     * For oneshot: remain active after exit (default: true).
     * When false, the service can be started again even if it already ran.
     */
    remainAfterExit?: boolean | null;
    /**
     * Use sd_notify; maps to Type=notify.
     */
    readySignal?: boolean | null;
    /**
     * Enable systemd watchdog (seconds).
     */
    watchdogSec?: number | null;
    restartPolicy?: null | {
        /**
         * "no" | "on-failure" | "always" | "on-abnormal"
         */
        policy: "no" | "on-failure" | "always" | "on-abnormal";
        restartSec?: number | null;
        startLimitBurst?: number | null;
        startLimitIntervalSec?: number | null;
    };
}
interface DeleteV1VmsVmIdSystemdServicesServiceIdPathParams {
    /**
     * The ID of the VM
     */
    vm_id: string;
    /**
     * The ID of the service
     */
    service_id: string;
}
interface GetV1VmsVmIdSystemdServicesServiceIdLogsPathParams {
    /**
     * The ID of the VM
     */
    vm_id: string;
    /**
     * The ID of the service
     */
    service_id: string;
}
interface GetV1VmsVmIdSystemdServicesServiceIdLogsQueryParams {
    /**
     * Number of log lines to return
     */
    lines?: number;
    /**
     * Only show logs since this timestamp
     */
    since?: string;
}
interface GetV1VmsVmIdSystemdServicesServiceIdStatusPathParams {
    /**
     * The ID of the VM
     */
    vm_id: string;
    /**
     * The ID of the service
     */
    service_id: string;
}
interface PostV1VmsVmIdSystemdStartPathParams {
    /**
     * The ID of the VM
     */
    vm_id: string;
}
interface PostV1VmsVmIdSystemdStartRequestBody {
    services: {
        id: string;
    }[];
}
interface PostV1VmsVmIdSystemdStopPathParams {
    /**
     * The ID of the VM
     */
    vm_id: string;
}
interface PostV1VmsVmIdSystemdStopRequestBody {
    services: {
        id: string;
    }[];
}
interface GetV1VmsVmIdTerminalsPathParams {
    /**
     * The ID of the VM
     */
    vm_id: string;
}
interface GetV1VmsVmIdTerminalsTerminalIdLogsPathParams {
    /**
     * The ID of the VM
     */
    vm_id: string;
    /**
     * The ID of the terminal session
     */
    terminal_id: string;
}
interface GetV1VmsVmIdTerminalsTerminalIdXterm_256ColorPathParams {
    /**
     * The ID of the VM
     */
    vm_id: string;
    /**
     * The ID of the terminal session
     */
    terminal_id: string;
}
interface PostV1VmsVmIdWatchFilesPathParams {
    /**
     * The ID of the VM to watch files for
     */
    vm_id: string;
}
interface PostWebV1DeployRequestBody {
    /**
     * The files to deploy, a map of file paths to file contents, e.g. { \"index.js\": {\"content\": \"your main\", \"encoding\": \"utf-8\"}, \"file2.js\": {\"content\": \"your helper\" } }
     *
     * **Do not include node modules in this bundle, they will not work**. Instead, includes a package-lock.json, bun.lockb, pnpm-lock.yaml, or yarn.lock, the node modules for the project will be installed from that lock file, or use the node_modules field in the configuration to specify the node modules to install.
     */
    files: {
        [k: string]: {
            /**
             * The content of the file
             */
            content: string;
            /**
             * The encoding of the file. Either **utf-8** or **base64**
             */
            encoding?: string;
            /**
             * Whether the file should be marked executable after being written
             */
            executable?: boolean;
        };
    };
    config?: {
        name?: string | null;
        domains?: string[] | null;
        entrypoint?: string | null;
        envVars?: {
            [k: string]: string;
        } | null;
        nodeModules?: {
            [k: string]: string;
        } | null;
        /**
         * The amount of milliseconds after with no traffic we kill your server. For rate limiting purposes we count any started server as active for the 5 seconds after the last request.
         */
        timeout?: number | null;
        serverStartCheck?: boolean | null;
        networkPermissions?: (({
            query: string;
            behavior?: "regex" | "exact";
        } & {
            action: "allow";
        }) | ({
            query: string;
            behavior?: "regex" | "exact";
        } & {
            action: "deny";
        }))[] | null;
        egress?: null | {
            allow?: null | {
                /**
                 * Whitelist of domains. Empty object means no domains allowed.
                 * "*" means allow all domains.
                 * Domain name maps to a list of transformations (currently just headers).
                 */
                domains?: {
                    [k: string]: {
                        /**
                         * Transformations to apply to requests to this domain
                         */
                        transform?: {
                            /**
                             * Headers to set on outgoing requests
                             */
                            headers?: {
                                [k: string]: string;
                            } | null;
                        }[] | null;
                    }[];
                } | null;
                /**
                 * Whitelist of IPs. Empty object means no IPs allowed.
                 * CIDR notation supported (e.g., "173.194.0.0/16").
                 * IPs are allowed on any port/protocol.
                 */
                ips?: {
                    [k: string]: {
                        /**
                         * Transformations to apply to requests to this IP
                         */
                        transform?: {
                            /**
                             * Headers to set on outgoing requests
                             */
                            headers?: {
                                [k: string]: string;
                            } | null;
                        }[] | null;
                    }[];
                } | null;
            };
            deny?: null | {
                /**
                 * Blacklist of IPs. These override allow rules.
                 * CIDR notation supported.
                 */
                ips?: {
                    [k: string]: {
                        /**
                         * Transformations to apply to requests to this IP
                         */
                        transform?: {
                            /**
                             * Headers to set on outgoing requests
                             */
                            headers?: {
                                [k: string]: string;
                            } | null;
                        }[] | null;
                    }[];
                } | null;
            };
        };
        build?: null | (boolean | {
            command: string;
            outDir?: string | null;
            envVars?: {
                [k: string]: string;
            } | null;
        });
        await?: boolean | null;
        /**
         * Directory containing static files to be served directly (e.g., ".next/static", "_next/static").
         * Files are served at the URL path specified by static_path_prefix (defaults to root "/").
         */
        staticDir?: string | null;
        /**
         * URL path prefix where static files are served (e.g., "/_next/static"). Defaults to "/" (root).
         * When set, only requests matching this prefix will be served from static_dir.
         */
        staticPathPrefix?: string | null;
        /**
         * Directory containing public files to be served at the root of the domain (e.g., "public").
         * These files are served without any path prefix - a file at public/favicon.ico is served at /favicon.ico.
         */
        publicDir?: string | null;
        /**
         * Directory containing prerendered HTML files (e.g., ".next/standalone/.next/server/app" for Next.js).
         * Files are served as: ${prerender_dir}/${path}.html or ${prerender_dir}/index.html for root.
         */
        prerenderDir?: string | null;
        /**
         * Set to true for static-only deployments (no dynamic server/entrypoint required)
         */
        staticOnly?: boolean;
        /**
         * Redirects (permanent or temporary)
         */
        redirects?: {
            /**
             * Source pattern (can be exact path or regex)
             */
            source: string;
            /**
             * Destination path or URL
             */
            destination: string;
            /**
             * HTTP status code for redirect (301, 302, 307, 308). Takes precedence over `permanent`.
             * If neither `status_code` nor `permanent` is provided, defaults to 308.
             */
            statusCode?: number | null;
            /**
             * If true, uses 308 (permanent redirect). If false, uses 307 (temporary redirect).
             * Ignored if `status_code` is explicitly set. Vercel-compatible alternative to `status_code`.
             */
            permanent?: boolean | null;
        }[];
        /**
         * Rewrites (internal URL rewrites with capture groups)
         */
        rewrites?: {
            /**
             * Source pattern (regex pattern)
             */
            source: string;
            /**
             * Destination path with optional capture group substitution ($1, $2, etc.)
             */
            destination: string;
        }[];
        /**
         * Dynamic routes that should be handled by the worker
         */
        dynamic?: {
            /**
             * Source pattern (regex or glob pattern like "/api/.*" or "/api/**")
             */
            source: string;
            /**
             * HTTP methods this route applies to (if None, applies to all methods)
             */
            methods?: string[] | null;
        }[];
        /**
         * Custom headers for matching paths
         */
        headers?: {
            /**
             * Source pattern (regex pattern)
             */
            source: string;
            /**
             * Headers to set (array of key-value pairs)
             */
            headers: {
                /**
                 * Header name
                 */
                key: string;
                /**
                 * Header value
                 */
                value: string;
            }[];
        }[];
        /**
         * When true, all HTML files will have their extension removed. Visiting a path with .html will redirect to extensionless path (308).
         * For example, a static file named about.html will be served when visiting /about. Visiting /about.html will redirect to /about.
         */
        cleanUrls?: boolean;
        /**
         * When false, visiting a path with a trailing slash will redirect (308) to path without trailing slash.
         * When true, opposite behavior occurs. When None (default), no automatic redirects based on trailing slash.
         */
        trailingSlash?: boolean | null;
        experimental?: null | {
            nextjsOptimization?: boolean;
        };
    };
}
interface PostWebV1DeploymentRequestBody {
    source: PostWebV1DeploymentFiles | PostWebV1DeploymentTar | PostWebV1DeploymentGit;
    config: {
        name?: string | null;
        domains?: string[] | null;
        entrypoint?: string | null;
        envVars?: {
            [k: string]: string;
        } | null;
        nodeModules?: {
            [k: string]: string;
        } | null;
        /**
         * The amount of milliseconds after with no traffic we kill your server. For rate limiting purposes we count any started server as active for the 5 seconds after the last request.
         */
        timeout?: number | null;
        serverStartCheck?: boolean | null;
        networkPermissions?: (({
            query: string;
            behavior?: "regex" | "exact";
        } & {
            action: "allow";
        }) | ({
            query: string;
            behavior?: "regex" | "exact";
        } & {
            action: "deny";
        }))[] | null;
        egress?: null | {
            allow?: null | {
                /**
                 * Whitelist of domains. Empty object means no domains allowed.
                 * "*" means allow all domains.
                 * Domain name maps to a list of transformations (currently just headers).
                 */
                domains?: {
                    [k: string]: {
                        /**
                         * Transformations to apply to requests to this domain
                         */
                        transform?: {
                            /**
                             * Headers to set on outgoing requests
                             */
                            headers?: {
                                [k: string]: string;
                            } | null;
                        }[] | null;
                    }[];
                } | null;
                /**
                 * Whitelist of IPs. Empty object means no IPs allowed.
                 * CIDR notation supported (e.g., "173.194.0.0/16").
                 * IPs are allowed on any port/protocol.
                 */
                ips?: {
                    [k: string]: {
                        /**
                         * Transformations to apply to requests to this IP
                         */
                        transform?: {
                            /**
                             * Headers to set on outgoing requests
                             */
                            headers?: {
                                [k: string]: string;
                            } | null;
                        }[] | null;
                    }[];
                } | null;
            };
            deny?: null | {
                /**
                 * Blacklist of IPs. These override allow rules.
                 * CIDR notation supported.
                 */
                ips?: {
                    [k: string]: {
                        /**
                         * Transformations to apply to requests to this IP
                         */
                        transform?: {
                            /**
                             * Headers to set on outgoing requests
                             */
                            headers?: {
                                [k: string]: string;
                            } | null;
                        }[] | null;
                    }[];
                } | null;
            };
        };
        build?: null | (boolean | {
            command: string;
            outDir?: string | null;
            envVars?: {
                [k: string]: string;
            } | null;
        });
        await?: boolean | null;
        /**
         * Directory containing static files to be served directly (e.g., ".next/static", "_next/static").
         * Files are served at the URL path specified by static_path_prefix (defaults to root "/").
         */
        staticDir?: string | null;
        /**
         * URL path prefix where static files are served (e.g., "/_next/static"). Defaults to "/" (root).
         * When set, only requests matching this prefix will be served from static_dir.
         */
        staticPathPrefix?: string | null;
        /**
         * Directory containing public files to be served at the root of the domain (e.g., "public").
         * These files are served without any path prefix - a file at public/favicon.ico is served at /favicon.ico.
         */
        publicDir?: string | null;
        /**
         * Directory containing prerendered HTML files (e.g., ".next/standalone/.next/server/app" for Next.js).
         * Files are served as: ${prerender_dir}/${path}.html or ${prerender_dir}/index.html for root.
         */
        prerenderDir?: string | null;
        /**
         * Set to true for static-only deployments (no dynamic server/entrypoint required)
         */
        staticOnly?: boolean;
        /**
         * Redirects (permanent or temporary)
         */
        redirects?: {
            /**
             * Source pattern (can be exact path or regex)
             */
            source: string;
            /**
             * Destination path or URL
             */
            destination: string;
            /**
             * HTTP status code for redirect (301, 302, 307, 308). Takes precedence over `permanent`.
             * If neither `status_code` nor `permanent` is provided, defaults to 308.
             */
            statusCode?: number | null;
            /**
             * If true, uses 308 (permanent redirect). If false, uses 307 (temporary redirect).
             * Ignored if `status_code` is explicitly set. Vercel-compatible alternative to `status_code`.
             */
            permanent?: boolean | null;
        }[];
        /**
         * Rewrites (internal URL rewrites with capture groups)
         */
        rewrites?: {
            /**
             * Source pattern (regex pattern)
             */
            source: string;
            /**
             * Destination path with optional capture group substitution ($1, $2, etc.)
             */
            destination: string;
        }[];
        /**
         * Dynamic routes that should be handled by the worker
         */
        dynamic?: {
            /**
             * Source pattern (regex or glob pattern like "/api/.*" or "/api/**")
             */
            source: string;
            /**
             * HTTP methods this route applies to (if None, applies to all methods)
             */
            methods?: string[] | null;
        }[];
        /**
         * Custom headers for matching paths
         */
        headers?: {
            /**
             * Source pattern (regex pattern)
             */
            source: string;
            /**
             * Headers to set (array of key-value pairs)
             */
            headers: {
                /**
                 * Header name
                 */
                key: string;
                /**
                 * Header value
                 */
                value: string;
            }[];
        }[];
        /**
         * When true, all HTML files will have their extension removed. Visiting a path with .html will redirect to extensionless path (308).
         * For example, a static file named about.html will be served when visiting /about. Visiting /about.html will redirect to /about.
         */
        cleanUrls?: boolean;
        /**
         * When false, visiting a path with a trailing slash will redirect (308) to path without trailing slash.
         * When true, opposite behavior occurs. When None (default), no automatic redirects based on trailing slash.
         */
        trailingSlash?: boolean | null;
        experimental?: null | {
            nextjsOptimization?: boolean;
        };
    };
}
interface PostWebV1DeploymentFiles {
    files: {
        [k: string]: {
            /**
             * The content of the file
             */
            content: string;
            /**
             * The encoding of the file. Either **utf-8** or **base64**
             */
            encoding?: string;
            /**
             * Whether the file should be marked executable after being written
             */
            executable?: boolean;
        };
    };
    kind: "files";
}
interface PostWebV1DeploymentTar {
    url: string;
    kind: "tar";
}
/**
 * `dir` is the Directory to deploy from. If not provided, the root of the repository will be used.
 */
interface PostWebV1DeploymentGit {
    url: string;
    branch?: string | null;
    dir?: string | null;
    kind: "git";
}
interface GetWebV1DeploymentsQueryParams {
    /**
     * Maximum number of deployments to return
     */
    limit: number;
    /**
     * Offset for pagination
     */
    offset: number;
    /**
     * Search by deployment ID or domain
     */
    search: string;
}
interface GetWebV1DeploymentsDeploymentIdPathParams {
    deployment_id: string;
}
interface GetWebV1DeploymentsDeploymentIdFetchPathParams {
    /**
     * Deployment ID
     */
    deployment_id: string;
}
interface PostWebV1DeploymentsDeploymentIdFetchPathParams {
    /**
     * Deployment ID
     */
    deployment_id: string;
}
interface PutWebV1DeploymentsDeploymentIdFetchPathParams {
    /**
     * Deployment ID
     */
    deployment_id: string;
}
interface DeleteWebV1DeploymentsDeploymentIdFetchPathParams {
    /**
     * Deployment ID
     */
    deployment_id: string;
}
interface PatchWebV1DeploymentsDeploymentIdFetchPathParams {
    /**
     * Deployment ID
     */
    deployment_id: string;
}

type requests_DeleteDnsV1RecordsQueryParams = DeleteDnsV1RecordsQueryParams;
type requests_DeleteDomainsV1MappingsDomainPathParams = DeleteDomainsV1MappingsDomainPathParams;
type requests_DeleteDomainsV1VerificationsRequestBody = DeleteDomainsV1VerificationsRequestBody;
type requests_DeleteGitV1IdentityIdentityPathParams = DeleteGitV1IdentityIdentityPathParams;
type requests_DeleteGitV1IdentityIdentityPermissionsRepoPathParams = DeleteGitV1IdentityIdentityPermissionsRepoPathParams;
type requests_DeleteGitV1IdentityIdentityTokensPathParams = DeleteGitV1IdentityIdentityTokensPathParams;
type requests_DeleteGitV1IdentityIdentityTokensRequestBody = DeleteGitV1IdentityIdentityTokensRequestBody;
type requests_DeleteGitV1RepoRepoIdGithubSyncPathParams = DeleteGitV1RepoRepoIdGithubSyncPathParams;
type requests_DeleteGitV1RepoRepoPathParams = DeleteGitV1RepoRepoPathParams;
type requests_DeleteGitV1RepoRepoRepairJobIdPathParams = DeleteGitV1RepoRepoRepairJobIdPathParams;
type requests_DeleteGitV1RepoRepoTriggerTriggerPathParams = DeleteGitV1RepoRepoTriggerTriggerPathParams;
type requests_DeleteIdentityV1IdentitiesIdentityPathParams = DeleteIdentityV1IdentitiesIdentityPathParams;
type requests_DeleteIdentityV1IdentitiesIdentityPermissionsGitRepoPathParams = DeleteIdentityV1IdentitiesIdentityPermissionsGitRepoPathParams;
type requests_DeleteIdentityV1IdentitiesIdentityPermissionsVmVmIdPathParams = DeleteIdentityV1IdentitiesIdentityPermissionsVmVmIdPathParams;
type requests_DeleteIdentityV1IdentitiesIdentityTokensTokenPathParams = DeleteIdentityV1IdentitiesIdentityTokensTokenPathParams;
type requests_DeleteV1CronSchedulesIdPathParams = DeleteV1CronSchedulesIdPathParams;
type requests_DeleteV1VmsSnapshotsSnapshotIdPathParams = DeleteV1VmsSnapshotsSnapshotIdPathParams;
type requests_DeleteV1VmsVmIdPathParams = DeleteV1VmsVmIdPathParams;
type requests_DeleteV1VmsVmIdSystemdServicesServiceIdPathParams = DeleteV1VmsVmIdSystemdServicesServiceIdPathParams;
type requests_DeleteWebV1DeploymentsDeploymentIdFetchPathParams = DeleteWebV1DeploymentsDeploymentIdFetchPathParams;
type requests_GetAuthV1BackgroundRequestsRequestIdPathParams = GetAuthV1BackgroundRequestsRequestIdPathParams;
type requests_GetDnsV1RecordsQueryParams = GetDnsV1RecordsQueryParams;
type requests_GetDomainsV1DomainsQueryParams = GetDomainsV1DomainsQueryParams;
type requests_GetDomainsV1MappingsQueryParams = GetDomainsV1MappingsQueryParams;
type requests_GetExecuteV1DeploymentsDeploymentPathParams = GetExecuteV1DeploymentsDeploymentPathParams;
type requests_GetExecuteV1DeploymentsQueryParams = GetExecuteV1DeploymentsQueryParams;
type requests_GetGitV1IdentityIdentityPermissionsPathParams = GetGitV1IdentityIdentityPermissionsPathParams;
type requests_GetGitV1IdentityIdentityPermissionsQueryParams = GetGitV1IdentityIdentityPermissionsQueryParams;
type requests_GetGitV1IdentityIdentityPermissionsRepoPathParams = GetGitV1IdentityIdentityPermissionsRepoPathParams;
type requests_GetGitV1IdentityIdentityTokensPathParams = GetGitV1IdentityIdentityTokensPathParams;
type requests_GetGitV1IdentityQueryParams = GetGitV1IdentityQueryParams;
type requests_GetGitV1RepoQueryParams = GetGitV1RepoQueryParams;
type requests_GetGitV1RepoRepoComparePathParams = GetGitV1RepoRepoComparePathParams;
type requests_GetGitV1RepoRepoCompareQueryParams = GetGitV1RepoRepoCompareQueryParams;
type requests_GetGitV1RepoRepoContentsPathPathParams = GetGitV1RepoRepoContentsPathPathParams;
type requests_GetGitV1RepoRepoContentsPathQueryParams = GetGitV1RepoRepoContentsPathQueryParams;
type requests_GetGitV1RepoRepoGitBlobsHashPathParams = GetGitV1RepoRepoGitBlobsHashPathParams;
type requests_GetGitV1RepoRepoGitCommitsHashPathParams = GetGitV1RepoRepoGitCommitsHashPathParams;
type requests_GetGitV1RepoRepoGitCommitsPathParams = GetGitV1RepoRepoGitCommitsPathParams;
type requests_GetGitV1RepoRepoGitCommitsQueryParams = GetGitV1RepoRepoGitCommitsQueryParams;
type requests_GetGitV1RepoRepoGitRefsHeadsBranchPathParams = GetGitV1RepoRepoGitRefsHeadsBranchPathParams;
type requests_GetGitV1RepoRepoGitRefsHeadsPathParams = GetGitV1RepoRepoGitRefsHeadsPathParams;
type requests_GetGitV1RepoRepoGitRefsTagsPathParams = GetGitV1RepoRepoGitRefsTagsPathParams;
type requests_GetGitV1RepoRepoGitRefsTagsTagPathParams = GetGitV1RepoRepoGitRefsTagsTagPathParams;
type requests_GetGitV1RepoRepoGitTagsHashPathParams = GetGitV1RepoRepoGitTagsHashPathParams;
type requests_GetGitV1RepoRepoGitTreesHashPathParams = GetGitV1RepoRepoGitTreesHashPathParams;
type requests_GetGitV1RepoRepoIdDefaultBranchPathParams = GetGitV1RepoRepoIdDefaultBranchPathParams;
type requests_GetGitV1RepoRepoIdGithubSyncPathParams = GetGitV1RepoRepoIdGithubSyncPathParams;
type requests_GetGitV1RepoRepoIdVisibilityPathParams = GetGitV1RepoRepoIdVisibilityPathParams;
type requests_GetGitV1RepoRepoPathParams = GetGitV1RepoRepoPathParams;
type requests_GetGitV1RepoRepoRepairJobIdPathParams = GetGitV1RepoRepoRepairJobIdPathParams;
type requests_GetGitV1RepoRepoRepairPathParams = GetGitV1RepoRepoRepairPathParams;
type requests_GetGitV1RepoRepoSearchCommitsPathParams = GetGitV1RepoRepoSearchCommitsPathParams;
type requests_GetGitV1RepoRepoSearchCommitsQueryParams = GetGitV1RepoRepoSearchCommitsQueryParams;
type requests_GetGitV1RepoRepoSearchDiffsPathParams = GetGitV1RepoRepoSearchDiffsPathParams;
type requests_GetGitV1RepoRepoSearchDiffsQueryParams = GetGitV1RepoRepoSearchDiffsQueryParams;
type requests_GetGitV1RepoRepoSearchFilesPathParams = GetGitV1RepoRepoSearchFilesPathParams;
type requests_GetGitV1RepoRepoSearchFilesQueryParams = GetGitV1RepoRepoSearchFilesQueryParams;
type requests_GetGitV1RepoRepoSearchPathParams = GetGitV1RepoRepoSearchPathParams;
type requests_GetGitV1RepoRepoSearchQueryParams = GetGitV1RepoRepoSearchQueryParams;
type requests_GetGitV1RepoRepoTarballPathParams = GetGitV1RepoRepoTarballPathParams;
type requests_GetGitV1RepoRepoTarballQueryParams = GetGitV1RepoRepoTarballQueryParams;
type requests_GetGitV1RepoRepoTriggerPathParams = GetGitV1RepoRepoTriggerPathParams;
type requests_GetGitV1RepoRepoZipPathParams = GetGitV1RepoRepoZipPathParams;
type requests_GetGitV1RepoRepoZipQueryParams = GetGitV1RepoRepoZipQueryParams;
type requests_GetIdentityV1IdentitiesIdentityPermissionsGitPathParams = GetIdentityV1IdentitiesIdentityPermissionsGitPathParams;
type requests_GetIdentityV1IdentitiesIdentityPermissionsGitQueryParams = GetIdentityV1IdentitiesIdentityPermissionsGitQueryParams;
type requests_GetIdentityV1IdentitiesIdentityPermissionsGitRepoPathParams = GetIdentityV1IdentitiesIdentityPermissionsGitRepoPathParams;
type requests_GetIdentityV1IdentitiesIdentityPermissionsVmPathParams = GetIdentityV1IdentitiesIdentityPermissionsVmPathParams;
type requests_GetIdentityV1IdentitiesIdentityPermissionsVmQueryParams = GetIdentityV1IdentitiesIdentityPermissionsVmQueryParams;
type requests_GetIdentityV1IdentitiesIdentityPermissionsVmVmIdPathParams = GetIdentityV1IdentitiesIdentityPermissionsVmVmIdPathParams;
type requests_GetIdentityV1IdentitiesIdentityTokensPathParams = GetIdentityV1IdentitiesIdentityTokensPathParams;
type requests_GetIdentityV1IdentitiesQueryParams = GetIdentityV1IdentitiesQueryParams;
type requests_GetObservabilityV1LogsQueryParams = GetObservabilityV1LogsQueryParams;
type requests_GetV1CronSchedulesIdExecutionsPathParams = GetV1CronSchedulesIdExecutionsPathParams;
type requests_GetV1CronSchedulesIdExecutionsQueryParams = GetV1CronSchedulesIdExecutionsQueryParams;
type requests_GetV1CronSchedulesIdMetricsTimelinePathParams = GetV1CronSchedulesIdMetricsTimelinePathParams;
type requests_GetV1CronSchedulesIdMetricsTimelineQueryParams = GetV1CronSchedulesIdMetricsTimelineQueryParams;
type requests_GetV1CronSchedulesIdPathParams = GetV1CronSchedulesIdPathParams;
type requests_GetV1CronSchedulesIdSuccessRatePathParams = GetV1CronSchedulesIdSuccessRatePathParams;
type requests_GetV1CronSchedulesIdSuccessRateQueryParams = GetV1CronSchedulesIdSuccessRateQueryParams;
type requests_GetV1CronSchedulesQueryParams = GetV1CronSchedulesQueryParams;
type requests_GetV1VmsQueryParams = GetV1VmsQueryParams;
type requests_GetV1VmsSnapshotsQueryParams = GetV1VmsSnapshotsQueryParams;
type requests_GetV1VmsVmIdFilesFilepathPathParams = GetV1VmsVmIdFilesFilepathPathParams;
type requests_GetV1VmsVmIdPathParams = GetV1VmsVmIdPathParams;
type requests_GetV1VmsVmIdStatsStreamPathParams = GetV1VmsVmIdStatsStreamPathParams;
type requests_GetV1VmsVmIdStatsStreamQueryParams = GetV1VmsVmIdStatsStreamQueryParams;
type requests_GetV1VmsVmIdSystemdServicesPathParams = GetV1VmsVmIdSystemdServicesPathParams;
type requests_GetV1VmsVmIdSystemdServicesServiceIdLogsPathParams = GetV1VmsVmIdSystemdServicesServiceIdLogsPathParams;
type requests_GetV1VmsVmIdSystemdServicesServiceIdLogsQueryParams = GetV1VmsVmIdSystemdServicesServiceIdLogsQueryParams;
type requests_GetV1VmsVmIdSystemdServicesServiceIdStatusPathParams = GetV1VmsVmIdSystemdServicesServiceIdStatusPathParams;
type requests_GetV1VmsVmIdTerminalsPathParams = GetV1VmsVmIdTerminalsPathParams;
type requests_GetV1VmsVmIdTerminalsTerminalIdLogsPathParams = GetV1VmsVmIdTerminalsTerminalIdLogsPathParams;
type requests_GetV1VmsVmIdTerminalsTerminalIdXterm_256ColorPathParams = GetV1VmsVmIdTerminalsTerminalIdXterm_256ColorPathParams;
type requests_GetWebV1DeploymentsDeploymentIdFetchPathParams = GetWebV1DeploymentsDeploymentIdFetchPathParams;
type requests_GetWebV1DeploymentsDeploymentIdPathParams = GetWebV1DeploymentsDeploymentIdPathParams;
type requests_GetWebV1DeploymentsQueryParams = GetWebV1DeploymentsQueryParams;
type requests_PatchGitV1IdentityIdentityPermissionsRepoPathParams = PatchGitV1IdentityIdentityPermissionsRepoPathParams;
type requests_PatchGitV1IdentityIdentityPermissionsRepoRequestBody = PatchGitV1IdentityIdentityPermissionsRepoRequestBody;
type requests_PatchV1CronSchedulesIdPathParams = PatchV1CronSchedulesIdPathParams;
type requests_PatchV1CronSchedulesIdRequestBody = PatchV1CronSchedulesIdRequestBody;
type requests_PatchV1VmsSnapshotsSnapshotIdPathParams = PatchV1VmsSnapshotsSnapshotIdPathParams;
type requests_PatchV1VmsSnapshotsSnapshotIdRequestBody = PatchV1VmsSnapshotsSnapshotIdRequestBody;
type requests_PatchWebV1DeploymentsDeploymentIdFetchPathParams = PatchWebV1DeploymentsDeploymentIdFetchPathParams;
type requests_PostDnsV1RecordsRequestBody = PostDnsV1RecordsRequestBody;
type requests_PostDomainsV1CertsDomainWildcardPathParams = PostDomainsV1CertsDomainWildcardPathParams;
type requests_PostDomainsV1MappingsDomainPathParams = PostDomainsV1MappingsDomainPathParams;
type requests_PostDomainsV1MappingsDomainRequestBody = PostDomainsV1MappingsDomainRequestBody;
type requests_PostDomainsV1VerificationsRequestBody = PostDomainsV1VerificationsRequestBody;
type requests_PostExecuteV1ScriptRequestBody = PostExecuteV1ScriptRequestBody;
type requests_PostExecuteV3ScriptRequestBody = PostExecuteV3ScriptRequestBody;
type requests_PostGitV1IdentityIdentityPermissionsRepoPathParams = PostGitV1IdentityIdentityPermissionsRepoPathParams;
type requests_PostGitV1IdentityIdentityPermissionsRepoRequestBody = PostGitV1IdentityIdentityPermissionsRepoRequestBody;
type requests_PostGitV1IdentityIdentityTokensPathParams = PostGitV1IdentityIdentityTokensPathParams;
type requests_PostGitV1RepoFiles = PostGitV1RepoFiles;
type requests_PostGitV1RepoFiles1 = PostGitV1RepoFiles1;
type requests_PostGitV1RepoGit = PostGitV1RepoGit;
type requests_PostGitV1RepoRepoCommitsPathParams = PostGitV1RepoRepoCommitsPathParams;
type requests_PostGitV1RepoRepoCommitsRequestBody = PostGitV1RepoRepoCommitsRequestBody;
type requests_PostGitV1RepoRepoGitCommitsPathParams = PostGitV1RepoRepoGitCommitsPathParams;
type requests_PostGitV1RepoRepoGitCommitsRequestBody = PostGitV1RepoRepoGitCommitsRequestBody;
type requests_PostGitV1RepoRepoGitRefsHeadsBranchPathParams = PostGitV1RepoRepoGitRefsHeadsBranchPathParams;
type requests_PostGitV1RepoRepoGitRefsHeadsBranchRequestBody = PostGitV1RepoRepoGitRefsHeadsBranchRequestBody;
type requests_PostGitV1RepoRepoIdGithubSyncPathParams = PostGitV1RepoRepoIdGithubSyncPathParams;
type requests_PostGitV1RepoRepoIdGithubSyncRequestBody = PostGitV1RepoRepoIdGithubSyncRequestBody;
type requests_PostGitV1RepoRepoRepairPathParams = PostGitV1RepoRepoRepairPathParams;
type requests_PostGitV1RepoRepoRepairQueryParams = PostGitV1RepoRepoRepairQueryParams;
type requests_PostGitV1RepoRepoTriggerPathParams = PostGitV1RepoRepoTriggerPathParams;
type requests_PostGitV1RepoRepoTriggerRequestBody = PostGitV1RepoRepoTriggerRequestBody;
type requests_PostGitV1RepoRequestBody = PostGitV1RepoRequestBody;
type requests_PostGitV1RepoTar = PostGitV1RepoTar;
type requests_PostGitV1RepoZip = PostGitV1RepoZip;
type requests_PostIdentityV1IdentitiesIdentityPermissionsGitRepoPathParams = PostIdentityV1IdentitiesIdentityPermissionsGitRepoPathParams;
type requests_PostIdentityV1IdentitiesIdentityPermissionsGitRepoRequestBody = PostIdentityV1IdentitiesIdentityPermissionsGitRepoRequestBody;
type requests_PostIdentityV1IdentitiesIdentityPermissionsVmVmIdPathParams = PostIdentityV1IdentitiesIdentityPermissionsVmVmIdPathParams;
type requests_PostIdentityV1IdentitiesIdentityPermissionsVmVmIdRequestBody = PostIdentityV1IdentitiesIdentityPermissionsVmVmIdRequestBody;
type requests_PostIdentityV1IdentitiesIdentityTokensPathParams = PostIdentityV1IdentitiesIdentityTokensPathParams;
type requests_PostV1CronSchedulesRequestBody = PostV1CronSchedulesRequestBody;
type requests_PostV1VmsIdResizePathParams = PostV1VmsIdResizePathParams;
type requests_PostV1VmsIdResizeRequestBody = PostV1VmsIdResizeRequestBody;
type requests_PostV1VmsRequestBody = PostV1VmsRequestBody;
type requests_PostV1VmsSnapshotsRequestBody = PostV1VmsSnapshotsRequestBody;
type requests_PostV1VmsVmIdAwaitPathParams = PostV1VmsVmIdAwaitPathParams;
type requests_PostV1VmsVmIdExecAwaitPathParams = PostV1VmsVmIdExecAwaitPathParams;
type requests_PostV1VmsVmIdExecAwaitRequestBody = PostV1VmsVmIdExecAwaitRequestBody;
type requests_PostV1VmsVmIdForkPathParams = PostV1VmsVmIdForkPathParams;
type requests_PostV1VmsVmIdForkRequestBody = PostV1VmsVmIdForkRequestBody;
type requests_PostV1VmsVmIdKillPathParams = PostV1VmsVmIdKillPathParams;
type requests_PostV1VmsVmIdOptimizePathParams = PostV1VmsVmIdOptimizePathParams;
type requests_PostV1VmsVmIdSnapshotPathParams = PostV1VmsVmIdSnapshotPathParams;
type requests_PostV1VmsVmIdSnapshotRequestBody = PostV1VmsVmIdSnapshotRequestBody;
type requests_PostV1VmsVmIdStartPathParams = PostV1VmsVmIdStartPathParams;
type requests_PostV1VmsVmIdStartRequestBody = PostV1VmsVmIdStartRequestBody;
type requests_PostV1VmsVmIdStopPathParams = PostV1VmsVmIdStopPathParams;
type requests_PostV1VmsVmIdSuspendPathParams = PostV1VmsVmIdSuspendPathParams;
type requests_PostV1VmsVmIdSystemdRestartPathParams = PostV1VmsVmIdSystemdRestartPathParams;
type requests_PostV1VmsVmIdSystemdRestartRequestBody = PostV1VmsVmIdSystemdRestartRequestBody;
type requests_PostV1VmsVmIdSystemdServicesPathParams = PostV1VmsVmIdSystemdServicesPathParams;
type requests_PostV1VmsVmIdSystemdServicesRequestBody = PostV1VmsVmIdSystemdServicesRequestBody;
type requests_PostV1VmsVmIdSystemdStartPathParams = PostV1VmsVmIdSystemdStartPathParams;
type requests_PostV1VmsVmIdSystemdStartRequestBody = PostV1VmsVmIdSystemdStartRequestBody;
type requests_PostV1VmsVmIdSystemdStopPathParams = PostV1VmsVmIdSystemdStopPathParams;
type requests_PostV1VmsVmIdSystemdStopRequestBody = PostV1VmsVmIdSystemdStopRequestBody;
type requests_PostV1VmsVmIdWatchFilesPathParams = PostV1VmsVmIdWatchFilesPathParams;
type requests_PostWebV1DeployRequestBody = PostWebV1DeployRequestBody;
type requests_PostWebV1DeploymentFiles = PostWebV1DeploymentFiles;
type requests_PostWebV1DeploymentGit = PostWebV1DeploymentGit;
type requests_PostWebV1DeploymentRequestBody = PostWebV1DeploymentRequestBody;
type requests_PostWebV1DeploymentTar = PostWebV1DeploymentTar;
type requests_PostWebV1DeploymentsDeploymentIdFetchPathParams = PostWebV1DeploymentsDeploymentIdFetchPathParams;
type requests_PutDomainsV1VerificationsRequestBody = PutDomainsV1VerificationsRequestBody;
type requests_PutGitV1RepoRepoIdDefaultBranchPathParams = PutGitV1RepoRepoIdDefaultBranchPathParams;
type requests_PutGitV1RepoRepoIdDefaultBranchRequestBody = PutGitV1RepoRepoIdDefaultBranchRequestBody;
type requests_PutGitV1RepoRepoIdVisibilityPathParams = PutGitV1RepoRepoIdVisibilityPathParams;
type requests_PutGitV1RepoRepoIdVisibilityRequestBody = PutGitV1RepoRepoIdVisibilityRequestBody;
type requests_PutIdentityV1IdentitiesIdentityPermissionsGitRepoPathParams = PutIdentityV1IdentitiesIdentityPermissionsGitRepoPathParams;
type requests_PutIdentityV1IdentitiesIdentityPermissionsGitRepoRequestBody = PutIdentityV1IdentitiesIdentityPermissionsGitRepoRequestBody;
type requests_PutIdentityV1IdentitiesIdentityPermissionsVmVmIdPathParams = PutIdentityV1IdentitiesIdentityPermissionsVmVmIdPathParams;
type requests_PutIdentityV1IdentitiesIdentityPermissionsVmVmIdRequestBody = PutIdentityV1IdentitiesIdentityPermissionsVmVmIdRequestBody;
type requests_PutV1VmsVmIdFilesFilepathPathParams = PutV1VmsVmIdFilesFilepathPathParams;
type requests_PutV1VmsVmIdFilesFilepathRequestBody = PutV1VmsVmIdFilesFilepathRequestBody;
type requests_PutWebV1DeploymentsDeploymentIdFetchPathParams = PutWebV1DeploymentsDeploymentIdFetchPathParams;
declare namespace requests {
  export type { requests_DeleteDnsV1RecordsQueryParams as DeleteDnsV1RecordsQueryParams, requests_DeleteDomainsV1MappingsDomainPathParams as DeleteDomainsV1MappingsDomainPathParams, requests_DeleteDomainsV1VerificationsRequestBody as DeleteDomainsV1VerificationsRequestBody, requests_DeleteGitV1IdentityIdentityPathParams as DeleteGitV1IdentityIdentityPathParams, requests_DeleteGitV1IdentityIdentityPermissionsRepoPathParams as DeleteGitV1IdentityIdentityPermissionsRepoPathParams, requests_DeleteGitV1IdentityIdentityTokensPathParams as DeleteGitV1IdentityIdentityTokensPathParams, requests_DeleteGitV1IdentityIdentityTokensRequestBody as DeleteGitV1IdentityIdentityTokensRequestBody, requests_DeleteGitV1RepoRepoIdGithubSyncPathParams as DeleteGitV1RepoRepoIdGithubSyncPathParams, requests_DeleteGitV1RepoRepoPathParams as DeleteGitV1RepoRepoPathParams, requests_DeleteGitV1RepoRepoRepairJobIdPathParams as DeleteGitV1RepoRepoRepairJobIdPathParams, requests_DeleteGitV1RepoRepoTriggerTriggerPathParams as DeleteGitV1RepoRepoTriggerTriggerPathParams, requests_DeleteIdentityV1IdentitiesIdentityPathParams as DeleteIdentityV1IdentitiesIdentityPathParams, requests_DeleteIdentityV1IdentitiesIdentityPermissionsGitRepoPathParams as DeleteIdentityV1IdentitiesIdentityPermissionsGitRepoPathParams, requests_DeleteIdentityV1IdentitiesIdentityPermissionsVmVmIdPathParams as DeleteIdentityV1IdentitiesIdentityPermissionsVmVmIdPathParams, requests_DeleteIdentityV1IdentitiesIdentityTokensTokenPathParams as DeleteIdentityV1IdentitiesIdentityTokensTokenPathParams, requests_DeleteV1CronSchedulesIdPathParams as DeleteV1CronSchedulesIdPathParams, requests_DeleteV1VmsSnapshotsSnapshotIdPathParams as DeleteV1VmsSnapshotsSnapshotIdPathParams, requests_DeleteV1VmsVmIdPathParams as DeleteV1VmsVmIdPathParams, requests_DeleteV1VmsVmIdSystemdServicesServiceIdPathParams as DeleteV1VmsVmIdSystemdServicesServiceIdPathParams, requests_DeleteWebV1DeploymentsDeploymentIdFetchPathParams as DeleteWebV1DeploymentsDeploymentIdFetchPathParams, requests_GetAuthV1BackgroundRequestsRequestIdPathParams as GetAuthV1BackgroundRequestsRequestIdPathParams, requests_GetDnsV1RecordsQueryParams as GetDnsV1RecordsQueryParams, requests_GetDomainsV1DomainsQueryParams as GetDomainsV1DomainsQueryParams, requests_GetDomainsV1MappingsQueryParams as GetDomainsV1MappingsQueryParams, requests_GetExecuteV1DeploymentsDeploymentPathParams as GetExecuteV1DeploymentsDeploymentPathParams, requests_GetExecuteV1DeploymentsQueryParams as GetExecuteV1DeploymentsQueryParams, requests_GetGitV1IdentityIdentityPermissionsPathParams as GetGitV1IdentityIdentityPermissionsPathParams, requests_GetGitV1IdentityIdentityPermissionsQueryParams as GetGitV1IdentityIdentityPermissionsQueryParams, requests_GetGitV1IdentityIdentityPermissionsRepoPathParams as GetGitV1IdentityIdentityPermissionsRepoPathParams, requests_GetGitV1IdentityIdentityTokensPathParams as GetGitV1IdentityIdentityTokensPathParams, requests_GetGitV1IdentityQueryParams as GetGitV1IdentityQueryParams, requests_GetGitV1RepoQueryParams as GetGitV1RepoQueryParams, requests_GetGitV1RepoRepoComparePathParams as GetGitV1RepoRepoComparePathParams, requests_GetGitV1RepoRepoCompareQueryParams as GetGitV1RepoRepoCompareQueryParams, requests_GetGitV1RepoRepoContentsPathPathParams as GetGitV1RepoRepoContentsPathPathParams, requests_GetGitV1RepoRepoContentsPathQueryParams as GetGitV1RepoRepoContentsPathQueryParams, requests_GetGitV1RepoRepoGitBlobsHashPathParams as GetGitV1RepoRepoGitBlobsHashPathParams, requests_GetGitV1RepoRepoGitCommitsHashPathParams as GetGitV1RepoRepoGitCommitsHashPathParams, requests_GetGitV1RepoRepoGitCommitsPathParams as GetGitV1RepoRepoGitCommitsPathParams, requests_GetGitV1RepoRepoGitCommitsQueryParams as GetGitV1RepoRepoGitCommitsQueryParams, requests_GetGitV1RepoRepoGitRefsHeadsBranchPathParams as GetGitV1RepoRepoGitRefsHeadsBranchPathParams, requests_GetGitV1RepoRepoGitRefsHeadsPathParams as GetGitV1RepoRepoGitRefsHeadsPathParams, requests_GetGitV1RepoRepoGitRefsTagsPathParams as GetGitV1RepoRepoGitRefsTagsPathParams, requests_GetGitV1RepoRepoGitRefsTagsTagPathParams as GetGitV1RepoRepoGitRefsTagsTagPathParams, requests_GetGitV1RepoRepoGitTagsHashPathParams as GetGitV1RepoRepoGitTagsHashPathParams, requests_GetGitV1RepoRepoGitTreesHashPathParams as GetGitV1RepoRepoGitTreesHashPathParams, requests_GetGitV1RepoRepoIdDefaultBranchPathParams as GetGitV1RepoRepoIdDefaultBranchPathParams, requests_GetGitV1RepoRepoIdGithubSyncPathParams as GetGitV1RepoRepoIdGithubSyncPathParams, requests_GetGitV1RepoRepoIdVisibilityPathParams as GetGitV1RepoRepoIdVisibilityPathParams, requests_GetGitV1RepoRepoPathParams as GetGitV1RepoRepoPathParams, requests_GetGitV1RepoRepoRepairJobIdPathParams as GetGitV1RepoRepoRepairJobIdPathParams, requests_GetGitV1RepoRepoRepairPathParams as GetGitV1RepoRepoRepairPathParams, requests_GetGitV1RepoRepoSearchCommitsPathParams as GetGitV1RepoRepoSearchCommitsPathParams, requests_GetGitV1RepoRepoSearchCommitsQueryParams as GetGitV1RepoRepoSearchCommitsQueryParams, requests_GetGitV1RepoRepoSearchDiffsPathParams as GetGitV1RepoRepoSearchDiffsPathParams, requests_GetGitV1RepoRepoSearchDiffsQueryParams as GetGitV1RepoRepoSearchDiffsQueryParams, requests_GetGitV1RepoRepoSearchFilesPathParams as GetGitV1RepoRepoSearchFilesPathParams, requests_GetGitV1RepoRepoSearchFilesQueryParams as GetGitV1RepoRepoSearchFilesQueryParams, requests_GetGitV1RepoRepoSearchPathParams as GetGitV1RepoRepoSearchPathParams, requests_GetGitV1RepoRepoSearchQueryParams as GetGitV1RepoRepoSearchQueryParams, requests_GetGitV1RepoRepoTarballPathParams as GetGitV1RepoRepoTarballPathParams, requests_GetGitV1RepoRepoTarballQueryParams as GetGitV1RepoRepoTarballQueryParams, requests_GetGitV1RepoRepoTriggerPathParams as GetGitV1RepoRepoTriggerPathParams, requests_GetGitV1RepoRepoZipPathParams as GetGitV1RepoRepoZipPathParams, requests_GetGitV1RepoRepoZipQueryParams as GetGitV1RepoRepoZipQueryParams, requests_GetIdentityV1IdentitiesIdentityPermissionsGitPathParams as GetIdentityV1IdentitiesIdentityPermissionsGitPathParams, requests_GetIdentityV1IdentitiesIdentityPermissionsGitQueryParams as GetIdentityV1IdentitiesIdentityPermissionsGitQueryParams, requests_GetIdentityV1IdentitiesIdentityPermissionsGitRepoPathParams as GetIdentityV1IdentitiesIdentityPermissionsGitRepoPathParams, requests_GetIdentityV1IdentitiesIdentityPermissionsVmPathParams as GetIdentityV1IdentitiesIdentityPermissionsVmPathParams, requests_GetIdentityV1IdentitiesIdentityPermissionsVmQueryParams as GetIdentityV1IdentitiesIdentityPermissionsVmQueryParams, requests_GetIdentityV1IdentitiesIdentityPermissionsVmVmIdPathParams as GetIdentityV1IdentitiesIdentityPermissionsVmVmIdPathParams, requests_GetIdentityV1IdentitiesIdentityTokensPathParams as GetIdentityV1IdentitiesIdentityTokensPathParams, requests_GetIdentityV1IdentitiesQueryParams as GetIdentityV1IdentitiesQueryParams, requests_GetObservabilityV1LogsQueryParams as GetObservabilityV1LogsQueryParams, requests_GetV1CronSchedulesIdExecutionsPathParams as GetV1CronSchedulesIdExecutionsPathParams, requests_GetV1CronSchedulesIdExecutionsQueryParams as GetV1CronSchedulesIdExecutionsQueryParams, requests_GetV1CronSchedulesIdMetricsTimelinePathParams as GetV1CronSchedulesIdMetricsTimelinePathParams, requests_GetV1CronSchedulesIdMetricsTimelineQueryParams as GetV1CronSchedulesIdMetricsTimelineQueryParams, requests_GetV1CronSchedulesIdPathParams as GetV1CronSchedulesIdPathParams, requests_GetV1CronSchedulesIdSuccessRatePathParams as GetV1CronSchedulesIdSuccessRatePathParams, requests_GetV1CronSchedulesIdSuccessRateQueryParams as GetV1CronSchedulesIdSuccessRateQueryParams, requests_GetV1CronSchedulesQueryParams as GetV1CronSchedulesQueryParams, requests_GetV1VmsQueryParams as GetV1VmsQueryParams, requests_GetV1VmsSnapshotsQueryParams as GetV1VmsSnapshotsQueryParams, requests_GetV1VmsVmIdFilesFilepathPathParams as GetV1VmsVmIdFilesFilepathPathParams, requests_GetV1VmsVmIdPathParams as GetV1VmsVmIdPathParams, requests_GetV1VmsVmIdStatsStreamPathParams as GetV1VmsVmIdStatsStreamPathParams, requests_GetV1VmsVmIdStatsStreamQueryParams as GetV1VmsVmIdStatsStreamQueryParams, requests_GetV1VmsVmIdSystemdServicesPathParams as GetV1VmsVmIdSystemdServicesPathParams, requests_GetV1VmsVmIdSystemdServicesServiceIdLogsPathParams as GetV1VmsVmIdSystemdServicesServiceIdLogsPathParams, requests_GetV1VmsVmIdSystemdServicesServiceIdLogsQueryParams as GetV1VmsVmIdSystemdServicesServiceIdLogsQueryParams, requests_GetV1VmsVmIdSystemdServicesServiceIdStatusPathParams as GetV1VmsVmIdSystemdServicesServiceIdStatusPathParams, requests_GetV1VmsVmIdTerminalsPathParams as GetV1VmsVmIdTerminalsPathParams, requests_GetV1VmsVmIdTerminalsTerminalIdLogsPathParams as GetV1VmsVmIdTerminalsTerminalIdLogsPathParams, requests_GetV1VmsVmIdTerminalsTerminalIdXterm_256ColorPathParams as GetV1VmsVmIdTerminalsTerminalIdXterm_256ColorPathParams, requests_GetWebV1DeploymentsDeploymentIdFetchPathParams as GetWebV1DeploymentsDeploymentIdFetchPathParams, requests_GetWebV1DeploymentsDeploymentIdPathParams as GetWebV1DeploymentsDeploymentIdPathParams, requests_GetWebV1DeploymentsQueryParams as GetWebV1DeploymentsQueryParams, requests_PatchGitV1IdentityIdentityPermissionsRepoPathParams as PatchGitV1IdentityIdentityPermissionsRepoPathParams, requests_PatchGitV1IdentityIdentityPermissionsRepoRequestBody as PatchGitV1IdentityIdentityPermissionsRepoRequestBody, requests_PatchV1CronSchedulesIdPathParams as PatchV1CronSchedulesIdPathParams, requests_PatchV1CronSchedulesIdRequestBody as PatchV1CronSchedulesIdRequestBody, requests_PatchV1VmsSnapshotsSnapshotIdPathParams as PatchV1VmsSnapshotsSnapshotIdPathParams, requests_PatchV1VmsSnapshotsSnapshotIdRequestBody as PatchV1VmsSnapshotsSnapshotIdRequestBody, requests_PatchWebV1DeploymentsDeploymentIdFetchPathParams as PatchWebV1DeploymentsDeploymentIdFetchPathParams, requests_PostDnsV1RecordsRequestBody as PostDnsV1RecordsRequestBody, requests_PostDomainsV1CertsDomainWildcardPathParams as PostDomainsV1CertsDomainWildcardPathParams, requests_PostDomainsV1MappingsDomainPathParams as PostDomainsV1MappingsDomainPathParams, requests_PostDomainsV1MappingsDomainRequestBody as PostDomainsV1MappingsDomainRequestBody, requests_PostDomainsV1VerificationsRequestBody as PostDomainsV1VerificationsRequestBody, requests_PostExecuteV1ScriptRequestBody as PostExecuteV1ScriptRequestBody, requests_PostExecuteV3ScriptRequestBody as PostExecuteV3ScriptRequestBody, requests_PostGitV1IdentityIdentityPermissionsRepoPathParams as PostGitV1IdentityIdentityPermissionsRepoPathParams, requests_PostGitV1IdentityIdentityPermissionsRepoRequestBody as PostGitV1IdentityIdentityPermissionsRepoRequestBody, requests_PostGitV1IdentityIdentityTokensPathParams as PostGitV1IdentityIdentityTokensPathParams, requests_PostGitV1RepoFiles as PostGitV1RepoFiles, requests_PostGitV1RepoFiles1 as PostGitV1RepoFiles1, requests_PostGitV1RepoGit as PostGitV1RepoGit, requests_PostGitV1RepoRepoCommitsPathParams as PostGitV1RepoRepoCommitsPathParams, requests_PostGitV1RepoRepoCommitsRequestBody as PostGitV1RepoRepoCommitsRequestBody, requests_PostGitV1RepoRepoGitCommitsPathParams as PostGitV1RepoRepoGitCommitsPathParams, requests_PostGitV1RepoRepoGitCommitsRequestBody as PostGitV1RepoRepoGitCommitsRequestBody, requests_PostGitV1RepoRepoGitRefsHeadsBranchPathParams as PostGitV1RepoRepoGitRefsHeadsBranchPathParams, requests_PostGitV1RepoRepoGitRefsHeadsBranchRequestBody as PostGitV1RepoRepoGitRefsHeadsBranchRequestBody, requests_PostGitV1RepoRepoIdGithubSyncPathParams as PostGitV1RepoRepoIdGithubSyncPathParams, requests_PostGitV1RepoRepoIdGithubSyncRequestBody as PostGitV1RepoRepoIdGithubSyncRequestBody, requests_PostGitV1RepoRepoRepairPathParams as PostGitV1RepoRepoRepairPathParams, requests_PostGitV1RepoRepoRepairQueryParams as PostGitV1RepoRepoRepairQueryParams, requests_PostGitV1RepoRepoTriggerPathParams as PostGitV1RepoRepoTriggerPathParams, requests_PostGitV1RepoRepoTriggerRequestBody as PostGitV1RepoRepoTriggerRequestBody, requests_PostGitV1RepoRequestBody as PostGitV1RepoRequestBody, requests_PostGitV1RepoTar as PostGitV1RepoTar, requests_PostGitV1RepoZip as PostGitV1RepoZip, requests_PostIdentityV1IdentitiesIdentityPermissionsGitRepoPathParams as PostIdentityV1IdentitiesIdentityPermissionsGitRepoPathParams, requests_PostIdentityV1IdentitiesIdentityPermissionsGitRepoRequestBody as PostIdentityV1IdentitiesIdentityPermissionsGitRepoRequestBody, requests_PostIdentityV1IdentitiesIdentityPermissionsVmVmIdPathParams as PostIdentityV1IdentitiesIdentityPermissionsVmVmIdPathParams, requests_PostIdentityV1IdentitiesIdentityPermissionsVmVmIdRequestBody as PostIdentityV1IdentitiesIdentityPermissionsVmVmIdRequestBody, requests_PostIdentityV1IdentitiesIdentityTokensPathParams as PostIdentityV1IdentitiesIdentityTokensPathParams, requests_PostV1CronSchedulesRequestBody as PostV1CronSchedulesRequestBody, requests_PostV1VmsIdResizePathParams as PostV1VmsIdResizePathParams, requests_PostV1VmsIdResizeRequestBody as PostV1VmsIdResizeRequestBody, requests_PostV1VmsRequestBody as PostV1VmsRequestBody, requests_PostV1VmsSnapshotsRequestBody as PostV1VmsSnapshotsRequestBody, requests_PostV1VmsVmIdAwaitPathParams as PostV1VmsVmIdAwaitPathParams, requests_PostV1VmsVmIdExecAwaitPathParams as PostV1VmsVmIdExecAwaitPathParams, requests_PostV1VmsVmIdExecAwaitRequestBody as PostV1VmsVmIdExecAwaitRequestBody, requests_PostV1VmsVmIdForkPathParams as PostV1VmsVmIdForkPathParams, requests_PostV1VmsVmIdForkRequestBody as PostV1VmsVmIdForkRequestBody, requests_PostV1VmsVmIdKillPathParams as PostV1VmsVmIdKillPathParams, requests_PostV1VmsVmIdOptimizePathParams as PostV1VmsVmIdOptimizePathParams, requests_PostV1VmsVmIdSnapshotPathParams as PostV1VmsVmIdSnapshotPathParams, requests_PostV1VmsVmIdSnapshotRequestBody as PostV1VmsVmIdSnapshotRequestBody, requests_PostV1VmsVmIdStartPathParams as PostV1VmsVmIdStartPathParams, requests_PostV1VmsVmIdStartRequestBody as PostV1VmsVmIdStartRequestBody, requests_PostV1VmsVmIdStopPathParams as PostV1VmsVmIdStopPathParams, requests_PostV1VmsVmIdSuspendPathParams as PostV1VmsVmIdSuspendPathParams, requests_PostV1VmsVmIdSystemdRestartPathParams as PostV1VmsVmIdSystemdRestartPathParams, requests_PostV1VmsVmIdSystemdRestartRequestBody as PostV1VmsVmIdSystemdRestartRequestBody, requests_PostV1VmsVmIdSystemdServicesPathParams as PostV1VmsVmIdSystemdServicesPathParams, requests_PostV1VmsVmIdSystemdServicesRequestBody as PostV1VmsVmIdSystemdServicesRequestBody, requests_PostV1VmsVmIdSystemdStartPathParams as PostV1VmsVmIdSystemdStartPathParams, requests_PostV1VmsVmIdSystemdStartRequestBody as PostV1VmsVmIdSystemdStartRequestBody, requests_PostV1VmsVmIdSystemdStopPathParams as PostV1VmsVmIdSystemdStopPathParams, requests_PostV1VmsVmIdSystemdStopRequestBody as PostV1VmsVmIdSystemdStopRequestBody, requests_PostV1VmsVmIdWatchFilesPathParams as PostV1VmsVmIdWatchFilesPathParams, requests_PostWebV1DeployRequestBody as PostWebV1DeployRequestBody, requests_PostWebV1DeploymentFiles as PostWebV1DeploymentFiles, requests_PostWebV1DeploymentGit as PostWebV1DeploymentGit, requests_PostWebV1DeploymentRequestBody as PostWebV1DeploymentRequestBody, requests_PostWebV1DeploymentTar as PostWebV1DeploymentTar, requests_PostWebV1DeploymentsDeploymentIdFetchPathParams as PostWebV1DeploymentsDeploymentIdFetchPathParams, requests_PutDomainsV1VerificationsRequestBody as PutDomainsV1VerificationsRequestBody, requests_PutGitV1RepoRepoIdDefaultBranchPathParams as PutGitV1RepoRepoIdDefaultBranchPathParams, requests_PutGitV1RepoRepoIdDefaultBranchRequestBody as PutGitV1RepoRepoIdDefaultBranchRequestBody, requests_PutGitV1RepoRepoIdVisibilityPathParams as PutGitV1RepoRepoIdVisibilityPathParams, requests_PutGitV1RepoRepoIdVisibilityRequestBody as PutGitV1RepoRepoIdVisibilityRequestBody, requests_PutIdentityV1IdentitiesIdentityPermissionsGitRepoPathParams as PutIdentityV1IdentitiesIdentityPermissionsGitRepoPathParams, requests_PutIdentityV1IdentitiesIdentityPermissionsGitRepoRequestBody as PutIdentityV1IdentitiesIdentityPermissionsGitRepoRequestBody, requests_PutIdentityV1IdentitiesIdentityPermissionsVmVmIdPathParams as PutIdentityV1IdentitiesIdentityPermissionsVmVmIdPathParams, requests_PutIdentityV1IdentitiesIdentityPermissionsVmVmIdRequestBody as PutIdentityV1IdentitiesIdentityPermissionsVmVmIdRequestBody, requests_PutV1VmsVmIdFilesFilepathPathParams as PutV1VmsVmIdFilesFilepathPathParams, requests_PutV1VmsVmIdFilesFilepathRequestBody as PutV1VmsVmIdFilesFilepathRequestBody, requests_PutWebV1DeploymentsDeploymentIdFetchPathParams as PutWebV1DeploymentsDeploymentIdFetchPathParams };
}

type GetPathMap = {
    "/auth/v1/background-requests/{request_id}": {
        options: {
            params: GetAuthV1BackgroundRequestsRequestIdPathParams;
            headers?: Record<string, string>;
        };
        response: void;
    };
    "/auth/v1/whoami": {
        options?: {
            headers?: Record<string, string>;
        };
        response: ResponseGetAuthV1Whoami200;
    };
    "/dns/v1/records": {
        options: {
            query?: GetDnsV1RecordsQueryParams;
            headers?: Record<string, string>;
        };
        response: ResponseGetDnsV1Records200;
    };
    "/domains/v1/domains": {
        options: {
            query?: GetDomainsV1DomainsQueryParams;
            headers?: Record<string, string>;
        };
        response: ResponseGetDomainsV1Domains200;
    };
    "/domains/v1/mappings": {
        options: {
            query?: GetDomainsV1MappingsQueryParams;
            headers?: Record<string, string>;
        };
        response: ResponseGetDomainsV1Mappings200;
    };
    "/domains/v1/verifications": {
        options?: {
            headers?: Record<string, string>;
        };
        response: ResponseGetDomainsV1Verifications200;
    };
    "/execute/v1/deployments": {
        options: {
            query?: GetExecuteV1DeploymentsQueryParams;
            headers?: Record<string, string>;
        };
        response: ResponseGetExecuteV1Deployments200;
    };
    "/execute/v1/deployments/{deployment}": {
        options: {
            params: GetExecuteV1DeploymentsDeploymentPathParams;
            headers?: Record<string, string>;
        };
        response: ResponseGetExecuteV1DeploymentsDeployment200;
    };
    "/git/v1/identity": {
        options: {
            query?: GetGitV1IdentityQueryParams;
            headers?: Record<string, string>;
        };
        response: ResponseGetGitV1Identity200;
    };
    "/git/v1/identity/{identity}/permissions": {
        options: {
            params: GetGitV1IdentityIdentityPermissionsPathParams;
            query?: GetGitV1IdentityIdentityPermissionsQueryParams;
            headers?: Record<string, string>;
        };
        response: ResponseGetGitV1IdentityIdentityPermissions200;
    };
    "/git/v1/identity/{identity}/permissions/{repo}": {
        options: {
            params: GetGitV1IdentityIdentityPermissionsRepoPathParams;
            headers?: Record<string, string>;
        };
        response: ResponseGetGitV1IdentityIdentityPermissionsRepo200;
    };
    "/git/v1/identity/{identity}/tokens": {
        options: {
            params: GetGitV1IdentityIdentityTokensPathParams;
            headers?: Record<string, string>;
        };
        response: ResponseGetGitV1IdentityIdentityTokens200;
    };
    "/git/v1/repo": {
        options: {
            query?: GetGitV1RepoQueryParams;
            headers?: Record<string, string>;
        };
        response: ResponseGetGitV1Repo200;
    };
    "/git/v1/repo/{repo_id}/default-branch": {
        options: {
            params: GetGitV1RepoRepoIdDefaultBranchPathParams;
            headers?: Record<string, string>;
        };
        response: ResponseGetGitV1RepoRepoIdDefaultBranch200;
    };
    "/git/v1/repo/{repo_id}/github-sync": {
        options: {
            params: GetGitV1RepoRepoIdGithubSyncPathParams;
            headers?: Record<string, string>;
        };
        response: ResponseGetGitV1RepoRepoIdGithubSync200;
    };
    "/git/v1/repo/{repo_id}/visibility": {
        options: {
            params: GetGitV1RepoRepoIdVisibilityPathParams;
            headers?: Record<string, string>;
        };
        response: ResponseGetGitV1RepoRepoIdVisibility200;
    };
    "/git/v1/repo/{repo}": {
        options: {
            params: GetGitV1RepoRepoPathParams;
            headers?: Record<string, string>;
        };
        response: ResponseGetGitV1RepoRepo200;
    };
    "/git/v1/repo/{repo}/compare": {
        options: {
            params: GetGitV1RepoRepoComparePathParams;
            query?: GetGitV1RepoRepoCompareQueryParams;
            headers?: Record<string, string>;
        };
        response: ResponseGetGitV1RepoRepoCompare200;
    };
    "/git/v1/repo/{repo}/contents/{path}": {
        options: {
            params: GetGitV1RepoRepoContentsPathPathParams;
            query?: GetGitV1RepoRepoContentsPathQueryParams;
            headers?: Record<string, string>;
        };
        response: ResponseGetGitV1RepoRepoContentsPath200;
    };
    "/git/v1/repo/{repo}/git/blobs/{hash}": {
        options: {
            params: GetGitV1RepoRepoGitBlobsHashPathParams;
            headers?: Record<string, string>;
        };
        response: ResponseGetGitV1RepoRepoGitBlobsHash200;
    };
    "/git/v1/repo/{repo}/git/commits": {
        options: {
            params: GetGitV1RepoRepoGitCommitsPathParams;
            query?: GetGitV1RepoRepoGitCommitsQueryParams;
            headers?: Record<string, string>;
        };
        response: ResponseGetGitV1RepoRepoGitCommits200;
    };
    "/git/v1/repo/{repo}/git/commits/{hash}": {
        options: {
            params: GetGitV1RepoRepoGitCommitsHashPathParams;
            headers?: Record<string, string>;
        };
        response: ResponseGetGitV1RepoRepoGitCommitsHash200;
    };
    "/git/v1/repo/{repo}/git/refs/heads/": {
        options: {
            params: GetGitV1RepoRepoGitRefsHeadsPathParams;
            headers?: Record<string, string>;
        };
        response: ResponseGetGitV1RepoRepoGitRefsHeads200;
    };
    "/git/v1/repo/{repo}/git/refs/heads/{branch}": {
        options: {
            params: GetGitV1RepoRepoGitRefsHeadsBranchPathParams;
            headers?: Record<string, string>;
        };
        response: ResponseGetGitV1RepoRepoGitRefsHeadsBranch200;
    };
    "/git/v1/repo/{repo}/git/refs/tags/": {
        options: {
            params: GetGitV1RepoRepoGitRefsTagsPathParams;
            headers?: Record<string, string>;
        };
        response: ResponseGetGitV1RepoRepoGitRefsTags200;
    };
    "/git/v1/repo/{repo}/git/refs/tags/{tag}": {
        options: {
            params: GetGitV1RepoRepoGitRefsTagsTagPathParams;
            headers?: Record<string, string>;
        };
        response: ResponseGetGitV1RepoRepoGitRefsTagsTag200;
    };
    "/git/v1/repo/{repo}/git/tags/{hash}": {
        options: {
            params: GetGitV1RepoRepoGitTagsHashPathParams;
            headers?: Record<string, string>;
        };
        response: ResponseGetGitV1RepoRepoGitTagsHash200;
    };
    "/git/v1/repo/{repo}/git/trees/{hash}": {
        options: {
            params: GetGitV1RepoRepoGitTreesHashPathParams;
            headers?: Record<string, string>;
        };
        response: ResponseGetGitV1RepoRepoGitTreesHash200;
    };
    "/git/v1/repo/{repo}/repair": {
        options: {
            params: GetGitV1RepoRepoRepairPathParams;
            headers?: Record<string, string>;
        };
        response: ResponseGetGitV1RepoRepoRepair200;
    };
    "/git/v1/repo/{repo}/repair/{job_id}": {
        options: {
            params: GetGitV1RepoRepoRepairJobIdPathParams;
            headers?: Record<string, string>;
        };
        response: ResponseGetGitV1RepoRepoRepairJobId200;
    };
    "/git/v1/repo/{repo}/search": {
        options: {
            params: GetGitV1RepoRepoSearchPathParams;
            query?: GetGitV1RepoRepoSearchQueryParams;
            headers?: Record<string, string>;
        };
        response: ResponseGetGitV1RepoRepoSearch200;
    };
    "/git/v1/repo/{repo}/search/commits": {
        options: {
            params: GetGitV1RepoRepoSearchCommitsPathParams;
            query?: GetGitV1RepoRepoSearchCommitsQueryParams;
            headers?: Record<string, string>;
        };
        response: ResponseGetGitV1RepoRepoSearchCommits200;
    };
    "/git/v1/repo/{repo}/search/diffs": {
        options: {
            params: GetGitV1RepoRepoSearchDiffsPathParams;
            query?: GetGitV1RepoRepoSearchDiffsQueryParams;
            headers?: Record<string, string>;
        };
        response: ResponseGetGitV1RepoRepoSearchDiffs200;
    };
    "/git/v1/repo/{repo}/search/files": {
        options: {
            params: GetGitV1RepoRepoSearchFilesPathParams;
            query?: GetGitV1RepoRepoSearchFilesQueryParams;
            headers?: Record<string, string>;
        };
        response: ResponseGetGitV1RepoRepoSearchFiles200;
    };
    "/git/v1/repo/{repo}/tarball": {
        options: {
            params: GetGitV1RepoRepoTarballPathParams;
            query?: GetGitV1RepoRepoTarballQueryParams;
            headers?: Record<string, string>;
        };
        response: void;
    };
    "/git/v1/repo/{repo}/trigger": {
        options: {
            params: GetGitV1RepoRepoTriggerPathParams;
            headers?: Record<string, string>;
        };
        response: ResponseGetGitV1RepoRepoTrigger200;
    };
    "/git/v1/repo/{repo}/zip": {
        options: {
            params: GetGitV1RepoRepoZipPathParams;
            query?: GetGitV1RepoRepoZipQueryParams;
            headers?: Record<string, string>;
        };
        response: void;
    };
    "/identity/v1/identities": {
        options: {
            query?: GetIdentityV1IdentitiesQueryParams;
            headers?: Record<string, string>;
        };
        response: ResponseGetIdentityV1Identities200;
    };
    "/identity/v1/identities/{identity}/permissions/git": {
        options: {
            params: GetIdentityV1IdentitiesIdentityPermissionsGitPathParams;
            query?: GetIdentityV1IdentitiesIdentityPermissionsGitQueryParams;
            headers?: Record<string, string>;
        };
        response: ResponseGetIdentityV1IdentitiesIdentityPermissionsGit200;
    };
    "/identity/v1/identities/{identity}/permissions/git/{repo}": {
        options: {
            params: GetIdentityV1IdentitiesIdentityPermissionsGitRepoPathParams;
            headers?: Record<string, string>;
        };
        response: ResponseGetIdentityV1IdentitiesIdentityPermissionsGitRepo200;
    };
    "/identity/v1/identities/{identity}/permissions/vm": {
        options: {
            params: GetIdentityV1IdentitiesIdentityPermissionsVmPathParams;
            query?: GetIdentityV1IdentitiesIdentityPermissionsVmQueryParams;
            headers?: Record<string, string>;
        };
        response: ResponseGetIdentityV1IdentitiesIdentityPermissionsVm200;
    };
    "/identity/v1/identities/{identity}/permissions/vm/{vm_id}": {
        options: {
            params: GetIdentityV1IdentitiesIdentityPermissionsVmVmIdPathParams;
            headers?: Record<string, string>;
        };
        response: ResponseGetIdentityV1IdentitiesIdentityPermissionsVmVmId200;
    };
    "/identity/v1/identities/{identity}/tokens": {
        options: {
            params: GetIdentityV1IdentitiesIdentityTokensPathParams;
            headers?: Record<string, string>;
        };
        response: ResponseGetIdentityV1IdentitiesIdentityTokens200;
    };
    "/observability/v1/logs": {
        options: {
            query?: GetObservabilityV1LogsQueryParams;
            headers?: Record<string, string>;
        };
        response: ResponseGetObservabilityV1Logs200;
    };
    "/v1/cron/schedules": {
        options: {
            query?: GetV1CronSchedulesQueryParams;
            headers?: Record<string, string>;
        };
        response: ResponseGetV1CronSchedules200;
    };
    "/v1/cron/schedules/{id}": {
        options: {
            params: GetV1CronSchedulesIdPathParams;
            headers?: Record<string, string>;
        };
        response: ResponseGetV1CronSchedulesId200;
    };
    "/v1/cron/schedules/{id}/executions": {
        options: {
            params: GetV1CronSchedulesIdExecutionsPathParams;
            query?: GetV1CronSchedulesIdExecutionsQueryParams;
            headers?: Record<string, string>;
        };
        response: ResponseGetV1CronSchedulesIdExecutions200;
    };
    "/v1/cron/schedules/{id}/metrics-timeline": {
        options: {
            params: GetV1CronSchedulesIdMetricsTimelinePathParams;
            query?: GetV1CronSchedulesIdMetricsTimelineQueryParams;
            headers?: Record<string, string>;
        };
        response: ResponseGetV1CronSchedulesIdMetricsTimeline200;
    };
    "/v1/cron/schedules/{id}/success-rate": {
        options: {
            params: GetV1CronSchedulesIdSuccessRatePathParams;
            query?: GetV1CronSchedulesIdSuccessRateQueryParams;
            headers?: Record<string, string>;
        };
        response: ResponseGetV1CronSchedulesIdSuccessRate200;
    };
    "/v1/vms": {
        options: {
            query?: GetV1VmsQueryParams;
            headers?: Record<string, string>;
        };
        response: ResponseGetV1Vms200;
    };
    "/v1/vms/snapshots": {
        options: {
            query?: GetV1VmsSnapshotsQueryParams;
            headers?: Record<string, string>;
        };
        response: ResponseGetV1VmsSnapshots200;
    };
    "/v1/vms/{vm_id}": {
        options: {
            params: GetV1VmsVmIdPathParams;
            headers?: Record<string, string>;
        };
        response: ResponseGetV1VmsVmId200;
    };
    "/v1/vms/{vm_id}/files/{filepath}": {
        options: {
            params: GetV1VmsVmIdFilesFilepathPathParams;
            headers?: Record<string, string>;
        };
        response: ResponseGetV1VmsVmIdFilesFilepath200;
    };
    "/v1/vms/{vm_id}/stats/stream": {
        options: {
            params: GetV1VmsVmIdStatsStreamPathParams;
            query?: GetV1VmsVmIdStatsStreamQueryParams;
            headers?: Record<string, string>;
        };
        response: void;
    };
    "/v1/vms/{vm_id}/systemd/services": {
        options: {
            params: GetV1VmsVmIdSystemdServicesPathParams;
            headers?: Record<string, string>;
        };
        response: ResponseGetV1VmsVmIdSystemdServices200;
    };
    "/v1/vms/{vm_id}/systemd/services/{service_id}/logs": {
        options: {
            params: GetV1VmsVmIdSystemdServicesServiceIdLogsPathParams;
            query?: GetV1VmsVmIdSystemdServicesServiceIdLogsQueryParams;
            headers?: Record<string, string>;
        };
        response: ResponseGetV1VmsVmIdSystemdServicesServiceIdLogs200;
    };
    "/v1/vms/{vm_id}/systemd/services/{service_id}/status": {
        options: {
            params: GetV1VmsVmIdSystemdServicesServiceIdStatusPathParams;
            headers?: Record<string, string>;
        };
        response: ResponseGetV1VmsVmIdSystemdServicesServiceIdStatus200;
    };
    "/v1/vms/{vm_id}/terminals": {
        options: {
            params: GetV1VmsVmIdTerminalsPathParams;
            headers?: Record<string, string>;
        };
        response: ResponseGetV1VmsVmIdTerminals200;
    };
    "/v1/vms/{vm_id}/terminals/{terminal_id}/logs": {
        options: {
            params: GetV1VmsVmIdTerminalsTerminalIdLogsPathParams;
            headers?: Record<string, string>;
        };
        response: ResponseGetV1VmsVmIdTerminalsTerminalIdLogs200;
    };
    "/v1/vms/{vm_id}/terminals/{terminal_id}/xterm-256color": {
        options: {
            params: GetV1VmsVmIdTerminalsTerminalIdXterm_256ColorPathParams;
            headers?: Record<string, string>;
        };
        response: ResponseGetV1VmsVmIdTerminalsTerminalIdXterm_256Color200;
    };
    "/web/v1/deployments": {
        options: {
            query?: GetWebV1DeploymentsQueryParams;
            headers?: Record<string, string>;
        };
        response: ResponseGetWebV1Deployments200;
    };
    "/web/v1/deployments/{deployment_id}": {
        options: {
            params: GetWebV1DeploymentsDeploymentIdPathParams;
            headers?: Record<string, string>;
        };
        response: void;
    };
    "/web/v1/deployments/{deployment_id}/fetch": {
        options: {
            params: GetWebV1DeploymentsDeploymentIdFetchPathParams;
            headers?: Record<string, string>;
        };
        response: void;
    };
};
type PostPathMap = {
    "/dns/v1/records": {
        options: {
            body: PostDnsV1RecordsRequestBody;
            headers?: Record<string, string>;
        };
        response: ResponsePostDnsV1Records200;
    };
    "/domains/v1/certs/{domain}/wildcard": {
        options: {
            params: PostDomainsV1CertsDomainWildcardPathParams;
            headers?: Record<string, string>;
        };
        response: ResponsePostDomainsV1CertsDomainWildcard200;
    };
    "/domains/v1/mappings/{domain}": {
        options: {
            params: PostDomainsV1MappingsDomainPathParams;
            body: PostDomainsV1MappingsDomainRequestBody;
            headers?: Record<string, string>;
        };
        response: ResponsePostDomainsV1MappingsDomain200;
    };
    "/domains/v1/verifications": {
        options: {
            body: PostDomainsV1VerificationsRequestBody;
            headers?: Record<string, string>;
        };
        response: ResponsePostDomainsV1Verifications200;
    };
    "/execute/v1/script": {
        options: {
            body: PostExecuteV1ScriptRequestBody;
            headers?: Record<string, string>;
        };
        response: ResponsePostExecuteV1Script200;
    };
    "/execute/v3/script": {
        options: {
            body: PostExecuteV3ScriptRequestBody;
            headers?: Record<string, string>;
        };
        response: ResponsePostExecuteV3Script200;
    };
    "/git/v1/identity": {
        options?: {
            headers?: Record<string, string>;
        };
        response: ResponsePostGitV1Identity200;
    };
    "/git/v1/identity/{identity}/permissions/{repo}": {
        options: {
            params: PostGitV1IdentityIdentityPermissionsRepoPathParams;
            body: PostGitV1IdentityIdentityPermissionsRepoRequestBody;
            headers?: Record<string, string>;
        };
        response: ResponsePostGitV1IdentityIdentityPermissionsRepo200;
    };
    "/git/v1/identity/{identity}/tokens": {
        options: {
            params: PostGitV1IdentityIdentityTokensPathParams;
            headers?: Record<string, string>;
        };
        response: ResponsePostGitV1IdentityIdentityTokens200;
    };
    "/git/v1/repo": {
        options: {
            body: PostGitV1RepoRequestBody;
            headers?: Record<string, string>;
        };
        response: ResponsePostGitV1Repo200;
    };
    "/git/v1/repo/{repo_id}/github-sync": {
        options: {
            params: PostGitV1RepoRepoIdGithubSyncPathParams;
            body: PostGitV1RepoRepoIdGithubSyncRequestBody;
            headers?: Record<string, string>;
        };
        response: void;
    };
    "/git/v1/repo/{repo}/commits": {
        options: {
            params: PostGitV1RepoRepoCommitsPathParams;
            body: PostGitV1RepoRepoCommitsRequestBody;
            headers?: Record<string, string>;
        };
        response: ResponsePostGitV1RepoRepoCommits200;
    };
    "/git/v1/repo/{repo}/git/commits": {
        options: {
            params: PostGitV1RepoRepoGitCommitsPathParams;
            body: PostGitV1RepoRepoGitCommitsRequestBody;
            headers?: Record<string, string>;
        };
        response: ResponsePostGitV1RepoRepoGitCommits200;
    };
    "/git/v1/repo/{repo}/git/refs/heads/{*branch}": {
        options: {
            params: PostGitV1RepoRepoGitRefsHeadsBranchPathParams;
            body: PostGitV1RepoRepoGitRefsHeadsBranchRequestBody;
            headers?: Record<string, string>;
        };
        response: ResponsePostGitV1RepoRepoGitRefsHeadsBranch200;
    };
    "/git/v1/repo/{repo}/repair": {
        options: {
            params: PostGitV1RepoRepoRepairPathParams;
            query?: PostGitV1RepoRepoRepairQueryParams;
            headers?: Record<string, string>;
        };
        response: void;
    };
    "/git/v1/repo/{repo}/trigger": {
        options: {
            params: PostGitV1RepoRepoTriggerPathParams;
            body: PostGitV1RepoRepoTriggerRequestBody;
            headers?: Record<string, string>;
        };
        response: ResponsePostGitV1RepoRepoTrigger200;
    };
    "/identity/v1/identities": {
        options?: {
            headers?: Record<string, string>;
        };
        response: ResponsePostIdentityV1Identities200;
    };
    "/identity/v1/identities/{identity}/permissions/git/{repo}": {
        options: {
            params: PostIdentityV1IdentitiesIdentityPermissionsGitRepoPathParams;
            body: PostIdentityV1IdentitiesIdentityPermissionsGitRepoRequestBody;
            headers?: Record<string, string>;
        };
        response: ResponsePostIdentityV1IdentitiesIdentityPermissionsGitRepo200;
    };
    "/identity/v1/identities/{identity}/permissions/vm/{vm_id}": {
        options: {
            params: PostIdentityV1IdentitiesIdentityPermissionsVmVmIdPathParams;
            body: PostIdentityV1IdentitiesIdentityPermissionsVmVmIdRequestBody;
            headers?: Record<string, string>;
        };
        response: ResponsePostIdentityV1IdentitiesIdentityPermissionsVmVmId200;
    };
    "/identity/v1/identities/{identity}/tokens": {
        options: {
            params: PostIdentityV1IdentitiesIdentityTokensPathParams;
            headers?: Record<string, string>;
        };
        response: ResponsePostIdentityV1IdentitiesIdentityTokens200;
    };
    "/v1/cron/schedules": {
        options: {
            body: PostV1CronSchedulesRequestBody;
            headers?: Record<string, string>;
        };
        response: ResponsePostV1CronSchedules200;
    };
    "/v1/vms": {
        options: {
            body: PostV1VmsRequestBody;
            headers?: Record<string, string>;
        };
        response: ResponsePostV1Vms200;
    };
    "/v1/vms/snapshots": {
        options: {
            body: PostV1VmsSnapshotsRequestBody;
            headers?: Record<string, string>;
        };
        response: ResponsePostV1VmsSnapshots200;
    };
    "/v1/vms/{id}/resize": {
        options: {
            params: PostV1VmsIdResizePathParams;
            body: PostV1VmsIdResizeRequestBody;
            headers?: Record<string, string>;
        };
        response: ResponsePostV1VmsIdResize200;
    };
    "/v1/vms/{vm_id}/await": {
        options: {
            params: PostV1VmsVmIdAwaitPathParams;
            headers?: Record<string, string>;
        };
        response: ResponsePostV1VmsVmIdAwait200;
    };
    "/v1/vms/{vm_id}/exec-await": {
        options: {
            params: PostV1VmsVmIdExecAwaitPathParams;
            body: PostV1VmsVmIdExecAwaitRequestBody;
            headers?: Record<string, string>;
        };
        response: ResponsePostV1VmsVmIdExecAwait200;
    };
    "/v1/vms/{vm_id}/fork": {
        options: {
            params: PostV1VmsVmIdForkPathParams;
            body: PostV1VmsVmIdForkRequestBody;
            headers?: Record<string, string>;
        };
        response: ResponsePostV1VmsVmIdFork200;
    };
    "/v1/vms/{vm_id}/kill": {
        options: {
            params: PostV1VmsVmIdKillPathParams;
            headers?: Record<string, string>;
        };
        response: ResponsePostV1VmsVmIdKill200;
    };
    "/v1/vms/{vm_id}/optimize": {
        options: {
            params: PostV1VmsVmIdOptimizePathParams;
            headers?: Record<string, string>;
        };
        response: ResponsePostV1VmsVmIdOptimize200;
    };
    "/v1/vms/{vm_id}/snapshot": {
        options: {
            params: PostV1VmsVmIdSnapshotPathParams;
            body: PostV1VmsVmIdSnapshotRequestBody;
            headers?: Record<string, string>;
        };
        response: ResponsePostV1VmsVmIdSnapshot200;
    };
    "/v1/vms/{vm_id}/start": {
        options: {
            params: PostV1VmsVmIdStartPathParams;
            body: PostV1VmsVmIdStartRequestBody;
            headers?: Record<string, string>;
        };
        response: ResponsePostV1VmsVmIdStart200;
    };
    "/v1/vms/{vm_id}/stop": {
        options: {
            params: PostV1VmsVmIdStopPathParams;
            headers?: Record<string, string>;
        };
        response: ResponsePostV1VmsVmIdStop200;
    };
    "/v1/vms/{vm_id}/suspend": {
        options: {
            params: PostV1VmsVmIdSuspendPathParams;
            headers?: Record<string, string>;
        };
        response: ResponsePostV1VmsVmIdSuspend200;
    };
    "/v1/vms/{vm_id}/systemd/restart": {
        options: {
            params: PostV1VmsVmIdSystemdRestartPathParams;
            body: PostV1VmsVmIdSystemdRestartRequestBody;
            headers?: Record<string, string>;
        };
        response: ResponsePostV1VmsVmIdSystemdRestart200;
    };
    "/v1/vms/{vm_id}/systemd/services": {
        options: {
            params: PostV1VmsVmIdSystemdServicesPathParams;
            body: PostV1VmsVmIdSystemdServicesRequestBody;
            headers?: Record<string, string>;
        };
        response: ResponsePostV1VmsVmIdSystemdServices200;
    };
    "/v1/vms/{vm_id}/systemd/start": {
        options: {
            params: PostV1VmsVmIdSystemdStartPathParams;
            body: PostV1VmsVmIdSystemdStartRequestBody;
            headers?: Record<string, string>;
        };
        response: ResponsePostV1VmsVmIdSystemdStart200;
    };
    "/v1/vms/{vm_id}/systemd/stop": {
        options: {
            params: PostV1VmsVmIdSystemdStopPathParams;
            body: PostV1VmsVmIdSystemdStopRequestBody;
            headers?: Record<string, string>;
        };
        response: ResponsePostV1VmsVmIdSystemdStop200;
    };
    "/v1/vms/{vm_id}/watch-files": {
        options: {
            params: PostV1VmsVmIdWatchFilesPathParams;
            headers?: Record<string, string>;
        };
        response: void;
    };
    "/web/v1/deploy": {
        options: {
            body: PostWebV1DeployRequestBody;
            headers?: Record<string, string>;
        };
        response: ResponsePostWebV1Deploy200;
    };
    "/web/v1/deployment": {
        options: {
            body: PostWebV1DeploymentRequestBody;
            headers?: Record<string, string>;
        };
        response: ResponsePostWebV1Deployment200;
    };
    "/web/v1/deployments/{deployment_id}/fetch": {
        options: {
            params: PostWebV1DeploymentsDeploymentIdFetchPathParams;
            headers?: Record<string, string>;
        };
        response: void;
    };
};
type PutPathMap = {
    "/domains/v1/verifications": {
        options: {
            body: PutDomainsV1VerificationsRequestBody;
            headers?: Record<string, string>;
        };
        response: ResponsePutDomainsV1Verifications200;
    };
    "/git/v1/repo/{repo_id}/default-branch": {
        options: {
            params: PutGitV1RepoRepoIdDefaultBranchPathParams;
            body: PutGitV1RepoRepoIdDefaultBranchRequestBody;
            headers?: Record<string, string>;
        };
        response: ResponsePutGitV1RepoRepoIdDefaultBranch200;
    };
    "/git/v1/repo/{repo_id}/visibility": {
        options: {
            params: PutGitV1RepoRepoIdVisibilityPathParams;
            body: PutGitV1RepoRepoIdVisibilityRequestBody;
            headers?: Record<string, string>;
        };
        response: ResponsePutGitV1RepoRepoIdVisibility200;
    };
    "/identity/v1/identities/{identity}/permissions/git/{repo}": {
        options: {
            params: PutIdentityV1IdentitiesIdentityPermissionsGitRepoPathParams;
            body: PutIdentityV1IdentitiesIdentityPermissionsGitRepoRequestBody;
            headers?: Record<string, string>;
        };
        response: ResponsePutIdentityV1IdentitiesIdentityPermissionsGitRepo200;
    };
    "/identity/v1/identities/{identity}/permissions/vm/{vm_id}": {
        options: {
            params: PutIdentityV1IdentitiesIdentityPermissionsVmVmIdPathParams;
            body: PutIdentityV1IdentitiesIdentityPermissionsVmVmIdRequestBody;
            headers?: Record<string, string>;
        };
        response: ResponsePutIdentityV1IdentitiesIdentityPermissionsVmVmId200;
    };
    "/v1/vms/{vm_id}/files/{filepath}": {
        options: {
            params: PutV1VmsVmIdFilesFilepathPathParams;
            body: PutV1VmsVmIdFilesFilepathRequestBody;
            headers?: Record<string, string>;
        };
        response: ResponsePutV1VmsVmIdFilesFilepath200;
    };
    "/web/v1/deployments/{deployment_id}/fetch": {
        options: {
            params: PutWebV1DeploymentsDeploymentIdFetchPathParams;
            headers?: Record<string, string>;
        };
        response: void;
    };
};
type DeletePathMap = {
    "/dns/v1/records": {
        options: {
            query?: DeleteDnsV1RecordsQueryParams;
            headers?: Record<string, string>;
        };
        response: ResponseDeleteDnsV1Records200;
    };
    "/domains/v1/mappings/{domain}": {
        options: {
            params: DeleteDomainsV1MappingsDomainPathParams;
            headers?: Record<string, string>;
        };
        response: ResponseDeleteDomainsV1MappingsDomain200;
    };
    "/domains/v1/verifications": {
        options: {
            body: DeleteDomainsV1VerificationsRequestBody;
            headers?: Record<string, string>;
        };
        response: ResponseDeleteDomainsV1Verifications200;
    };
    "/git/v1/identity/{identity}": {
        options: {
            params: DeleteGitV1IdentityIdentityPathParams;
            headers?: Record<string, string>;
        };
        response: ResponseDeleteGitV1IdentityIdentity200;
    };
    "/git/v1/identity/{identity}/permissions/{repo}": {
        options: {
            params: DeleteGitV1IdentityIdentityPermissionsRepoPathParams;
            headers?: Record<string, string>;
        };
        response: ResponseDeleteGitV1IdentityIdentityPermissionsRepo200;
    };
    "/git/v1/identity/{identity}/tokens": {
        options: {
            params: DeleteGitV1IdentityIdentityTokensPathParams;
            body: DeleteGitV1IdentityIdentityTokensRequestBody;
            headers?: Record<string, string>;
        };
        response: ResponseDeleteGitV1IdentityIdentityTokens200;
    };
    "/git/v1/repo/{repo_id}/github-sync": {
        options: {
            params: DeleteGitV1RepoRepoIdGithubSyncPathParams;
            headers?: Record<string, string>;
        };
        response: void;
    };
    "/git/v1/repo/{repo}": {
        options: {
            params: DeleteGitV1RepoRepoPathParams;
            headers?: Record<string, string>;
        };
        response: ResponseDeleteGitV1RepoRepo200;
    };
    "/git/v1/repo/{repo}/repair/{job_id}": {
        options: {
            params: DeleteGitV1RepoRepoRepairJobIdPathParams;
            headers?: Record<string, string>;
        };
        response: ResponseDeleteGitV1RepoRepoRepairJobId200;
    };
    "/git/v1/repo/{repo}/trigger/{trigger}": {
        options: {
            params: DeleteGitV1RepoRepoTriggerTriggerPathParams;
            headers?: Record<string, string>;
        };
        response: ResponseDeleteGitV1RepoRepoTriggerTrigger200;
    };
    "/identity/v1/identities/{identity}": {
        options: {
            params: DeleteIdentityV1IdentitiesIdentityPathParams;
            headers?: Record<string, string>;
        };
        response: ResponseDeleteIdentityV1IdentitiesIdentity200;
    };
    "/identity/v1/identities/{identity}/permissions/git/{repo}": {
        options: {
            params: DeleteIdentityV1IdentitiesIdentityPermissionsGitRepoPathParams;
            headers?: Record<string, string>;
        };
        response: ResponseDeleteIdentityV1IdentitiesIdentityPermissionsGitRepo200;
    };
    "/identity/v1/identities/{identity}/permissions/vm/{vm_id}": {
        options: {
            params: DeleteIdentityV1IdentitiesIdentityPermissionsVmVmIdPathParams;
            headers?: Record<string, string>;
        };
        response: ResponseDeleteIdentityV1IdentitiesIdentityPermissionsVmVmId200;
    };
    "/identity/v1/identities/{identity}/tokens/{token}": {
        options: {
            params: DeleteIdentityV1IdentitiesIdentityTokensTokenPathParams;
            headers?: Record<string, string>;
        };
        response: ResponseDeleteIdentityV1IdentitiesIdentityTokensToken200;
    };
    "/v1/cron/schedules/{id}": {
        options: {
            params: DeleteV1CronSchedulesIdPathParams;
            headers?: Record<string, string>;
        };
        response: ResponseDeleteV1CronSchedulesId200;
    };
    "/v1/vms/snapshots/{snapshot_id}": {
        options: {
            params: DeleteV1VmsSnapshotsSnapshotIdPathParams;
            headers?: Record<string, string>;
        };
        response: ResponseDeleteV1VmsSnapshotsSnapshotId200;
    };
    "/v1/vms/{vm_id}": {
        options: {
            params: DeleteV1VmsVmIdPathParams;
            headers?: Record<string, string>;
        };
        response: ResponseDeleteV1VmsVmId200;
    };
    "/v1/vms/{vm_id}/systemd/services/{service_id}": {
        options: {
            params: DeleteV1VmsVmIdSystemdServicesServiceIdPathParams;
            headers?: Record<string, string>;
        };
        response: ResponseDeleteV1VmsVmIdSystemdServicesServiceId200;
    };
    "/web/v1/deployments/{deployment_id}/fetch": {
        options: {
            params: DeleteWebV1DeploymentsDeploymentIdFetchPathParams;
            headers?: Record<string, string>;
        };
        response: void;
    };
};
type PatchPathMap = {
    "/git/v1/identity/{identity}/permissions/{repo}": {
        options: {
            params: PatchGitV1IdentityIdentityPermissionsRepoPathParams;
            body: PatchGitV1IdentityIdentityPermissionsRepoRequestBody;
            headers?: Record<string, string>;
        };
        response: void;
    };
    "/v1/cron/schedules/{id}": {
        options: {
            params: PatchV1CronSchedulesIdPathParams;
            body: PatchV1CronSchedulesIdRequestBody;
            headers?: Record<string, string>;
        };
        response: ResponsePatchV1CronSchedulesId200;
    };
    "/v1/vms/snapshots/{snapshot_id}": {
        options: {
            params: PatchV1VmsSnapshotsSnapshotIdPathParams;
            body: PatchV1VmsSnapshotsSnapshotIdRequestBody;
            headers?: Record<string, string>;
        };
        response: ResponsePatchV1VmsSnapshotsSnapshotId200;
    };
    "/web/v1/deployments/{deployment_id}/fetch": {
        options: {
            params: PatchWebV1DeploymentsDeploymentIdFetchPathParams;
            headers?: Record<string, string>;
        };
        response: void;
    };
};

type ApiClientConfig = {
    apiKey?: string;
    accessToken?: never;
    baseUrl?: string;
    fetch?: typeof fetch;
} | {
    accessToken: string;
    apiKey?: never;
    baseUrl?: string;
    fetch?: typeof fetch;
};
declare class ApiClient {
    private baseUrl;
    private apiKey;
    private accessToken;
    private fetchFn;
    constructor(config?: ApiClientConfig);
    private buildUrl;
    private getDefaultHeaders;
    private requestRaw;
    private request;
    fetch(url: string, options?: RequestInit): Promise<Response>;
    resolveUrl(path: string, params?: Record<string, string>, query?: Record<string, any>): string;
    getRaw<P extends keyof GetPathMap>(path: P, options?: GetPathMap[P]["options"]): Promise<Response>;
    postRaw<P extends keyof PostPathMap>(path: P, ...args: PostPathMap[P]["options"] extends undefined ? [options?: PostPathMap[P]["options"]] : [options: PostPathMap[P]["options"]]): Promise<Response>;
    get<P extends keyof GetPathMap>(path: P, ...args: GetPathMap[P]["options"] extends undefined ? [options?: GetPathMap[P]["options"]] : [options: GetPathMap[P]["options"]]): Promise<GetPathMap[P]["response"]>;
    post<P extends keyof PostPathMap>(path: P, ...args: PostPathMap[P]["options"] extends undefined ? [options?: PostPathMap[P]["options"]] : [options: PostPathMap[P]["options"]]): Promise<PostPathMap[P]["response"]>;
    put<P extends keyof PutPathMap>(path: P, ...args: PutPathMap[P]["options"] extends undefined ? [options?: PutPathMap[P]["options"]] : [options: PutPathMap[P]["options"]]): Promise<PutPathMap[P]["response"]>;
    delete<P extends keyof DeletePathMap>(path: P, ...args: DeletePathMap[P]["options"] extends undefined ? [options?: DeletePathMap[P]["options"]] : [options: DeletePathMap[P]["options"]]): Promise<DeletePathMap[P]["response"]>;
    patch<P extends keyof PatchPathMap>(path: P, ...args: PatchPathMap[P]["options"] extends undefined ? [options?: PatchPathMap[P]["options"]] : [options: PatchPathMap[P]["options"]]): Promise<PatchPathMap[P]["response"]>;
}

interface FreestyleError {
    code: keyof typeof FREESTYLE_ERROR_CODE_MAP;
    message: string;
}
declare function errorFromJSON(body: object & FreestyleError, traceId?: string): Error;
declare class GitErrorError extends Error {
    body: unknown & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: unknown & FreestyleError, traceId?: string | undefined);
}
declare class BadParseError extends Error {
    body: unknown & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: unknown & FreestyleError, traceId?: string | undefined);
}
declare class BadTimestampError extends Error {
    body: unknown & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: unknown & FreestyleError, traceId?: string | undefined);
}
declare class BadSignatureError extends Error {
    body: unknown & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: unknown & FreestyleError, traceId?: string | undefined);
}
declare class BadHeaderError extends Error {
    body: unknown & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: unknown & FreestyleError, traceId?: string | undefined);
}
declare class BadKeyError extends Error {
    body: unknown & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: unknown & FreestyleError, traceId?: string | undefined);
}
interface VmOperationDeniedDuringTransactionPublic {
    vmId: VmId;
    transactionId: string;
    [k: string]: unknown;
}
declare class VmOperationDeniedDuringTransactionError extends Error {
    body: VmOperationDeniedDuringTransactionPublic & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: VmOperationDeniedDuringTransactionPublic & FreestyleError, traceId?: string | undefined);
}
interface VmTransactionIdMismatchPublic {
    vmId: VmId;
    expectedTransactionId: string;
    providedTransactionId: string;
    [k: string]: unknown;
}
declare class VmTransactionIdMismatchError extends Error {
    body: VmTransactionIdMismatchPublic & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: VmTransactionIdMismatchPublic & FreestyleError, traceId?: string | undefined);
}
declare class VmNotInTransactionError extends Error {
    body: unknown & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: unknown & FreestyleError, traceId?: string | undefined);
}
declare class PartitionNotFoundError extends Error {
    body: unknown & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: unknown & FreestyleError, traceId?: string | undefined);
}
declare class UserNotFoundError extends Error {
    body: unknown & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: unknown & FreestyleError, traceId?: string | undefined);
}
interface PublicUserAlreadyExists {
    userName: string;
    [k: string]: unknown;
}
declare class UserAlreadyExistsError extends Error {
    body: PublicUserAlreadyExists & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: PublicUserAlreadyExists & FreestyleError, traceId?: string | undefined);
}
declare class ValidationErrorError extends Error {
    body: unknown & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: unknown & FreestyleError, traceId?: string | undefined);
}
declare class GroupNotFoundError extends Error {
    body: unknown & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: unknown & FreestyleError, traceId?: string | undefined);
}
interface PublicGroupAlreadyExists {
    groupName: string;
    [k: string]: unknown;
}
declare class GroupAlreadyExistsError extends Error {
    body: PublicGroupAlreadyExists & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: PublicGroupAlreadyExists & FreestyleError, traceId?: string | undefined);
}
declare class DuplicateUserNameError extends Error {
    body: unknown & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: unknown & FreestyleError, traceId?: string | undefined);
}
declare class UserGroupEmptyError extends Error {
    body: unknown & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: unknown & FreestyleError, traceId?: string | undefined);
}
declare class UserSystemFlagMismatchError extends Error {
    body: unknown & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: unknown & FreestyleError, traceId?: string | undefined);
}
declare class UserUidOutOfRangeError extends Error {
    body: unknown & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: unknown & FreestyleError, traceId?: string | undefined);
}
declare class UserHomeInvalidError extends Error {
    body: unknown & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: unknown & FreestyleError, traceId?: string | undefined);
}
declare class UserShellInvalidError extends Error {
    body: unknown & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: unknown & FreestyleError, traceId?: string | undefined);
}
declare class DuplicateGroupNameError extends Error {
    body: unknown & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: unknown & FreestyleError, traceId?: string | undefined);
}
declare class GroupNameReservedError extends Error {
    body: unknown & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: unknown & FreestyleError, traceId?: string | undefined);
}
declare class GroupNameInvalidCharsError extends Error {
    body: unknown & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: unknown & FreestyleError, traceId?: string | undefined);
}
declare class GroupNameTooLongError extends Error {
    body: unknown & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: unknown & FreestyleError, traceId?: string | undefined);
}
declare class GroupNameEmptyError extends Error {
    body: unknown & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: unknown & FreestyleError, traceId?: string | undefined);
}
declare class NoDefaultSnapshotAvailableError extends Error {
    body: unknown & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: unknown & FreestyleError, traceId?: string | undefined);
}
declare class DockerSnapshotFailedError extends Error {
    body: unknown & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: unknown & FreestyleError, traceId?: string | undefined);
}
declare class SetDefaultSnapshotFailedError extends Error {
    body: unknown & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: unknown & FreestyleError, traceId?: string | undefined);
}
declare class SnapshotLayerCreationFailedError extends Error {
    body: unknown & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: unknown & FreestyleError, traceId?: string | undefined);
}
declare class SnapshotDirNotFoundError extends Error {
    body: unknown & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: unknown & FreestyleError, traceId?: string | undefined);
}
declare class SubvolumeCreationFailedError extends Error {
    body: unknown & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: unknown & FreestyleError, traceId?: string | undefined);
}
declare class GetDefaultSnapshotFailedError extends Error {
    body: unknown & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: unknown & FreestyleError, traceId?: string | undefined);
}
declare class VmNotFoundInFsError extends Error {
    body: unknown & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: unknown & FreestyleError, traceId?: string | undefined);
}
declare class DatabaseErrorError extends Error {
    body: unknown & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: unknown & FreestyleError, traceId?: string | undefined);
}
interface PublicInvalidVmId {
    vmId: string;
    details: string;
    [k: string]: unknown;
}
declare class InvalidVmIdError extends Error {
    body: PublicInvalidVmId & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: PublicInvalidVmId & FreestyleError, traceId?: string | undefined);
}
interface PublicVmDeleted {
    vmId: VmId;
    [k: string]: unknown;
}
declare class VmDeletedError extends Error {
    body: PublicVmDeleted & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: PublicVmDeleted & FreestyleError, traceId?: string | undefined);
}
declare class VmNotRunningError extends Error {
    body: unknown & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: unknown & FreestyleError, traceId?: string | undefined);
}
declare class ActiveTransactionErrorError extends Error {
    body: unknown & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: unknown & FreestyleError, traceId?: string | undefined);
}
declare class SwapVmTapError extends Error {
    body: unknown & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: unknown & FreestyleError, traceId?: string | undefined);
}
declare class PreassignedVmIdCountMismatchError extends Error {
    body: unknown & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: unknown & FreestyleError, traceId?: string | undefined);
}
declare class InternalErrorError extends Error {
    body: unknown & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: unknown & FreestyleError, traceId?: string | undefined);
}
declare class RootfsCopyErrorError extends Error {
    body: unknown & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: unknown & FreestyleError, traceId?: string | undefined);
}
interface PublicFileNotFound {
    path: string;
    [k: string]: unknown;
}
declare class FileNotFoundError extends Error {
    body: PublicFileNotFound & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: PublicFileNotFound & FreestyleError, traceId?: string | undefined);
}
interface PublicFilesBadRequest {
    message: string;
    [k: string]: unknown;
}
declare class FilesBadRequestError extends Error {
    body: PublicFilesBadRequest & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: PublicFilesBadRequest & FreestyleError, traceId?: string | undefined);
}
interface VmNotFoundPublic {
    vmId: VmId;
    [k: string]: unknown;
}
declare class VmNotFoundError extends Error {
    body: VmNotFoundPublic & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: VmNotFoundPublic & FreestyleError, traceId?: string | undefined);
}
interface PublicInternalForkVmNotFound {
    forkVmId: VmId;
    [k: string]: unknown;
}
declare class InternalForkVmNotFoundError extends Error {
    body: PublicInternalForkVmNotFound & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: PublicInternalForkVmNotFound & FreestyleError, traceId?: string | undefined);
}
interface PublicBadRequest {
    message: string;
    [k: string]: unknown;
}
declare class BadRequestError extends Error {
    body: PublicBadRequest & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: PublicBadRequest & FreestyleError, traceId?: string | undefined);
}
type VmId = string;
type VmId = string;
type VmId = string;
type VmId = string;
type VmId = string;
type VmId = string;
interface PublicInternalVmNotFound {
    vmId: VmId;
    [k: string]: unknown;
}
declare class InternalVmNotFoundError extends Error {
    body: PublicInternalVmNotFound & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: PublicInternalVmNotFound & FreestyleError, traceId?: string | undefined);
}
interface PublicSnapshotIsAccountDefault {
    snapshotId: SnapshotId;
    [k: string]: unknown;
}
declare class SnapshotIsAccountDefaultError extends Error {
    body: PublicSnapshotIsAccountDefault & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: PublicSnapshotIsAccountDefault & FreestyleError, traceId?: string | undefined);
}
interface PublicSnapshotAlreadyDeleted {
    snapshotId: SnapshotId;
    [k: string]: unknown;
}
declare class SnapshotAlreadyDeletedError extends Error {
    body: PublicSnapshotAlreadyDeleted & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: PublicSnapshotAlreadyDeleted & FreestyleError, traceId?: string | undefined);
}
interface PublicSnapshotNotFound {
    snapshotId: SnapshotId;
    [k: string]: unknown;
}
declare class SnapshotNotFoundError extends Error {
    body: PublicSnapshotNotFound & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: PublicSnapshotNotFound & FreestyleError, traceId?: string | undefined);
}
/**
 * Branded snapshot ID in the format `sc-<20 lowercase alphanumeric chars>`.
 * Unlike `VmShortId`, this is a plain `String` wrapper with no fixed-size array or padding.
 */
type SnapshotId = string;
/**
 * Branded snapshot ID in the format `sc-<20 lowercase alphanumeric chars>`.
 * Unlike `VmShortId`, this is a plain `String` wrapper with no fixed-size array or padding.
 */
type SnapshotId = string;
/**
 * Branded snapshot ID in the format `sc-<20 lowercase alphanumeric chars>`.
 * Unlike `VmShortId`, this is a plain `String` wrapper with no fixed-size array or padding.
 */
type SnapshotId = string;
/**
 * Branded snapshot ID in the format `sc-<20 lowercase alphanumeric chars>`.
 * Unlike `VmShortId`, this is a plain `String` wrapper with no fixed-size array or padding.
 */
type SnapshotId = string;
interface PublicSnapshotSetupFailed {
    snapshotId: SnapshotId;
    failedReason: string;
    [k: string]: unknown;
}
declare class SnapshotSetupFailedError extends Error {
    body: PublicSnapshotSetupFailed & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: PublicSnapshotSetupFailed & FreestyleError, traceId?: string | undefined);
}
interface PublicSnapshotVmBadRequest {
    message: string;
    [k: string]: unknown;
}
declare class SnapshotVmBadRequestError extends Error {
    body: PublicSnapshotVmBadRequest & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: PublicSnapshotVmBadRequest & FreestyleError, traceId?: string | undefined);
}
declare class StartingHandleInstanceIdMismatchError extends Error {
    body: unknown & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: unknown & FreestyleError, traceId?: string | undefined);
}
declare class SuspendFailedAndStopFailedError extends Error {
    body: unknown & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: unknown & FreestyleError, traceId?: string | undefined);
}
declare class SuspendFailedAndStoppedError extends Error {
    body: unknown & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: unknown & FreestyleError, traceId?: string | undefined);
}
interface PublicResizeVmMemNotPowerOfTwo {
    got: number;
    [k: string]: unknown;
}
declare class ResizeVmMemNotPowerOfTwoError extends Error {
    body: PublicResizeVmMemNotPowerOfTwo & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: PublicResizeVmMemNotPowerOfTwo & FreestyleError, traceId?: string | undefined);
}
interface PublicResizeVmVcpuNotPowerOfTwo {
    got: number;
    [k: string]: unknown;
}
declare class ResizeVmVcpuNotPowerOfTwoError extends Error {
    body: PublicResizeVmVcpuNotPowerOfTwo & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: PublicResizeVmVcpuNotPowerOfTwo & FreestyleError, traceId?: string | undefined);
}
interface PublicResizeVmMemOutOfRange {
    got: number;
    min: number;
    max: number;
    [k: string]: unknown;
}
declare class ResizeVmMemOutOfRangeError extends Error {
    body: PublicResizeVmMemOutOfRange & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: PublicResizeVmMemOutOfRange & FreestyleError, traceId?: string | undefined);
}
interface PublicResizeVmVcpuOutOfRange {
    got: number;
    max: number;
    [k: string]: unknown;
}
declare class ResizeVmVcpuOutOfRangeError extends Error {
    body: PublicResizeVmVcpuOutOfRange & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: PublicResizeVmVcpuOutOfRange & FreestyleError, traceId?: string | undefined);
}
interface PublicResizeVmRootfsShrinkNotSupported {
    currentMb: number;
    requestedMb: number;
    [k: string]: unknown;
}
declare class ResizeVmRootfsShrinkNotSupportedError extends Error {
    body: PublicResizeVmRootfsShrinkNotSupported & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: PublicResizeVmRootfsShrinkNotSupported & FreestyleError, traceId?: string | undefined);
}
declare class ResizeVmEmptyRequestError extends Error {
    body: unknown & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: unknown & FreestyleError, traceId?: string | undefined);
}
interface PublicExecTimedOut {
    timeoutMs: number;
    stdout?: string | null;
    stderr?: string | null;
    [k: string]: unknown;
}
declare class ExecTimedOutError extends Error {
    body: PublicExecTimedOut & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: PublicExecTimedOut & FreestyleError, traceId?: string | undefined);
}
interface ConflictingSpecSourcesErrorPublic {
    /**
     * Depth of the offending layer measured from the outermost (0).
     */
    depth: number;
    /**
     * First offending source field, camelCase.
     */
    fieldA: string;
    /**
     * Second offending source field, camelCase.
     */
    fieldB: string;
    [k: string]: unknown;
}
declare class ConflictingSpecSourcesErrorError extends Error {
    body: ConflictingSpecSourcesErrorPublic & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: ConflictingSpecSourcesErrorPublic & FreestyleError, traceId?: string | undefined);
}
interface NonLeafLayerFieldErrorPublic {
    /**
     * Depth of the offending layer measured from the outermost (0).
     */
    depth: number;
    /**
     * camelCase name of the offending field: one of `vcpuCount`,
     * `memSizeGb`, `rootfsSizeGb`, `snapshotId`, `baseImage`.
     */
    field: string;
    [k: string]: unknown;
}
declare class NonLeafLayerFieldErrorError extends Error {
    body: NonLeafLayerFieldErrorPublic & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: NonLeafLayerFieldErrorPublic & FreestyleError, traceId?: string | undefined);
}
declare class InvalidGitRepoSpecErrorError extends Error {
    body: unknown & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: unknown & FreestyleError, traceId?: string | undefined);
}
interface PublicForkVmNotFound {
    forkVmId: string;
    [k: string]: unknown;
}
declare class ForkVmNotFoundError extends Error {
    body: PublicForkVmNotFound & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: PublicForkVmNotFound & FreestyleError, traceId?: string | undefined);
}
interface PublicCreateSnapshotBadRequest {
    message: string;
    [k: string]: unknown;
}
declare class CreateSnapshotBadRequestError extends Error {
    body: PublicCreateSnapshotBadRequest & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: PublicCreateSnapshotBadRequest & FreestyleError, traceId?: string | undefined);
}
interface PublicUnsupportedOs {
    os: string;
    [k: string]: unknown;
}
declare class UnsupportedOsError extends Error {
    body: PublicUnsupportedOs & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: PublicUnsupportedOs & FreestyleError, traceId?: string | undefined);
}
interface PublicBuildFailed {
    exitCode: number;
    stderr: string;
    [k: string]: unknown;
}
declare class BuildFailedError extends Error {
    body: PublicBuildFailed & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: PublicBuildFailed & FreestyleError, traceId?: string | undefined);
}
declare class ResumedVmNonResponsiveError extends Error {
    body: unknown & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: unknown & FreestyleError, traceId?: string | undefined);
}
declare class SnapshotLoadTimeoutError extends Error {
    body: unknown & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: unknown & FreestyleError, traceId?: string | undefined);
}
declare class UffdTimeoutErrorError extends Error {
    body: unknown & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: unknown & FreestyleError, traceId?: string | undefined);
}
declare class KernelPanicError extends Error {
    body: unknown & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: unknown & FreestyleError, traceId?: string | undefined);
}
declare class ReqwestError extends Error {
    body: unknown & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: unknown & FreestyleError, traceId?: string | undefined);
}
declare class FirecrackerPidNotFoundError extends Error {
    body: unknown & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: unknown & FreestyleError, traceId?: string | undefined);
}
declare class FirecrackerApiSocketNotFoundError extends Error {
    body: unknown & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: unknown & FreestyleError, traceId?: string | undefined);
}
declare class InvalidSnapshotIdError extends Error {
    body: unknown & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: unknown & FreestyleError, traceId?: string | undefined);
}
declare class VmStartTimeoutError extends Error {
    body: unknown & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: unknown & FreestyleError, traceId?: string | undefined);
}
declare class VmIsSuspendingError extends Error {
    body: unknown & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: unknown & FreestyleError, traceId?: string | undefined);
}
declare class VmExitDuringStartError extends Error {
    body: unknown & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: unknown & FreestyleError, traceId?: string | undefined);
}
declare class VmAccessDeniedError extends Error {
    body: unknown & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: unknown & FreestyleError, traceId?: string | undefined);
}
declare class FailedToSpawnUffdError extends Error {
    body: unknown & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: unknown & FreestyleError, traceId?: string | undefined);
}
declare class VmSpawnProcessError extends Error {
    body: unknown & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: unknown & FreestyleError, traceId?: string | undefined);
}
declare class VmSubnetNotFoundError extends Error {
    body: unknown & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: unknown & FreestyleError, traceId?: string | undefined);
}
interface PublicCreateVmMemNotPowerOfTwo {
    got: number;
    [k: string]: unknown;
}
declare class CreateVmMemNotPowerOfTwoError extends Error {
    body: PublicCreateVmMemNotPowerOfTwo & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: PublicCreateVmMemNotPowerOfTwo & FreestyleError, traceId?: string | undefined);
}
interface PublicCreateVmVcpuNotPowerOfTwo {
    got: number;
    [k: string]: unknown;
}
declare class CreateVmVcpuNotPowerOfTwoError extends Error {
    body: PublicCreateVmVcpuNotPowerOfTwo & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: PublicCreateVmVcpuNotPowerOfTwo & FreestyleError, traceId?: string | undefined);
}
interface PublicCreateVmRootfsOutOfRange {
    got: number;
    min: number;
    max: number;
    [k: string]: unknown;
}
declare class CreateVmRootfsOutOfRangeError extends Error {
    body: PublicCreateVmRootfsOutOfRange & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: PublicCreateVmRootfsOutOfRange & FreestyleError, traceId?: string | undefined);
}
interface PublicCreateVmMemOutOfRange {
    got: number;
    min: number;
    max: number;
    [k: string]: unknown;
}
declare class CreateVmMemOutOfRangeError extends Error {
    body: PublicCreateVmMemOutOfRange & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: PublicCreateVmMemOutOfRange & FreestyleError, traceId?: string | undefined);
}
interface PublicCreateVmVcpuOutOfRange {
    got: number;
    max: number;
    [k: string]: unknown;
}
declare class CreateVmVcpuOutOfRangeError extends Error {
    body: PublicCreateVmVcpuOutOfRange & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: PublicCreateVmVcpuOutOfRange & FreestyleError, traceId?: string | undefined);
}
interface PublicCreateVmBadRequest {
    message: string;
    [k: string]: unknown;
}
declare class CreateVmBadRequestError extends Error {
    body: PublicCreateVmBadRequest & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: PublicCreateVmBadRequest & FreestyleError, traceId?: string | undefined);
}
interface VmSetupFailedPublic {
    snapshotId?: string | null;
    failedReason: string;
    diagnostics?: PostBootDiagnostics | null;
    [k: string]: unknown;
}
interface PostBootDiagnostics {
    /**
     * Summary of all systemd service states grouped by (active_state, sub_state)
     */
    serviceStates: ServiceStateGroup[];
    /**
     * Journald logs for all services in a failed state
     */
    failedServiceLogs: ServiceLog[];
    [k: string]: unknown;
}
interface ServiceStateGroup {
    activeState: string;
    subState: string;
    services: string[];
    [k: string]: unknown;
}
interface ServiceLog {
    unitName: string;
    log: string;
    [k: string]: unknown;
}
declare class VmSetupFailedError extends Error {
    body: VmSetupFailedPublic & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: VmSetupFailedPublic & FreestyleError, traceId?: string | undefined);
}
declare class WantedByEmptyError extends Error {
    body: unknown & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: unknown & FreestyleError, traceId?: string | undefined);
}
declare class WorkdirEmptyError extends Error {
    body: unknown & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: unknown & FreestyleError, traceId?: string | undefined);
}
declare class GroupEmptyError extends Error {
    body: unknown & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: unknown & FreestyleError, traceId?: string | undefined);
}
declare class UserEmptyError extends Error {
    body: unknown & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: unknown & FreestyleError, traceId?: string | undefined);
}
declare class OnFailureArrayContainsEmptyError extends Error {
    body: unknown & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: unknown & FreestyleError, traceId?: string | undefined);
}
declare class RequiresArrayContainsEmptyError extends Error {
    body: unknown & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: unknown & FreestyleError, traceId?: string | undefined);
}
declare class AfterArrayContainsEmptyError extends Error {
    body: unknown & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: unknown & FreestyleError, traceId?: string | undefined);
}
declare class EnvKeyContainsEqualsError extends Error {
    body: unknown & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: unknown & FreestyleError, traceId?: string | undefined);
}
declare class EnvKeyEmptyError extends Error {
    body: unknown & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: unknown & FreestyleError, traceId?: string | undefined);
}
declare class ExecEmptyError extends Error {
    body: unknown & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: unknown & FreestyleError, traceId?: string | undefined);
}
declare class ServiceNameTooLongError extends Error {
    body: unknown & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: unknown & FreestyleError, traceId?: string | undefined);
}
declare class ServiceNameInvalidPrefixError extends Error {
    body: unknown & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: unknown & FreestyleError, traceId?: string | undefined);
}
declare class ServiceNameInvalidCharsError extends Error {
    body: unknown & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: unknown & FreestyleError, traceId?: string | undefined);
}
declare class ServiceNameEmptyError extends Error {
    body: unknown & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: unknown & FreestyleError, traceId?: string | undefined);
}
interface PublicServiceAlreadyExists {
    serviceName: string;
    [k: string]: unknown;
}
declare class ServiceAlreadyExistsError extends Error {
    body: PublicServiceAlreadyExists & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: PublicServiceAlreadyExists & FreestyleError, traceId?: string | undefined);
}
declare class ServiceNotFoundError extends Error {
    body: unknown & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: unknown & FreestyleError, traceId?: string | undefined);
}
declare class InvalidRequestError extends Error {
    body: unknown & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: unknown & FreestyleError, traceId?: string | undefined);
}
declare class RepoNotFoundError extends Error {
    body: unknown & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: unknown & FreestyleError, traceId?: string | undefined);
}
type JavascriptLog = {
    message: string;
    callstack?: string | null;
    type: "log";
    [k: string]: unknown;
} | {
    message: string;
    callstack?: string | null;
    type: "error";
    [k: string]: unknown;
};
interface PublicRuntimeError {
    message: string;
    logs: JavascriptLog[];
    stack?: string | null;
    [k: string]: unknown;
}
declare class RuntimeErrorError extends Error {
    body: PublicRuntimeError & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: PublicRuntimeError & FreestyleError, traceId?: string | undefined);
}
declare class SyntaxErrorError extends Error {
    body: unknown & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: unknown & FreestyleError, traceId?: string | undefined);
}
declare class InternalError extends Error {
    body: unknown & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: unknown & FreestyleError, traceId?: string | undefined);
}
declare class SigningError extends Error {
    body: unknown & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: unknown & FreestyleError, traceId?: string | undefined);
}
declare class InvalidSignatureError extends Error {
    body: unknown & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: unknown & FreestyleError, traceId?: string | undefined);
}
declare class InvalidParametersError extends Error {
    body: unknown & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: unknown & FreestyleError, traceId?: string | undefined);
}
declare class MaxUsesExceededError extends Error {
    body: unknown & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: unknown & FreestyleError, traceId?: string | undefined);
}
declare class ExpiredError extends Error {
    body: unknown & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: unknown & FreestyleError, traceId?: string | undefined);
}
declare class NotFoundError extends Error {
    body: unknown & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: unknown & FreestyleError, traceId?: string | undefined);
}
interface PublicTreeNotFound {
    hash: string;
    [k: string]: unknown;
}
declare class TreeNotFoundError extends Error {
    body: PublicTreeNotFound & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: PublicTreeNotFound & FreestyleError, traceId?: string | undefined);
}
interface PublicBranchNotFound {
    branch: string;
    [k: string]: unknown;
}
declare class BranchNotFoundError extends Error {
    body: PublicBranchNotFound & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: PublicBranchNotFound & FreestyleError, traceId?: string | undefined);
}
interface PublicCommitNotFound {
    hash: string;
    [k: string]: unknown;
}
declare class CommitNotFoundError extends Error {
    body: PublicCommitNotFound & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: PublicCommitNotFound & FreestyleError, traceId?: string | undefined);
}
interface PublicParentNotFound {
    sha: string;
    [k: string]: unknown;
}
declare class ParentNotFoundError extends Error {
    body: PublicParentNotFound & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: PublicParentNotFound & FreestyleError, traceId?: string | undefined);
}
declare class NoDefaultBranchError extends Error {
    body: unknown & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: unknown & FreestyleError, traceId?: string | undefined);
}
interface PublicInvalidBase64Content {
    path: string;
    [k: string]: unknown;
}
declare class InvalidBase64ContentError extends Error {
    body: PublicInvalidBase64Content & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: PublicInvalidBase64Content & FreestyleError, traceId?: string | undefined);
}
interface PublicInvalidFileChange {
    path: string;
    [k: string]: unknown;
}
declare class InvalidFileChangeError extends Error {
    body: PublicInvalidFileChange & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: PublicInvalidFileChange & FreestyleError, traceId?: string | undefined);
}
interface PublicInvalidFilePath {
    path: string;
    [k: string]: unknown;
}
declare class InvalidFilePathError extends Error {
    body: PublicInvalidFilePath & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: PublicInvalidFilePath & FreestyleError, traceId?: string | undefined);
}
interface PublicConflictingParent {
    expected: string;
    actual?: string | null;
    [k: string]: unknown;
}
declare class ConflictingParentError extends Error {
    body: PublicConflictingParent & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: PublicConflictingParent & FreestyleError, traceId?: string | undefined);
}
interface PublicAmbiguous {
    rev: string;
    [k: string]: unknown;
}
declare class AmbiguousError extends Error {
    body: PublicAmbiguous & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: PublicAmbiguous & FreestyleError, traceId?: string | undefined);
}
interface PublicInvalid {
    rev: string;
    [k: string]: unknown;
}
declare class InvalidError extends Error {
    body: PublicInvalid & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: PublicInvalid & FreestyleError, traceId?: string | undefined);
}
declare class ConflictError extends Error {
    body: unknown & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: unknown & FreestyleError, traceId?: string | undefined);
}
interface PublicBranchAlreadyExists {
    branch: string;
    [k: string]: unknown;
}
declare class BranchAlreadyExistsError extends Error {
    body: PublicBranchAlreadyExists & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: PublicBranchAlreadyExists & FreestyleError, traceId?: string | undefined);
}
interface PublicPathNotFound {
    path: string;
    [k: string]: unknown;
}
declare class PathNotFoundError extends Error {
    body: PublicPathNotFound & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: PublicPathNotFound & FreestyleError, traceId?: string | undefined);
}
interface PublicReferenceNotFound {
    reference: string;
    [k: string]: unknown;
}
declare class ReferenceNotFoundError extends Error {
    body: PublicReferenceNotFound & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: PublicReferenceNotFound & FreestyleError, traceId?: string | undefined);
}
declare class InvalidServiceError extends Error {
    body: unknown & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: unknown & FreestyleError, traceId?: string | undefined);
}
declare class ExpectedServiceError extends Error {
    body: unknown & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: unknown & FreestyleError, traceId?: string | undefined);
}
declare class UnauthorizedError extends Error {
    body: unknown & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: unknown & FreestyleError, traceId?: string | undefined);
}
declare class ForbiddenError extends Error {
    body: unknown & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: unknown & FreestyleError, traceId?: string | undefined);
}
interface PublicInvalidAccountId {
    accountId: string;
    [k: string]: unknown;
}
declare class InvalidAccountIdError extends Error {
    body: PublicInvalidAccountId & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: PublicInvalidAccountId & FreestyleError, traceId?: string | undefined);
}
declare class SourceImportConflictError extends Error {
    body: unknown & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: unknown & FreestyleError, traceId?: string | undefined);
}
interface PublicSourceUnauthorized {
    url: string;
    [k: string]: unknown;
}
declare class SourceUnauthorizedError extends Error {
    body: PublicSourceUnauthorized & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: PublicSourceUnauthorized & FreestyleError, traceId?: string | undefined);
}
interface PublicSourceNotFound {
    url: string;
    [k: string]: unknown;
}
declare class SourceNotFoundError extends Error {
    body: PublicSourceNotFound & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: PublicSourceNotFound & FreestyleError, traceId?: string | undefined);
}
interface PublicImportSubdirNotFound {
    /**
     * The resource type, e.g. "tar archive" or "zip archive"
     */
    source: string;
    dir: string;
    [k: string]: unknown;
}
declare class ImportSubdirNotFoundError extends Error {
    body: PublicImportSubdirNotFound & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: PublicImportSubdirNotFound & FreestyleError, traceId?: string | undefined);
}
interface PublicRepoAlreadyExists {
    repoId: string;
    [k: string]: unknown;
}
declare class RepoAlreadyExistsError extends Error {
    body: PublicRepoAlreadyExists & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: PublicRepoAlreadyExists & FreestyleError, traceId?: string | undefined);
}
interface PublicTagNotFound {
    hash: string;
    [k: string]: unknown;
}
declare class TagNotFoundError extends Error {
    body: PublicTagNotFound & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: PublicTagNotFound & FreestyleError, traceId?: string | undefined);
}
interface PublicInvalidRevision {
    revision: string;
    [k: string]: unknown;
}
declare class InvalidRevisionError extends Error {
    body: PublicInvalidRevision & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: PublicInvalidRevision & FreestyleError, traceId?: string | undefined);
}
interface PublicBlobNotFound {
    hash: string;
    [k: string]: unknown;
}
declare class BlobNotFoundError extends Error {
    body: PublicBlobNotFound & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: PublicBlobNotFound & FreestyleError, traceId?: string | undefined);
}
declare class SendErrorError extends Error {
    body: unknown & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: unknown & FreestyleError, traceId?: string | undefined);
}
type LfsTransferAdapter = ("basic" | "multipart" | "ssh") | {
    other: string;
};
interface PublicUnsupportedTransfer {
    requested: LfsTransferAdapter[];
    supported: LfsTransferAdapter[];
    [k: string]: unknown;
}
declare class UnsupportedTransferError extends Error {
    body: PublicUnsupportedTransfer & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: PublicUnsupportedTransfer & FreestyleError, traceId?: string | undefined);
}
interface PublicDiffInvalidPathPattern {
    reason: string;
    [k: string]: unknown;
}
declare class DiffInvalidPathPatternError extends Error {
    body: PublicDiffInvalidPathPattern & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: PublicDiffInvalidPathPattern & FreestyleError, traceId?: string | undefined);
}
interface PublicDiffInvalidRegex {
    reason: string;
    [k: string]: unknown;
}
declare class DiffInvalidRegexError extends Error {
    body: PublicDiffInvalidRegex & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: PublicDiffInvalidRegex & FreestyleError, traceId?: string | undefined);
}
declare class DiffEmptyQueryError extends Error {
    body: unknown & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: unknown & FreestyleError, traceId?: string | undefined);
}
interface PublicCommitInvalidRegex {
    reason: string;
    [k: string]: unknown;
}
declare class CommitInvalidRegexError extends Error {
    body: PublicCommitInvalidRegex & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: PublicCommitInvalidRegex & FreestyleError, traceId?: string | undefined);
}
declare class CommitEmptyQueryError extends Error {
    body: unknown & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: unknown & FreestyleError, traceId?: string | undefined);
}
interface PublicFilenameInvalidPattern {
    reason: string;
    [k: string]: unknown;
}
declare class FilenameInvalidPatternError extends Error {
    body: PublicFilenameInvalidPattern & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: PublicFilenameInvalidPattern & FreestyleError, traceId?: string | undefined);
}
declare class FilenameEmptyQueryError extends Error {
    body: unknown & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: unknown & FreestyleError, traceId?: string | undefined);
}
interface PublicInvalidRegex {
    reason: string;
    [k: string]: unknown;
}
declare class InvalidRegexError extends Error {
    body: PublicInvalidRegex & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: PublicInvalidRegex & FreestyleError, traceId?: string | undefined);
}
interface PublicInvalidPathPattern {
    reason: string;
    [k: string]: unknown;
}
declare class InvalidPathPatternError extends Error {
    body: PublicInvalidPathPattern & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: PublicInvalidPathPattern & FreestyleError, traceId?: string | undefined);
}
declare class EmptyQueryError extends Error {
    body: unknown & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: unknown & FreestyleError, traceId?: string | undefined);
}
declare class PackfileError extends Error {
    body: unknown & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: unknown & FreestyleError, traceId?: string | undefined);
}
interface PublicInvalidRange {
    since: string;
    until: string;
    [k: string]: unknown;
}
declare class InvalidRangeError extends Error {
    body: PublicInvalidRange & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: PublicInvalidRange & FreestyleError, traceId?: string | undefined);
}
declare class OffsetWithSelectorError extends Error {
    body: unknown & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: unknown & FreestyleError, traceId?: string | undefined);
}
interface PublicCommitNotInBranch {
    sha: string;
    branch: string;
    [k: string]: unknown;
}
declare class CommitNotInBranchError extends Error {
    body: PublicCommitNotInBranch & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: PublicCommitNotInBranch & FreestyleError, traceId?: string | undefined);
}
declare class GitHubSyncConflictError extends Error {
    body: unknown & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: unknown & FreestyleError, traceId?: string | undefined);
}
interface InvalidObjectIdPublic {
    hash: string;
    [k: string]: unknown;
}
declare class InvalidObjectIdError extends Error {
    body: InvalidObjectIdPublic & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: InvalidObjectIdPublic & FreestyleError, traceId?: string | undefined);
}
interface PublicTooManyConcurrentRepairs {
    current: number;
    limit: number;
    [k: string]: unknown;
}
declare class TooManyConcurrentRepairsError extends Error {
    body: PublicTooManyConcurrentRepairs & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: PublicTooManyConcurrentRepairs & FreestyleError, traceId?: string | undefined);
}
interface PublicAlreadyInProgress {
    existingJobId: string;
    [k: string]: unknown;
}
declare class AlreadyInProgressError extends Error {
    body: PublicAlreadyInProgress & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: PublicAlreadyInProgress & FreestyleError, traceId?: string | undefined);
}
interface PublicJobNotFound {
    jobId: string;
    [k: string]: unknown;
}
declare class JobNotFoundError extends Error {
    body: PublicJobNotFound & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: PublicJobNotFound & FreestyleError, traceId?: string | undefined);
}
declare class UnavailableError extends Error {
    body: unknown & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: unknown & FreestyleError, traceId?: string | undefined);
}
declare class ScheduleNotFoundError extends Error {
    body: unknown & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: unknown & FreestyleError, traceId?: string | undefined);
}
declare class ServiceUnavailableError extends Error {
    body: unknown & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: unknown & FreestyleError, traceId?: string | undefined);
}
interface PublicRepairAlreadyInProgress {
    existingJobId: string;
    [k: string]: unknown;
}
declare class RepairAlreadyInProgressError extends Error {
    body: PublicRepairAlreadyInProgress & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: PublicRepairAlreadyInProgress & FreestyleError, traceId?: string | undefined);
}
interface PublicMemoryStorageQuotaExceeded {
    limit: number;
    current: number;
    requested: number;
    [k: string]: unknown;
}
declare class MemoryStorageQuotaExceededError extends Error {
    body: PublicMemoryStorageQuotaExceeded & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: PublicMemoryStorageQuotaExceeded & FreestyleError, traceId?: string | undefined);
}
interface PublicRootfsStorageQuotaExceeded {
    limit: number;
    current: number;
    requested: number;
    [k: string]: unknown;
}
declare class RootfsStorageQuotaExceededError extends Error {
    body: PublicRootfsStorageQuotaExceeded & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: PublicRootfsStorageQuotaExceeded & FreestyleError, traceId?: string | undefined);
}
interface PublicRootfsSizeTooLarge {
    gotGb: number;
    [k: string]: unknown;
}
declare class RootfsSizeTooLargeError extends Error {
    body: PublicRootfsSizeTooLarge & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: PublicRootfsSizeTooLarge & FreestyleError, traceId?: string | undefined);
}
interface PublicMemSizeTooLarge {
    gotGb: number;
    [k: string]: unknown;
}
declare class MemSizeTooLargeError extends Error {
    body: PublicMemSizeTooLarge & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: PublicMemSizeTooLarge & FreestyleError, traceId?: string | undefined);
}
interface PublicRootfsOverPlanLimit {
    got: number;
    max: number;
    [k: string]: unknown;
}
declare class RootfsOverPlanLimitError extends Error {
    body: PublicRootfsOverPlanLimit & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: PublicRootfsOverPlanLimit & FreestyleError, traceId?: string | undefined);
}
interface PublicMemOverPlanLimit {
    got: number;
    max: number;
    [k: string]: unknown;
}
declare class MemOverPlanLimitError extends Error {
    body: PublicMemOverPlanLimit & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: PublicMemOverPlanLimit & FreestyleError, traceId?: string | undefined);
}
interface PublicVcpuOverPlanLimit {
    got: number;
    max: number;
    [k: string]: unknown;
}
declare class VcpuOverPlanLimitError extends Error {
    body: PublicVcpuOverPlanLimit & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: PublicVcpuOverPlanLimit & FreestyleError, traceId?: string | undefined);
}
declare class CustomSizingNotAllowedError extends Error {
    body: unknown & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: unknown & FreestyleError, traceId?: string | undefined);
}
interface PublicSnapshotLimitExceeded {
    limit: number;
    current: number;
    [k: string]: unknown;
}
declare class SnapshotLimitExceededError extends Error {
    body: PublicSnapshotLimitExceeded & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: PublicSnapshotLimitExceeded & FreestyleError, traceId?: string | undefined);
}
declare class PersistentVmsNotAllowedError extends Error {
    body: unknown & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: unknown & FreestyleError, traceId?: string | undefined);
}
interface PublicTotalVmLimitExceeded {
    limit: number;
    current: number;
    [k: string]: unknown;
}
declare class TotalVmLimitExceededError extends Error {
    body: PublicTotalVmLimitExceeded & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: PublicTotalVmLimitExceeded & FreestyleError, traceId?: string | undefined);
}
interface PublicVmLimitExceeded {
    limit: number;
    current: number;
    [k: string]: unknown;
}
declare class VmLimitExceededError extends Error {
    body: PublicVmLimitExceeded & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: PublicVmLimitExceeded & FreestyleError, traceId?: string | undefined);
}
interface PublicObservabilityDatabaseError {
    message: string;
    [k: string]: unknown;
}
declare class ObservabilityDatabaseErrorError extends Error {
    body: PublicObservabilityDatabaseError & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: PublicObservabilityDatabaseError & FreestyleError, traceId?: string | undefined);
}
interface PublicObservabilityAccessDenied {
    deploymentId: string;
    [k: string]: unknown;
}
declare class ObservabilityAccessDeniedError extends Error {
    body: PublicObservabilityAccessDenied & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: PublicObservabilityAccessDenied & FreestyleError, traceId?: string | undefined);
}
interface PublicParseLogsFailed {
    message: string;
    [k: string]: unknown;
}
declare class ParseLogsFailedError extends Error {
    body: PublicParseLogsFailed & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: PublicParseLogsFailed & FreestyleError, traceId?: string | undefined);
}
interface PublicRetrieveLogsFailed {
    message: string;
    [k: string]: unknown;
}
declare class RetrieveLogsFailedError extends Error {
    body: PublicRetrieveLogsFailed & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: PublicRetrieveLogsFailed & FreestyleError, traceId?: string | undefined);
}
interface PublicInvalidQuery {
    message: string;
    [k: string]: unknown;
}
declare class InvalidQueryError extends Error {
    body: PublicInvalidQuery & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: PublicInvalidQuery & FreestyleError, traceId?: string | undefined);
}
interface PublicLogsNotFound {
    deploymentId: string;
    [k: string]: unknown;
}
declare class LogsNotFoundError extends Error {
    body: PublicLogsNotFound & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: PublicLogsNotFound & FreestyleError, traceId?: string | undefined);
}
interface PublicTriggerError {
    message: string;
    [k: string]: unknown;
}
declare class TriggerErrorError extends Error {
    body: PublicTriggerError & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: PublicTriggerError & FreestyleError, traceId?: string | undefined);
}
interface PublicTokenError {
    message: string;
    [k: string]: unknown;
}
declare class TokenErrorError extends Error {
    body: PublicTokenError & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: PublicTokenError & FreestyleError, traceId?: string | undefined);
}
interface PublicPermissionError {
    message: string;
    [k: string]: unknown;
}
declare class PermissionErrorError extends Error {
    body: PublicPermissionError & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: PublicPermissionError & FreestyleError, traceId?: string | undefined);
}
interface PublicIdentityError {
    message: string;
    [k: string]: unknown;
}
declare class IdentityErrorError extends Error {
    body: PublicIdentityError & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: PublicIdentityError & FreestyleError, traceId?: string | undefined);
}
interface PublicGetContentFailed {
    message: string;
    [k: string]: unknown;
}
declare class GetContentFailedError extends Error {
    body: PublicGetContentFailed & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: PublicGetContentFailed & FreestyleError, traceId?: string | undefined);
}
interface PublicContentNotFound {
    path: string;
    [k: string]: unknown;
}
declare class ContentNotFoundError extends Error {
    body: PublicContentNotFound & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: PublicContentNotFound & FreestyleError, traceId?: string | undefined);
}
interface PublicDownloadFailed {
    message: string;
    [k: string]: unknown;
}
declare class DownloadFailedError extends Error {
    body: PublicDownloadFailed & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: PublicDownloadFailed & FreestyleError, traceId?: string | undefined);
}
interface PublicGitServerError {
    message: string;
    [k: string]: unknown;
}
declare class GitServerErrorError extends Error {
    body: PublicGitServerError & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: PublicGitServerError & FreestyleError, traceId?: string | undefined);
}
interface PublicParseResponseError {
    message: string;
    [k: string]: unknown;
}
declare class ParseResponseErrorError extends Error {
    body: PublicParseResponseError & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: PublicParseResponseError & FreestyleError, traceId?: string | undefined);
}
declare class RepositoryAccessDeniedError extends Error {
    body: unknown & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: unknown & FreestyleError, traceId?: string | undefined);
}
interface PublicGitHubSyncFailed {
    message: string;
    [k: string]: unknown;
}
declare class GitHubSyncFailedError extends Error {
    body: PublicGitHubSyncFailed & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: PublicGitHubSyncFailed & FreestyleError, traceId?: string | undefined);
}
interface PublicUpdateDefaultBranchFailed {
    message: string;
    [k: string]: unknown;
}
declare class UpdateDefaultBranchFailedError extends Error {
    body: PublicUpdateDefaultBranchFailed & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: PublicUpdateDefaultBranchFailed & FreestyleError, traceId?: string | undefined);
}
interface PublicGetRepositoryInfoFailed {
    message: string;
    [k: string]: unknown;
}
declare class GetRepositoryInfoFailedError extends Error {
    body: PublicGetRepositoryInfoFailed & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: PublicGetRepositoryInfoFailed & FreestyleError, traceId?: string | undefined);
}
interface PublicListRepositoriesFailed {
    message: string;
    [k: string]: unknown;
}
declare class ListRepositoriesFailedError extends Error {
    body: PublicListRepositoriesFailed & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: PublicListRepositoriesFailed & FreestyleError, traceId?: string | undefined);
}
interface PublicDeleteRepositoryFailed {
    message: string;
    [k: string]: unknown;
}
declare class DeleteRepositoryFailedError extends Error {
    body: PublicDeleteRepositoryFailed & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: PublicDeleteRepositoryFailed & FreestyleError, traceId?: string | undefined);
}
interface PublicCreateRepositoryFailed {
    message: string;
    [k: string]: unknown;
}
declare class CreateRepositoryFailedError extends Error {
    body: PublicCreateRepositoryFailed & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: PublicCreateRepositoryFailed & FreestyleError, traceId?: string | undefined);
}
interface PublicSerializationError {
    message: string;
    [k: string]: unknown;
}
declare class SerializationErrorError extends Error {
    body: PublicSerializationError & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: PublicSerializationError & FreestyleError, traceId?: string | undefined);
}
interface PublicGitInvalidRequest {
    message: string;
    [k: string]: unknown;
}
declare class GitInvalidRequestError extends Error {
    body: PublicGitInvalidRequest & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: PublicGitInvalidRequest & FreestyleError, traceId?: string | undefined);
}
interface PublicRepositoryNotFound {
    repoId: string;
    [k: string]: unknown;
}
declare class RepositoryNotFoundError extends Error {
    body: PublicRepositoryNotFound & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: PublicRepositoryNotFound & FreestyleError, traceId?: string | undefined);
}
declare class DomainOwnershipVerificationFailedError extends Error {
    body: unknown & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: unknown & FreestyleError, traceId?: string | undefined);
}
interface PublicErrorDeletingRecord {
    domain: string;
    name: string;
    message: string;
    [k: string]: unknown;
}
declare class ErrorDeletingRecordError extends Error {
    body: PublicErrorDeletingRecord & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: PublicErrorDeletingRecord & FreestyleError, traceId?: string | undefined);
}
interface PublicRecordOwnershipError {
    recordId: string;
    accountId: string;
    [k: string]: unknown;
}
declare class RecordOwnershipErrorError extends Error {
    body: PublicRecordOwnershipError & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: PublicRecordOwnershipError & FreestyleError, traceId?: string | undefined);
}
interface PublicErrorCreatingRecord {
    message: string;
    [k: string]: unknown;
}
declare class ErrorCreatingRecordError extends Error {
    body: PublicErrorCreatingRecord & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: PublicErrorCreatingRecord & FreestyleError, traceId?: string | undefined);
}
interface PublicDomainOwnershipError {
    domain: string;
    accountId: string;
    [k: string]: unknown;
}
declare class DomainOwnershipErrorError extends Error {
    body: PublicDomainOwnershipError & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: PublicDomainOwnershipError & FreestyleError, traceId?: string | undefined);
}
interface UnauthorizedErrorPublic {
    route: string;
    reason?: string | null;
    [k: string]: unknown;
}
declare class UnauthorizedErrorError extends Error {
    body: UnauthorizedErrorPublic & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: UnauthorizedErrorPublic & FreestyleError, traceId?: string | undefined);
}
declare class BranchNameEmptyError extends Error {
    body: unknown & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: unknown & FreestyleError, traceId?: string | undefined);
}
declare class ServerDeploymentFailedError extends Error {
    body: unknown & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: unknown & FreestyleError, traceId?: string | undefined);
}
interface PublicLockfileError {
    message: string;
    [k: string]: unknown;
}
declare class LockfileErrorError extends Error {
    body: PublicLockfileError & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: PublicLockfileError & FreestyleError, traceId?: string | undefined);
}
declare class UploadErrorError extends Error {
    body: unknown & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: unknown & FreestyleError, traceId?: string | undefined);
}
interface PublicDomainMappingError {
    domain: string;
    [k: string]: unknown;
}
declare class DomainMappingErrorError extends Error {
    body: PublicDomainMappingError & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: PublicDomainMappingError & FreestyleError, traceId?: string | undefined);
}
interface PublicCertificateProvisioningError {
    domain: string;
    reason?: string | null;
    [k: string]: unknown;
}
declare class CertificateProvisioningErrorError extends Error {
    body: PublicCertificateProvisioningError & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: PublicCertificateProvisioningError & FreestyleError, traceId?: string | undefined);
}
declare class NoEntrypointFoundError extends Error {
    body: unknown & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: unknown & FreestyleError, traceId?: string | undefined);
}
interface PublicEntrypointNotFound {
    entrypoint: string;
    [k: string]: unknown;
}
declare class EntrypointNotFoundError extends Error {
    body: PublicEntrypointNotFound & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: PublicEntrypointNotFound & FreestyleError, traceId?: string | undefined);
}
interface PublicNoDomainOwnership {
    domain: string;
    [k: string]: unknown;
}
declare class NoDomainOwnershipError extends Error {
    body: PublicNoDomainOwnership & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: PublicNoDomainOwnership & FreestyleError, traceId?: string | undefined);
}
interface PublicInvalidDomains {
    domains: string[];
    [k: string]: unknown;
}
declare class InvalidDomainsError extends Error {
    body: PublicInvalidDomains & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: PublicInvalidDomains & FreestyleError, traceId?: string | undefined);
}
interface PublicWebDeploymentBadRequest {
    message: string;
    [k: string]: unknown;
}
declare class WebDeploymentBadRequestError extends Error {
    body: PublicWebDeploymentBadRequest & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: PublicWebDeploymentBadRequest & FreestyleError, traceId?: string | undefined);
}
interface PublicTimeoutLimitExceeded {
    requestedMs: number;
    maxMs: number;
    [k: string]: unknown;
}
declare class TimeoutLimitExceededError extends Error {
    body: PublicTimeoutLimitExceeded & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: PublicTimeoutLimitExceeded & FreestyleError, traceId?: string | undefined);
}
interface PublicDeploymentLimitExceeded {
    limit: number;
    current: number;
    [k: string]: unknown;
}
declare class DeploymentLimitExceededError extends Error {
    body: PublicDeploymentLimitExceeded & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: PublicDeploymentLimitExceeded & FreestyleError, traceId?: string | undefined);
}
declare class DeploymentNotFoundError extends Error {
    body: unknown & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: unknown & FreestyleError, traceId?: string | undefined);
}
interface PublicResizeFailed {
    message: string;
    [k: string]: unknown;
}
declare class ResizeFailedError extends Error {
    body: PublicResizeFailed & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: PublicResizeFailed & FreestyleError, traceId?: string | undefined);
}
declare class InternalResizeVmNotFoundError extends Error {
    body: unknown & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: unknown & FreestyleError, traceId?: string | undefined);
}
declare class ExecuteLimitExceededError extends Error {
    body: unknown & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: unknown & FreestyleError, traceId?: string | undefined);
}
interface PublicDomainOwnershipNotVerified {
    domain: string;
    [k: string]: unknown;
}
declare class DomainOwnershipNotVerifiedError extends Error {
    body: PublicDomainOwnershipNotVerified & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: PublicDomainOwnershipNotVerified & FreestyleError, traceId?: string | undefined);
}
interface PublicVmAccessDeniedForMapping {
    vmId: string;
    [k: string]: unknown;
}
declare class VmAccessDeniedForMappingError extends Error {
    body: PublicVmAccessDeniedForMapping & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: PublicVmAccessDeniedForMapping & FreestyleError, traceId?: string | undefined);
}
interface PublicDeploymentAccessDenied {
    deploymentId: string;
    [k: string]: unknown;
}
declare class DeploymentAccessDeniedError extends Error {
    body: PublicDeploymentAccessDenied & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: PublicDeploymentAccessDenied & FreestyleError, traceId?: string | undefined);
}
interface PublicFailedToProvisionCertificateForMapping {
    message: string;
    [k: string]: unknown;
}
declare class FailedToProvisionCertificateForMappingError extends Error {
    body: PublicFailedToProvisionCertificateForMapping & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: PublicFailedToProvisionCertificateForMapping & FreestyleError, traceId?: string | undefined);
}
interface PublicFailedInsertDomainMapping {
    message: string;
    [k: string]: unknown;
}
declare class FailedInsertDomainMappingError extends Error {
    body: PublicFailedInsertDomainMapping & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: PublicFailedInsertDomainMapping & FreestyleError, traceId?: string | undefined);
}
interface PublicDomainAlreadyExists {
    domain: string;
    [k: string]: unknown;
}
declare class DomainAlreadyExistsError extends Error {
    body: PublicDomainAlreadyExists & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: PublicDomainAlreadyExists & FreestyleError, traceId?: string | undefined);
}
interface PublicFailedToInsertOwnership {
    message: string;
    [k: string]: unknown;
}
declare class FailedToInsertOwnershipError extends Error {
    body: PublicFailedToInsertOwnership & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: PublicFailedToInsertOwnership & FreestyleError, traceId?: string | undefined);
}
interface PublicFailedRemoveDomainMapping {
    message: string;
    [k: string]: unknown;
}
declare class FailedRemoveDomainMappingError extends Error {
    body: PublicFailedRemoveDomainMapping & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: PublicFailedRemoveDomainMapping & FreestyleError, traceId?: string | undefined);
}
interface PublicFailedPermissionsCheck {
    domain: string;
    [k: string]: unknown;
}
declare class FailedPermissionsCheckError extends Error {
    body: PublicFailedPermissionsCheck & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: PublicFailedPermissionsCheck & FreestyleError, traceId?: string | undefined);
}
interface PublicFailedToCheckDomainMappingPermissions {
    message: string;
    [k: string]: unknown;
}
declare class FailedToCheckDomainMappingPermissionsError extends Error {
    body: PublicFailedToCheckDomainMappingPermissions & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: PublicFailedToCheckDomainMappingPermissions & FreestyleError, traceId?: string | undefined);
}
declare class FailedToPreRegisterError extends Error {
    body: unknown & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: unknown & FreestyleError, traceId?: string | undefined);
}
declare class AccessDeniedError extends Error {
    body: unknown & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: unknown & FreestyleError, traceId?: string | undefined);
}
declare class PermissionAlreadyExistsError extends Error {
    body: unknown & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: unknown & FreestyleError, traceId?: string | undefined);
}
interface PublicListTokensFailed {
    message: string;
    [k: string]: unknown;
}
declare class ListTokensFailedError extends Error {
    body: PublicListTokensFailed & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: PublicListTokensFailed & FreestyleError, traceId?: string | undefined);
}
interface PublicRevokeTokenFailed {
    message: string;
    [k: string]: unknown;
}
declare class RevokeTokenFailedError extends Error {
    body: PublicRevokeTokenFailed & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: PublicRevokeTokenFailed & FreestyleError, traceId?: string | undefined);
}
interface PublicCreateTokenFailed {
    message: string;
    [k: string]: unknown;
}
declare class CreateTokenFailedError extends Error {
    body: PublicCreateTokenFailed & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: PublicCreateTokenFailed & FreestyleError, traceId?: string | undefined);
}
interface PublicListPermissionsFailed {
    message: string;
    [k: string]: unknown;
}
declare class ListPermissionsFailedError extends Error {
    body: PublicListPermissionsFailed & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: PublicListPermissionsFailed & FreestyleError, traceId?: string | undefined);
}
interface PublicGetPermissionFailed {
    message: string;
    [k: string]: unknown;
}
declare class GetPermissionFailedError extends Error {
    body: PublicGetPermissionFailed & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: PublicGetPermissionFailed & FreestyleError, traceId?: string | undefined);
}
interface PublicUpdatePermissionFailed {
    message: string;
    [k: string]: unknown;
}
declare class UpdatePermissionFailedError extends Error {
    body: PublicUpdatePermissionFailed & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: PublicUpdatePermissionFailed & FreestyleError, traceId?: string | undefined);
}
interface PublicRevokePermissionFailed {
    message: string;
    [k: string]: unknown;
}
declare class RevokePermissionFailedError extends Error {
    body: PublicRevokePermissionFailed & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: PublicRevokePermissionFailed & FreestyleError, traceId?: string | undefined);
}
interface PublicGrantPermissionFailed {
    message: string;
    [k: string]: unknown;
}
declare class GrantPermissionFailedError extends Error {
    body: PublicGrantPermissionFailed & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: PublicGrantPermissionFailed & FreestyleError, traceId?: string | undefined);
}
interface PublicListIdentitiesFailed {
    message: string;
    [k: string]: unknown;
}
declare class ListIdentitiesFailedError extends Error {
    body: PublicListIdentitiesFailed & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: PublicListIdentitiesFailed & FreestyleError, traceId?: string | undefined);
}
interface PublicDeleteIdentityFailed {
    message: string;
    [k: string]: unknown;
}
declare class DeleteIdentityFailedError extends Error {
    body: PublicDeleteIdentityFailed & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: PublicDeleteIdentityFailed & FreestyleError, traceId?: string | undefined);
}
interface PublicCreateIdentityFailed {
    message: string;
    [k: string]: unknown;
}
declare class CreateIdentityFailedError extends Error {
    body: PublicCreateIdentityFailed & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: PublicCreateIdentityFailed & FreestyleError, traceId?: string | undefined);
}
declare class VmPermissionNotFoundError extends Error {
    body: unknown & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: unknown & FreestyleError, traceId?: string | undefined);
}
declare class PermissionNotFoundError extends Error {
    body: unknown & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: unknown & FreestyleError, traceId?: string | undefined);
}
declare class GitRepositoryAccessDeniedError extends Error {
    body: unknown & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: unknown & FreestyleError, traceId?: string | undefined);
}
declare class GitRepositoryNotFoundError extends Error {
    body: unknown & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: unknown & FreestyleError, traceId?: string | undefined);
}
declare class CannotDeleteManagedIdentityError extends Error {
    body: unknown & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: unknown & FreestyleError, traceId?: string | undefined);
}
declare class CannotModifyManagedIdentityError extends Error {
    body: unknown & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: unknown & FreestyleError, traceId?: string | undefined);
}
declare class IdentityAccessDeniedError extends Error {
    body: unknown & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: unknown & FreestyleError, traceId?: string | undefined);
}
declare class IdentityNotFoundError extends Error {
    body: unknown & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: unknown & FreestyleError, traceId?: string | undefined);
}
interface PublicExecuteInternalError {
    message: string;
    [k: string]: unknown;
}
declare class ExecuteInternalErrorError extends Error {
    body: PublicExecuteInternalError & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: PublicExecuteInternalError & FreestyleError, traceId?: string | undefined);
}
declare class ExecuteAccessDeniedError extends Error {
    body: unknown & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: unknown & FreestyleError, traceId?: string | undefined);
}
interface PublicListRunsFailed {
    message: string;
    [k: string]: unknown;
}
declare class ListRunsFailedError extends Error {
    body: PublicListRunsFailed & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: PublicListRunsFailed & FreestyleError, traceId?: string | undefined);
}
interface PublicExecutionError {
    message: string;
    [k: string]: unknown;
}
declare class ExecutionErrorError extends Error {
    body: PublicExecutionError & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: PublicExecutionError & FreestyleError, traceId?: string | undefined);
}
interface PublicConnectionFailed {
    message: string;
    [k: string]: unknown;
}
declare class ConnectionFailedError extends Error {
    body: PublicConnectionFailed & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: PublicConnectionFailed & FreestyleError, traceId?: string | undefined);
}
interface PublicMetadataWriteFailed {
    message: string;
    [k: string]: unknown;
}
declare class MetadataWriteFailedError extends Error {
    body: PublicMetadataWriteFailed & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: PublicMetadataWriteFailed & FreestyleError, traceId?: string | undefined);
}
interface PublicNodeModulesInstallFailed {
    message: string;
    [k: string]: unknown;
}
declare class NodeModulesInstallFailedError extends Error {
    body: PublicNodeModulesInstallFailed & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: PublicNodeModulesInstallFailed & FreestyleError, traceId?: string | undefined);
}
interface PublicNodeModulesDownloadFailed {
    message: string;
    [k: string]: unknown;
}
declare class NodeModulesDownloadFailedError extends Error {
    body: PublicNodeModulesDownloadFailed & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: PublicNodeModulesDownloadFailed & FreestyleError, traceId?: string | undefined);
}
interface PublicLockGenerationFailed {
    message: string;
    [k: string]: unknown;
}
declare class LockGenerationFailedError extends Error {
    body: PublicLockGenerationFailed & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: PublicLockGenerationFailed & FreestyleError, traceId?: string | undefined);
}
interface PublicWriteScriptFailed {
    message: string;
    [k: string]: unknown;
}
declare class WriteScriptFailedError extends Error {
    body: PublicWriteScriptFailed & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: PublicWriteScriptFailed & FreestyleError, traceId?: string | undefined);
}
interface PublicDirectoryCreationFailed {
    message: string;
    [k: string]: unknown;
}
declare class DirectoryCreationFailedError extends Error {
    body: PublicDirectoryCreationFailed & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: PublicDirectoryCreationFailed & FreestyleError, traceId?: string | undefined);
}
interface PublicNetworkPermissionsFailed {
    message: string;
    [k: string]: unknown;
}
declare class NetworkPermissionsFailedError extends Error {
    body: PublicNetworkPermissionsFailed & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: PublicNetworkPermissionsFailed & FreestyleError, traceId?: string | undefined);
}
interface PublicLoggingFailed {
    message: string;
    [k: string]: unknown;
}
declare class LoggingFailedError extends Error {
    body: PublicLoggingFailed & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: PublicLoggingFailed & FreestyleError, traceId?: string | undefined);
}
interface PublicRunNotFound {
    runId: string;
    [k: string]: unknown;
}
declare class RunNotFoundError extends Error {
    body: PublicRunNotFound & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: PublicRunNotFound & FreestyleError, traceId?: string | undefined);
}
interface PublicLimitExceeded {
    limit: number;
    current: number;
    [k: string]: unknown;
}
declare class LimitExceededError extends Error {
    body: PublicLimitExceeded & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: PublicLimitExceeded & FreestyleError, traceId?: string | undefined);
}
interface PublicFailedToProvisionCertificate {
    message: string;
    [k: string]: unknown;
}
declare class FailedToProvisionCertificateError extends Error {
    body: PublicFailedToProvisionCertificate & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: PublicFailedToProvisionCertificate & FreestyleError, traceId?: string | undefined);
}
interface PublicFailedToInsertDomainMapping {
    message: string;
    [k: string]: unknown;
}
declare class FailedToInsertDomainMappingError extends Error {
    body: PublicFailedToInsertDomainMapping & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: PublicFailedToInsertDomainMapping & FreestyleError, traceId?: string | undefined);
}
interface PublicPermissionDenied {
    message: string;
    [k: string]: unknown;
}
declare class PermissionDeniedError extends Error {
    body: PublicPermissionDenied & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: PublicPermissionDenied & FreestyleError, traceId?: string | undefined);
}
interface PublicFailedToCheckPermissions {
    message: string;
    [k: string]: unknown;
}
declare class FailedToCheckPermissionsError extends Error {
    body: PublicFailedToCheckPermissions & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: PublicFailedToCheckPermissions & FreestyleError, traceId?: string | undefined);
}
interface PublicFailedToListDomains {
    message: string;
    [k: string]: unknown;
}
declare class FailedToListDomainsError extends Error {
    body: PublicFailedToListDomains & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: PublicFailedToListDomains & FreestyleError, traceId?: string | undefined);
}
interface PublicFailedToListVerifications {
    message: string;
    [k: string]: unknown;
}
declare class FailedToListVerificationsError extends Error {
    body: PublicFailedToListVerifications & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: PublicFailedToListVerifications & FreestyleError, traceId?: string | undefined);
}
interface PublicFailedToVerifyDomain {
    message: string;
    [k: string]: unknown;
}
declare class FailedToVerifyDomainError extends Error {
    body: PublicFailedToVerifyDomain & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: PublicFailedToVerifyDomain & FreestyleError, traceId?: string | undefined);
}
interface PublicVerificationFailed {
    message: string;
    [k: string]: unknown;
}
declare class VerificationFailedError extends Error {
    body: PublicVerificationFailed & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: PublicVerificationFailed & FreestyleError, traceId?: string | undefined);
}
interface PublicFailedToDeleteVerification {
    message: string;
    [k: string]: unknown;
}
declare class FailedToDeleteVerificationError extends Error {
    body: PublicFailedToDeleteVerification & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: PublicFailedToDeleteVerification & FreestyleError, traceId?: string | undefined);
}
interface PublicVerificationNotFound {
    domain: string;
    [k: string]: unknown;
}
declare class VerificationNotFoundError extends Error {
    body: PublicVerificationNotFound & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: PublicVerificationNotFound & FreestyleError, traceId?: string | undefined);
}
interface PublicFailedToCreateVerificationCode {
    message: string;
    [k: string]: unknown;
}
declare class FailedToCreateVerificationCodeError extends Error {
    body: PublicFailedToCreateVerificationCode & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: PublicFailedToCreateVerificationCode & FreestyleError, traceId?: string | undefined);
}
interface PublicInvalidDomain {
    domain: string;
    [k: string]: unknown;
}
declare class InvalidDomainError extends Error {
    body: PublicInvalidDomain & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: PublicInvalidDomain & FreestyleError, traceId?: string | undefined);
}
interface PublicCloudstateInternalError {
    message: string;
    [k: string]: unknown;
}
declare class CloudstateInternalErrorError extends Error {
    body: PublicCloudstateInternalError & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: PublicCloudstateInternalError & FreestyleError, traceId?: string | undefined);
}
interface PublicCloudstateDatabaseError {
    message: string;
    [k: string]: unknown;
}
declare class CloudstateDatabaseErrorError extends Error {
    body: PublicCloudstateDatabaseError & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: PublicCloudstateDatabaseError & FreestyleError, traceId?: string | undefined);
}
interface PublicCloudstateAccessDenied {
    projectId: string;
    [k: string]: unknown;
}
declare class CloudstateAccessDeniedError extends Error {
    body: PublicCloudstateAccessDenied & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: PublicCloudstateAccessDenied & FreestyleError, traceId?: string | undefined);
}
interface PublicRestoreFailed {
    message: string;
    [k: string]: unknown;
}
declare class RestoreFailedError extends Error {
    body: PublicRestoreFailed & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: PublicRestoreFailed & FreestyleError, traceId?: string | undefined);
}
interface PublicCreateBackupFailed {
    message: string;
    [k: string]: unknown;
}
declare class CreateBackupFailedError extends Error {
    body: PublicCreateBackupFailed & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: PublicCreateBackupFailed & FreestyleError, traceId?: string | undefined);
}
interface PublicBackupFailed {
    message: string;
    [k: string]: unknown;
}
declare class BackupFailedError extends Error {
    body: PublicBackupFailed & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: PublicBackupFailed & FreestyleError, traceId?: string | undefined);
}
interface PublicDeploymentFailed {
    message: string;
    [k: string]: unknown;
}
declare class DeploymentFailedError extends Error {
    body: PublicDeploymentFailed & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: PublicDeploymentFailed & FreestyleError, traceId?: string | undefined);
}
interface PublicInvalidDeploymentRequest {
    message: string;
    [k: string]: unknown;
}
declare class InvalidDeploymentRequestError extends Error {
    body: PublicInvalidDeploymentRequest & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: PublicInvalidDeploymentRequest & FreestyleError, traceId?: string | undefined);
}
interface PublicProjectNotFound {
    projectId: string;
    [k: string]: unknown;
}
declare class ProjectNotFoundError extends Error {
    body: PublicProjectNotFound & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: PublicProjectNotFound & FreestyleError, traceId?: string | undefined);
}
declare class GitRepoLimitExceededError extends Error {
    body: unknown & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: unknown & FreestyleError, traceId?: string | undefined);
}
declare class EmptyTagError extends Error {
    body: unknown & FreestyleError;
    traceId?: string | undefined;
    static readonly code: string;
    static readonly statusCode: number;
    static readonly description: string;
    constructor(body: unknown & FreestyleError, traceId?: string | undefined);
}
declare const FREESTYLE_ERROR_CODE_MAP: {
    GIT_ERROR: typeof GitErrorError;
    BAD_PARSE: typeof BadParseError;
    BAD_TIMESTAMP: typeof BadTimestampError;
    BAD_SIGNATURE: typeof BadSignatureError;
    BAD_HEADER: typeof BadHeaderError;
    BAD_KEY: typeof BadKeyError;
    VM_OPERATION_DENIED_DURING_TRANSACTION: typeof VmOperationDeniedDuringTransactionError;
    VM_TRANSACTION_ID_MISMATCH: typeof VmTransactionIdMismatchError;
    VM_NOT_IN_TRANSACTION: typeof VmNotInTransactionError;
    PARTITION_NOT_FOUND: typeof PartitionNotFoundError;
    USER_NOT_FOUND: typeof UserNotFoundError;
    USER_ALREADY_EXISTS: typeof UserAlreadyExistsError;
    VALIDATION_ERROR: typeof ValidationErrorError;
    GROUP_NOT_FOUND: typeof GroupNotFoundError;
    GROUP_ALREADY_EXISTS: typeof GroupAlreadyExistsError;
    DUPLICATE_USER_NAME: typeof DuplicateUserNameError;
    USER_GROUP_EMPTY: typeof UserGroupEmptyError;
    USER_SYSTEM_FLAG_MISMATCH: typeof UserSystemFlagMismatchError;
    USER_UID_OUT_OF_RANGE: typeof UserUidOutOfRangeError;
    USER_HOME_INVALID: typeof UserHomeInvalidError;
    USER_SHELL_INVALID: typeof UserShellInvalidError;
    DUPLICATE_GROUP_NAME: typeof DuplicateGroupNameError;
    GROUP_NAME_RESERVED: typeof GroupNameReservedError;
    GROUP_NAME_INVALID_CHARS: typeof GroupNameInvalidCharsError;
    GROUP_NAME_TOO_LONG: typeof GroupNameTooLongError;
    GROUP_NAME_EMPTY: typeof GroupNameEmptyError;
    NO_DEFAULT_SNAPSHOT_AVAILABLE: typeof NoDefaultSnapshotAvailableError;
    DOCKER_SNAPSHOT_FAILED: typeof DockerSnapshotFailedError;
    SET_DEFAULT_SNAPSHOT_FAILED: typeof SetDefaultSnapshotFailedError;
    SNAPSHOT_LAYER_CREATION_FAILED: typeof SnapshotLayerCreationFailedError;
    SNAPSHOT_DIR_NOT_FOUND: typeof SnapshotDirNotFoundError;
    SUBVOLUME_CREATION_FAILED: typeof SubvolumeCreationFailedError;
    GET_DEFAULT_SNAPSHOT_FAILED: typeof GetDefaultSnapshotFailedError;
    VM_NOT_FOUND_IN_FS: typeof VmNotFoundInFsError;
    DATABASE_ERROR: typeof DatabaseErrorError;
    INVALID_VM_ID: typeof InvalidVmIdError;
    VM_DELETED: typeof VmDeletedError;
    VM_NOT_RUNNING: typeof VmNotRunningError;
    ACTIVE_TRANSACTION_ERROR: typeof ActiveTransactionErrorError;
    SWAP_VM_TAP: typeof SwapVmTapError;
    PREASSIGNED_VM_ID_COUNT_MISMATCH: typeof PreassignedVmIdCountMismatchError;
    INTERNAL_ERROR: typeof InternalErrorError;
    ROOTFS_COPY_ERROR: typeof RootfsCopyErrorError;
    FILE_NOT_FOUND: typeof FileNotFoundError;
    FILES_BAD_REQUEST: typeof FilesBadRequestError;
    VM_NOT_FOUND: typeof VmNotFoundError;
    INTERNAL_FORK_VM_NOT_FOUND: typeof InternalForkVmNotFoundError;
    BAD_REQUEST: typeof BadRequestError;
    INTERNAL_VM_NOT_FOUND: typeof InternalVmNotFoundError;
    SNAPSHOT_IS_ACCOUNT_DEFAULT: typeof SnapshotIsAccountDefaultError;
    SNAPSHOT_ALREADY_DELETED: typeof SnapshotAlreadyDeletedError;
    SNAPSHOT_NOT_FOUND: typeof SnapshotNotFoundError;
    SNAPSHOT_SETUP_FAILED: typeof SnapshotSetupFailedError;
    SNAPSHOT_VM_BAD_REQUEST: typeof SnapshotVmBadRequestError;
    STARTING_HANDLE_INSTANCE_ID_MISMATCH: typeof StartingHandleInstanceIdMismatchError;
    SUSPEND_FAILED_AND_STOP_FAILED: typeof SuspendFailedAndStopFailedError;
    SUSPEND_FAILED_AND_STOPPED: typeof SuspendFailedAndStoppedError;
    RESIZE_VM_MEM_NOT_POWER_OF_TWO: typeof ResizeVmMemNotPowerOfTwoError;
    RESIZE_VM_VCPU_NOT_POWER_OF_TWO: typeof ResizeVmVcpuNotPowerOfTwoError;
    RESIZE_VM_MEM_OUT_OF_RANGE: typeof ResizeVmMemOutOfRangeError;
    RESIZE_VM_VCPU_OUT_OF_RANGE: typeof ResizeVmVcpuOutOfRangeError;
    RESIZE_VM_ROOTFS_SHRINK_NOT_SUPPORTED: typeof ResizeVmRootfsShrinkNotSupportedError;
    RESIZE_VM_EMPTY_REQUEST: typeof ResizeVmEmptyRequestError;
    EXEC_TIMED_OUT: typeof ExecTimedOutError;
    CONFLICTING_SPEC_SOURCES_ERROR: typeof ConflictingSpecSourcesErrorError;
    NON_LEAF_LAYER_FIELD_ERROR: typeof NonLeafLayerFieldErrorError;
    INVALID_GIT_REPO_SPEC_ERROR: typeof InvalidGitRepoSpecErrorError;
    FORK_VM_NOT_FOUND: typeof ForkVmNotFoundError;
    CREATE_SNAPSHOT_BAD_REQUEST: typeof CreateSnapshotBadRequestError;
    UNSUPPORTED_OS: typeof UnsupportedOsError;
    BUILD_FAILED: typeof BuildFailedError;
    RESUMED_VM_NON_RESPONSIVE: typeof ResumedVmNonResponsiveError;
    SNAPSHOT_LOAD_TIMEOUT: typeof SnapshotLoadTimeoutError;
    UFFD_TIMEOUT_ERROR: typeof UffdTimeoutErrorError;
    KERNEL_PANIC: typeof KernelPanicError;
    REQWEST: typeof ReqwestError;
    FIRECRACKER_PID_NOT_FOUND: typeof FirecrackerPidNotFoundError;
    FIRECRACKER_API_SOCKET_NOT_FOUND: typeof FirecrackerApiSocketNotFoundError;
    INVALID_SNAPSHOT_ID: typeof InvalidSnapshotIdError;
    VM_START_TIMEOUT: typeof VmStartTimeoutError;
    VM_IS_SUSPENDING: typeof VmIsSuspendingError;
    VM_EXIT_DURING_START: typeof VmExitDuringStartError;
    VM_ACCESS_DENIED: typeof VmAccessDeniedError;
    FAILED_TO_SPAWN_UFFD: typeof FailedToSpawnUffdError;
    VM_SPAWN_PROCESS: typeof VmSpawnProcessError;
    VM_SUBNET_NOT_FOUND: typeof VmSubnetNotFoundError;
    CREATE_VM_MEM_NOT_POWER_OF_TWO: typeof CreateVmMemNotPowerOfTwoError;
    CREATE_VM_VCPU_NOT_POWER_OF_TWO: typeof CreateVmVcpuNotPowerOfTwoError;
    CREATE_VM_ROOTFS_OUT_OF_RANGE: typeof CreateVmRootfsOutOfRangeError;
    CREATE_VM_MEM_OUT_OF_RANGE: typeof CreateVmMemOutOfRangeError;
    CREATE_VM_VCPU_OUT_OF_RANGE: typeof CreateVmVcpuOutOfRangeError;
    CREATE_VM_BAD_REQUEST: typeof CreateVmBadRequestError;
    VM_SETUP_FAILED: typeof VmSetupFailedError;
    WANTED_BY_EMPTY: typeof WantedByEmptyError;
    WORKDIR_EMPTY: typeof WorkdirEmptyError;
    GROUP_EMPTY: typeof GroupEmptyError;
    USER_EMPTY: typeof UserEmptyError;
    ON_FAILURE_ARRAY_CONTAINS_EMPTY: typeof OnFailureArrayContainsEmptyError;
    REQUIRES_ARRAY_CONTAINS_EMPTY: typeof RequiresArrayContainsEmptyError;
    AFTER_ARRAY_CONTAINS_EMPTY: typeof AfterArrayContainsEmptyError;
    ENV_KEY_CONTAINS_EQUALS: typeof EnvKeyContainsEqualsError;
    ENV_KEY_EMPTY: typeof EnvKeyEmptyError;
    EXEC_EMPTY: typeof ExecEmptyError;
    SERVICE_NAME_TOO_LONG: typeof ServiceNameTooLongError;
    SERVICE_NAME_INVALID_PREFIX: typeof ServiceNameInvalidPrefixError;
    SERVICE_NAME_INVALID_CHARS: typeof ServiceNameInvalidCharsError;
    SERVICE_NAME_EMPTY: typeof ServiceNameEmptyError;
    SERVICE_ALREADY_EXISTS: typeof ServiceAlreadyExistsError;
    SERVICE_NOT_FOUND: typeof ServiceNotFoundError;
    INVALID_REQUEST: typeof InvalidRequestError;
    REPO_NOT_FOUND: typeof RepoNotFoundError;
    RUNTIME_ERROR: typeof RuntimeErrorError;
    SYNTAX_ERROR: typeof SyntaxErrorError;
    INTERNAL: typeof InternalError;
    SIGNING: typeof SigningError;
    INVALID_SIGNATURE: typeof InvalidSignatureError;
    INVALID_PARAMETERS: typeof InvalidParametersError;
    MAX_USES_EXCEEDED: typeof MaxUsesExceededError;
    EXPIRED: typeof ExpiredError;
    NOT_FOUND: typeof NotFoundError;
    TREE_NOT_FOUND: typeof TreeNotFoundError;
    BRANCH_NOT_FOUND: typeof BranchNotFoundError;
    COMMIT_NOT_FOUND: typeof CommitNotFoundError;
    PARENT_NOT_FOUND: typeof ParentNotFoundError;
    NO_DEFAULT_BRANCH: typeof NoDefaultBranchError;
    INVALID_BASE64_CONTENT: typeof InvalidBase64ContentError;
    INVALID_FILE_CHANGE: typeof InvalidFileChangeError;
    INVALID_FILE_PATH: typeof InvalidFilePathError;
    CONFLICTING_PARENT: typeof ConflictingParentError;
    AMBIGUOUS: typeof AmbiguousError;
    INVALID: typeof InvalidError;
    CONFLICT: typeof ConflictError;
    BRANCH_ALREADY_EXISTS: typeof BranchAlreadyExistsError;
    PATH_NOT_FOUND: typeof PathNotFoundError;
    REFERENCE_NOT_FOUND: typeof ReferenceNotFoundError;
    INVALID_SERVICE: typeof InvalidServiceError;
    EXPECTED_SERVICE: typeof ExpectedServiceError;
    UNAUTHORIZED: typeof UnauthorizedError;
    FORBIDDEN: typeof ForbiddenError;
    INVALID_ACCOUNT_ID: typeof InvalidAccountIdError;
    SOURCE_IMPORT_CONFLICT: typeof SourceImportConflictError;
    SOURCE_UNAUTHORIZED: typeof SourceUnauthorizedError;
    SOURCE_NOT_FOUND: typeof SourceNotFoundError;
    IMPORT_SUBDIR_NOT_FOUND: typeof ImportSubdirNotFoundError;
    REPO_ALREADY_EXISTS: typeof RepoAlreadyExistsError;
    TAG_NOT_FOUND: typeof TagNotFoundError;
    INVALID_REVISION: typeof InvalidRevisionError;
    BLOB_NOT_FOUND: typeof BlobNotFoundError;
    SEND_ERROR: typeof SendErrorError;
    UNSUPPORTED_TRANSFER: typeof UnsupportedTransferError;
    DIFF_INVALID_PATH_PATTERN: typeof DiffInvalidPathPatternError;
    DIFF_INVALID_REGEX: typeof DiffInvalidRegexError;
    DIFF_EMPTY_QUERY: typeof DiffEmptyQueryError;
    COMMIT_INVALID_REGEX: typeof CommitInvalidRegexError;
    COMMIT_EMPTY_QUERY: typeof CommitEmptyQueryError;
    FILENAME_INVALID_PATTERN: typeof FilenameInvalidPatternError;
    FILENAME_EMPTY_QUERY: typeof FilenameEmptyQueryError;
    INVALID_REGEX: typeof InvalidRegexError;
    INVALID_PATH_PATTERN: typeof InvalidPathPatternError;
    EMPTY_QUERY: typeof EmptyQueryError;
    PACKFILE: typeof PackfileError;
    INVALID_RANGE: typeof InvalidRangeError;
    OFFSET_WITH_SELECTOR: typeof OffsetWithSelectorError;
    COMMIT_NOT_IN_BRANCH: typeof CommitNotInBranchError;
    GIT_HUB_SYNC_CONFLICT: typeof GitHubSyncConflictError;
    INVALID_OBJECT_ID: typeof InvalidObjectIdError;
    TOO_MANY_CONCURRENT_REPAIRS: typeof TooManyConcurrentRepairsError;
    ALREADY_IN_PROGRESS: typeof AlreadyInProgressError;
    JOB_NOT_FOUND: typeof JobNotFoundError;
    UNAVAILABLE: typeof UnavailableError;
    SCHEDULE_NOT_FOUND: typeof ScheduleNotFoundError;
    SERVICE_UNAVAILABLE: typeof ServiceUnavailableError;
    REPAIR_ALREADY_IN_PROGRESS: typeof RepairAlreadyInProgressError;
    MEMORY_STORAGE_QUOTA_EXCEEDED: typeof MemoryStorageQuotaExceededError;
    ROOTFS_STORAGE_QUOTA_EXCEEDED: typeof RootfsStorageQuotaExceededError;
    ROOTFS_SIZE_TOO_LARGE: typeof RootfsSizeTooLargeError;
    MEM_SIZE_TOO_LARGE: typeof MemSizeTooLargeError;
    ROOTFS_OVER_PLAN_LIMIT: typeof RootfsOverPlanLimitError;
    MEM_OVER_PLAN_LIMIT: typeof MemOverPlanLimitError;
    VCPU_OVER_PLAN_LIMIT: typeof VcpuOverPlanLimitError;
    CUSTOM_SIZING_NOT_ALLOWED: typeof CustomSizingNotAllowedError;
    SNAPSHOT_LIMIT_EXCEEDED: typeof SnapshotLimitExceededError;
    PERSISTENT_VMS_NOT_ALLOWED: typeof PersistentVmsNotAllowedError;
    TOTAL_VM_LIMIT_EXCEEDED: typeof TotalVmLimitExceededError;
    VM_LIMIT_EXCEEDED: typeof VmLimitExceededError;
    OBSERVABILITY_DATABASE_ERROR: typeof ObservabilityDatabaseErrorError;
    OBSERVABILITY_ACCESS_DENIED: typeof ObservabilityAccessDeniedError;
    PARSE_LOGS_FAILED: typeof ParseLogsFailedError;
    RETRIEVE_LOGS_FAILED: typeof RetrieveLogsFailedError;
    INVALID_QUERY: typeof InvalidQueryError;
    LOGS_NOT_FOUND: typeof LogsNotFoundError;
    TRIGGER_ERROR: typeof TriggerErrorError;
    TOKEN_ERROR: typeof TokenErrorError;
    PERMISSION_ERROR: typeof PermissionErrorError;
    IDENTITY_ERROR: typeof IdentityErrorError;
    GET_CONTENT_FAILED: typeof GetContentFailedError;
    CONTENT_NOT_FOUND: typeof ContentNotFoundError;
    DOWNLOAD_FAILED: typeof DownloadFailedError;
    GIT_SERVER_ERROR: typeof GitServerErrorError;
    PARSE_RESPONSE_ERROR: typeof ParseResponseErrorError;
    REPOSITORY_ACCESS_DENIED: typeof RepositoryAccessDeniedError;
    GIT_HUB_SYNC_FAILED: typeof GitHubSyncFailedError;
    UPDATE_DEFAULT_BRANCH_FAILED: typeof UpdateDefaultBranchFailedError;
    GET_REPOSITORY_INFO_FAILED: typeof GetRepositoryInfoFailedError;
    LIST_REPOSITORIES_FAILED: typeof ListRepositoriesFailedError;
    DELETE_REPOSITORY_FAILED: typeof DeleteRepositoryFailedError;
    CREATE_REPOSITORY_FAILED: typeof CreateRepositoryFailedError;
    SERIALIZATION_ERROR: typeof SerializationErrorError;
    GIT_INVALID_REQUEST: typeof GitInvalidRequestError;
    REPOSITORY_NOT_FOUND: typeof RepositoryNotFoundError;
    DOMAIN_OWNERSHIP_VERIFICATION_FAILED: typeof DomainOwnershipVerificationFailedError;
    ERROR_DELETING_RECORD: typeof ErrorDeletingRecordError;
    RECORD_OWNERSHIP_ERROR: typeof RecordOwnershipErrorError;
    ERROR_CREATING_RECORD: typeof ErrorCreatingRecordError;
    DOMAIN_OWNERSHIP_ERROR: typeof DomainOwnershipErrorError;
    UNAUTHORIZED_ERROR: typeof UnauthorizedErrorError;
    BRANCH_NAME_EMPTY: typeof BranchNameEmptyError;
    SERVER_DEPLOYMENT_FAILED: typeof ServerDeploymentFailedError;
    LOCKFILE_ERROR: typeof LockfileErrorError;
    UPLOAD_ERROR: typeof UploadErrorError;
    DOMAIN_MAPPING_ERROR: typeof DomainMappingErrorError;
    CERTIFICATE_PROVISIONING_ERROR: typeof CertificateProvisioningErrorError;
    NO_ENTRYPOINT_FOUND: typeof NoEntrypointFoundError;
    ENTRYPOINT_NOT_FOUND: typeof EntrypointNotFoundError;
    NO_DOMAIN_OWNERSHIP: typeof NoDomainOwnershipError;
    INVALID_DOMAINS: typeof InvalidDomainsError;
    WEB_DEPLOYMENT_BAD_REQUEST: typeof WebDeploymentBadRequestError;
    TIMEOUT_LIMIT_EXCEEDED: typeof TimeoutLimitExceededError;
    DEPLOYMENT_LIMIT_EXCEEDED: typeof DeploymentLimitExceededError;
    DEPLOYMENT_NOT_FOUND: typeof DeploymentNotFoundError;
    RESIZE_FAILED: typeof ResizeFailedError;
    INTERNAL_RESIZE_VM_NOT_FOUND: typeof InternalResizeVmNotFoundError;
    EXECUTE_LIMIT_EXCEEDED: typeof ExecuteLimitExceededError;
    DOMAIN_OWNERSHIP_NOT_VERIFIED: typeof DomainOwnershipNotVerifiedError;
    VM_ACCESS_DENIED_FOR_MAPPING: typeof VmAccessDeniedForMappingError;
    DEPLOYMENT_ACCESS_DENIED: typeof DeploymentAccessDeniedError;
    FAILED_TO_PROVISION_CERTIFICATE_FOR_MAPPING: typeof FailedToProvisionCertificateForMappingError;
    FAILED_INSERT_DOMAIN_MAPPING: typeof FailedInsertDomainMappingError;
    DOMAIN_ALREADY_EXISTS: typeof DomainAlreadyExistsError;
    FAILED_TO_INSERT_OWNERSHIP: typeof FailedToInsertOwnershipError;
    FAILED_REMOVE_DOMAIN_MAPPING: typeof FailedRemoveDomainMappingError;
    FAILED_PERMISSIONS_CHECK: typeof FailedPermissionsCheckError;
    FAILED_TO_CHECK_DOMAIN_MAPPING_PERMISSIONS: typeof FailedToCheckDomainMappingPermissionsError;
    FAILED_TO_PRE_REGISTER: typeof FailedToPreRegisterError;
    ACCESS_DENIED: typeof AccessDeniedError;
    PERMISSION_ALREADY_EXISTS: typeof PermissionAlreadyExistsError;
    LIST_TOKENS_FAILED: typeof ListTokensFailedError;
    REVOKE_TOKEN_FAILED: typeof RevokeTokenFailedError;
    CREATE_TOKEN_FAILED: typeof CreateTokenFailedError;
    LIST_PERMISSIONS_FAILED: typeof ListPermissionsFailedError;
    GET_PERMISSION_FAILED: typeof GetPermissionFailedError;
    UPDATE_PERMISSION_FAILED: typeof UpdatePermissionFailedError;
    REVOKE_PERMISSION_FAILED: typeof RevokePermissionFailedError;
    GRANT_PERMISSION_FAILED: typeof GrantPermissionFailedError;
    LIST_IDENTITIES_FAILED: typeof ListIdentitiesFailedError;
    DELETE_IDENTITY_FAILED: typeof DeleteIdentityFailedError;
    CREATE_IDENTITY_FAILED: typeof CreateIdentityFailedError;
    VM_PERMISSION_NOT_FOUND: typeof VmPermissionNotFoundError;
    PERMISSION_NOT_FOUND: typeof PermissionNotFoundError;
    GIT_REPOSITORY_ACCESS_DENIED: typeof GitRepositoryAccessDeniedError;
    GIT_REPOSITORY_NOT_FOUND: typeof GitRepositoryNotFoundError;
    CANNOT_DELETE_MANAGED_IDENTITY: typeof CannotDeleteManagedIdentityError;
    CANNOT_MODIFY_MANAGED_IDENTITY: typeof CannotModifyManagedIdentityError;
    IDENTITY_ACCESS_DENIED: typeof IdentityAccessDeniedError;
    IDENTITY_NOT_FOUND: typeof IdentityNotFoundError;
    EXECUTE_INTERNAL_ERROR: typeof ExecuteInternalErrorError;
    EXECUTE_ACCESS_DENIED: typeof ExecuteAccessDeniedError;
    LIST_RUNS_FAILED: typeof ListRunsFailedError;
    EXECUTION_ERROR: typeof ExecutionErrorError;
    CONNECTION_FAILED: typeof ConnectionFailedError;
    METADATA_WRITE_FAILED: typeof MetadataWriteFailedError;
    NODE_MODULES_INSTALL_FAILED: typeof NodeModulesInstallFailedError;
    NODE_MODULES_DOWNLOAD_FAILED: typeof NodeModulesDownloadFailedError;
    LOCK_GENERATION_FAILED: typeof LockGenerationFailedError;
    WRITE_SCRIPT_FAILED: typeof WriteScriptFailedError;
    DIRECTORY_CREATION_FAILED: typeof DirectoryCreationFailedError;
    NETWORK_PERMISSIONS_FAILED: typeof NetworkPermissionsFailedError;
    LOGGING_FAILED: typeof LoggingFailedError;
    RUN_NOT_FOUND: typeof RunNotFoundError;
    LIMIT_EXCEEDED: typeof LimitExceededError;
    FAILED_TO_PROVISION_CERTIFICATE: typeof FailedToProvisionCertificateError;
    FAILED_TO_INSERT_DOMAIN_MAPPING: typeof FailedToInsertDomainMappingError;
    PERMISSION_DENIED: typeof PermissionDeniedError;
    FAILED_TO_CHECK_PERMISSIONS: typeof FailedToCheckPermissionsError;
    FAILED_TO_LIST_DOMAINS: typeof FailedToListDomainsError;
    FAILED_TO_LIST_VERIFICATIONS: typeof FailedToListVerificationsError;
    FAILED_TO_VERIFY_DOMAIN: typeof FailedToVerifyDomainError;
    VERIFICATION_FAILED: typeof VerificationFailedError;
    FAILED_TO_DELETE_VERIFICATION: typeof FailedToDeleteVerificationError;
    VERIFICATION_NOT_FOUND: typeof VerificationNotFoundError;
    FAILED_TO_CREATE_VERIFICATION_CODE: typeof FailedToCreateVerificationCodeError;
    INVALID_DOMAIN: typeof InvalidDomainError;
    CLOUDSTATE_INTERNAL_ERROR: typeof CloudstateInternalErrorError;
    CLOUDSTATE_DATABASE_ERROR: typeof CloudstateDatabaseErrorError;
    CLOUDSTATE_ACCESS_DENIED: typeof CloudstateAccessDeniedError;
    RESTORE_FAILED: typeof RestoreFailedError;
    CREATE_BACKUP_FAILED: typeof CreateBackupFailedError;
    BACKUP_FAILED: typeof BackupFailedError;
    DEPLOYMENT_FAILED: typeof DeploymentFailedError;
    INVALID_DEPLOYMENT_REQUEST: typeof InvalidDeploymentRequestError;
    PROJECT_NOT_FOUND: typeof ProjectNotFoundError;
    GIT_REPO_LIMIT_EXCEEDED: typeof GitRepoLimitExceededError;
    EMPTY_TAG: typeof EmptyTagError;
};

type errors_AccessDeniedError = AccessDeniedError;
declare const errors_AccessDeniedError: typeof AccessDeniedError;
type errors_ActiveTransactionErrorError = ActiveTransactionErrorError;
declare const errors_ActiveTransactionErrorError: typeof ActiveTransactionErrorError;
type errors_AfterArrayContainsEmptyError = AfterArrayContainsEmptyError;
declare const errors_AfterArrayContainsEmptyError: typeof AfterArrayContainsEmptyError;
type errors_AlreadyInProgressError = AlreadyInProgressError;
declare const errors_AlreadyInProgressError: typeof AlreadyInProgressError;
type errors_AmbiguousError = AmbiguousError;
declare const errors_AmbiguousError: typeof AmbiguousError;
type errors_BackupFailedError = BackupFailedError;
declare const errors_BackupFailedError: typeof BackupFailedError;
type errors_BadHeaderError = BadHeaderError;
declare const errors_BadHeaderError: typeof BadHeaderError;
type errors_BadKeyError = BadKeyError;
declare const errors_BadKeyError: typeof BadKeyError;
type errors_BadParseError = BadParseError;
declare const errors_BadParseError: typeof BadParseError;
type errors_BadRequestError = BadRequestError;
declare const errors_BadRequestError: typeof BadRequestError;
type errors_BadSignatureError = BadSignatureError;
declare const errors_BadSignatureError: typeof BadSignatureError;
type errors_BadTimestampError = BadTimestampError;
declare const errors_BadTimestampError: typeof BadTimestampError;
type errors_BlobNotFoundError = BlobNotFoundError;
declare const errors_BlobNotFoundError: typeof BlobNotFoundError;
type errors_BranchAlreadyExistsError = BranchAlreadyExistsError;
declare const errors_BranchAlreadyExistsError: typeof BranchAlreadyExistsError;
type errors_BranchNameEmptyError = BranchNameEmptyError;
declare const errors_BranchNameEmptyError: typeof BranchNameEmptyError;
type errors_BranchNotFoundError = BranchNotFoundError;
declare const errors_BranchNotFoundError: typeof BranchNotFoundError;
type errors_BuildFailedError = BuildFailedError;
declare const errors_BuildFailedError: typeof BuildFailedError;
type errors_CannotDeleteManagedIdentityError = CannotDeleteManagedIdentityError;
declare const errors_CannotDeleteManagedIdentityError: typeof CannotDeleteManagedIdentityError;
type errors_CannotModifyManagedIdentityError = CannotModifyManagedIdentityError;
declare const errors_CannotModifyManagedIdentityError: typeof CannotModifyManagedIdentityError;
type errors_CertificateProvisioningErrorError = CertificateProvisioningErrorError;
declare const errors_CertificateProvisioningErrorError: typeof CertificateProvisioningErrorError;
type errors_CloudstateAccessDeniedError = CloudstateAccessDeniedError;
declare const errors_CloudstateAccessDeniedError: typeof CloudstateAccessDeniedError;
type errors_CloudstateDatabaseErrorError = CloudstateDatabaseErrorError;
declare const errors_CloudstateDatabaseErrorError: typeof CloudstateDatabaseErrorError;
type errors_CloudstateInternalErrorError = CloudstateInternalErrorError;
declare const errors_CloudstateInternalErrorError: typeof CloudstateInternalErrorError;
type errors_CommitEmptyQueryError = CommitEmptyQueryError;
declare const errors_CommitEmptyQueryError: typeof CommitEmptyQueryError;
type errors_CommitInvalidRegexError = CommitInvalidRegexError;
declare const errors_CommitInvalidRegexError: typeof CommitInvalidRegexError;
type errors_CommitNotFoundError = CommitNotFoundError;
declare const errors_CommitNotFoundError: typeof CommitNotFoundError;
type errors_CommitNotInBranchError = CommitNotInBranchError;
declare const errors_CommitNotInBranchError: typeof CommitNotInBranchError;
type errors_ConflictError = ConflictError;
declare const errors_ConflictError: typeof ConflictError;
type errors_ConflictingParentError = ConflictingParentError;
declare const errors_ConflictingParentError: typeof ConflictingParentError;
type errors_ConflictingSpecSourcesErrorError = ConflictingSpecSourcesErrorError;
declare const errors_ConflictingSpecSourcesErrorError: typeof ConflictingSpecSourcesErrorError;
type errors_ConflictingSpecSourcesErrorPublic = ConflictingSpecSourcesErrorPublic;
type errors_ConnectionFailedError = ConnectionFailedError;
declare const errors_ConnectionFailedError: typeof ConnectionFailedError;
type errors_ContentNotFoundError = ContentNotFoundError;
declare const errors_ContentNotFoundError: typeof ContentNotFoundError;
type errors_CreateBackupFailedError = CreateBackupFailedError;
declare const errors_CreateBackupFailedError: typeof CreateBackupFailedError;
type errors_CreateIdentityFailedError = CreateIdentityFailedError;
declare const errors_CreateIdentityFailedError: typeof CreateIdentityFailedError;
type errors_CreateRepositoryFailedError = CreateRepositoryFailedError;
declare const errors_CreateRepositoryFailedError: typeof CreateRepositoryFailedError;
type errors_CreateSnapshotBadRequestError = CreateSnapshotBadRequestError;
declare const errors_CreateSnapshotBadRequestError: typeof CreateSnapshotBadRequestError;
type errors_CreateTokenFailedError = CreateTokenFailedError;
declare const errors_CreateTokenFailedError: typeof CreateTokenFailedError;
type errors_CreateVmBadRequestError = CreateVmBadRequestError;
declare const errors_CreateVmBadRequestError: typeof CreateVmBadRequestError;
type errors_CreateVmMemNotPowerOfTwoError = CreateVmMemNotPowerOfTwoError;
declare const errors_CreateVmMemNotPowerOfTwoError: typeof CreateVmMemNotPowerOfTwoError;
type errors_CreateVmMemOutOfRangeError = CreateVmMemOutOfRangeError;
declare const errors_CreateVmMemOutOfRangeError: typeof CreateVmMemOutOfRangeError;
type errors_CreateVmRootfsOutOfRangeError = CreateVmRootfsOutOfRangeError;
declare const errors_CreateVmRootfsOutOfRangeError: typeof CreateVmRootfsOutOfRangeError;
type errors_CreateVmVcpuNotPowerOfTwoError = CreateVmVcpuNotPowerOfTwoError;
declare const errors_CreateVmVcpuNotPowerOfTwoError: typeof CreateVmVcpuNotPowerOfTwoError;
type errors_CreateVmVcpuOutOfRangeError = CreateVmVcpuOutOfRangeError;
declare const errors_CreateVmVcpuOutOfRangeError: typeof CreateVmVcpuOutOfRangeError;
type errors_CustomSizingNotAllowedError = CustomSizingNotAllowedError;
declare const errors_CustomSizingNotAllowedError: typeof CustomSizingNotAllowedError;
type errors_DatabaseErrorError = DatabaseErrorError;
declare const errors_DatabaseErrorError: typeof DatabaseErrorError;
type errors_DeleteIdentityFailedError = DeleteIdentityFailedError;
declare const errors_DeleteIdentityFailedError: typeof DeleteIdentityFailedError;
type errors_DeleteRepositoryFailedError = DeleteRepositoryFailedError;
declare const errors_DeleteRepositoryFailedError: typeof DeleteRepositoryFailedError;
type errors_DeploymentAccessDeniedError = DeploymentAccessDeniedError;
declare const errors_DeploymentAccessDeniedError: typeof DeploymentAccessDeniedError;
type errors_DeploymentFailedError = DeploymentFailedError;
declare const errors_DeploymentFailedError: typeof DeploymentFailedError;
type errors_DeploymentLimitExceededError = DeploymentLimitExceededError;
declare const errors_DeploymentLimitExceededError: typeof DeploymentLimitExceededError;
type errors_DeploymentNotFoundError = DeploymentNotFoundError;
declare const errors_DeploymentNotFoundError: typeof DeploymentNotFoundError;
type errors_DiffEmptyQueryError = DiffEmptyQueryError;
declare const errors_DiffEmptyQueryError: typeof DiffEmptyQueryError;
type errors_DiffInvalidPathPatternError = DiffInvalidPathPatternError;
declare const errors_DiffInvalidPathPatternError: typeof DiffInvalidPathPatternError;
type errors_DiffInvalidRegexError = DiffInvalidRegexError;
declare const errors_DiffInvalidRegexError: typeof DiffInvalidRegexError;
type errors_DirectoryCreationFailedError = DirectoryCreationFailedError;
declare const errors_DirectoryCreationFailedError: typeof DirectoryCreationFailedError;
type errors_DockerSnapshotFailedError = DockerSnapshotFailedError;
declare const errors_DockerSnapshotFailedError: typeof DockerSnapshotFailedError;
type errors_DomainAlreadyExistsError = DomainAlreadyExistsError;
declare const errors_DomainAlreadyExistsError: typeof DomainAlreadyExistsError;
type errors_DomainMappingErrorError = DomainMappingErrorError;
declare const errors_DomainMappingErrorError: typeof DomainMappingErrorError;
type errors_DomainOwnershipErrorError = DomainOwnershipErrorError;
declare const errors_DomainOwnershipErrorError: typeof DomainOwnershipErrorError;
type errors_DomainOwnershipNotVerifiedError = DomainOwnershipNotVerifiedError;
declare const errors_DomainOwnershipNotVerifiedError: typeof DomainOwnershipNotVerifiedError;
type errors_DomainOwnershipVerificationFailedError = DomainOwnershipVerificationFailedError;
declare const errors_DomainOwnershipVerificationFailedError: typeof DomainOwnershipVerificationFailedError;
type errors_DownloadFailedError = DownloadFailedError;
declare const errors_DownloadFailedError: typeof DownloadFailedError;
type errors_DuplicateGroupNameError = DuplicateGroupNameError;
declare const errors_DuplicateGroupNameError: typeof DuplicateGroupNameError;
type errors_DuplicateUserNameError = DuplicateUserNameError;
declare const errors_DuplicateUserNameError: typeof DuplicateUserNameError;
type errors_EmptyQueryError = EmptyQueryError;
declare const errors_EmptyQueryError: typeof EmptyQueryError;
type errors_EmptyTagError = EmptyTagError;
declare const errors_EmptyTagError: typeof EmptyTagError;
type errors_EntrypointNotFoundError = EntrypointNotFoundError;
declare const errors_EntrypointNotFoundError: typeof EntrypointNotFoundError;
type errors_EnvKeyContainsEqualsError = EnvKeyContainsEqualsError;
declare const errors_EnvKeyContainsEqualsError: typeof EnvKeyContainsEqualsError;
type errors_EnvKeyEmptyError = EnvKeyEmptyError;
declare const errors_EnvKeyEmptyError: typeof EnvKeyEmptyError;
type errors_ErrorCreatingRecordError = ErrorCreatingRecordError;
declare const errors_ErrorCreatingRecordError: typeof ErrorCreatingRecordError;
type errors_ErrorDeletingRecordError = ErrorDeletingRecordError;
declare const errors_ErrorDeletingRecordError: typeof ErrorDeletingRecordError;
type errors_ExecEmptyError = ExecEmptyError;
declare const errors_ExecEmptyError: typeof ExecEmptyError;
type errors_ExecTimedOutError = ExecTimedOutError;
declare const errors_ExecTimedOutError: typeof ExecTimedOutError;
type errors_ExecuteAccessDeniedError = ExecuteAccessDeniedError;
declare const errors_ExecuteAccessDeniedError: typeof ExecuteAccessDeniedError;
type errors_ExecuteInternalErrorError = ExecuteInternalErrorError;
declare const errors_ExecuteInternalErrorError: typeof ExecuteInternalErrorError;
type errors_ExecuteLimitExceededError = ExecuteLimitExceededError;
declare const errors_ExecuteLimitExceededError: typeof ExecuteLimitExceededError;
type errors_ExecutionErrorError = ExecutionErrorError;
declare const errors_ExecutionErrorError: typeof ExecutionErrorError;
type errors_ExpectedServiceError = ExpectedServiceError;
declare const errors_ExpectedServiceError: typeof ExpectedServiceError;
type errors_ExpiredError = ExpiredError;
declare const errors_ExpiredError: typeof ExpiredError;
declare const errors_FREESTYLE_ERROR_CODE_MAP: typeof FREESTYLE_ERROR_CODE_MAP;
type errors_FailedInsertDomainMappingError = FailedInsertDomainMappingError;
declare const errors_FailedInsertDomainMappingError: typeof FailedInsertDomainMappingError;
type errors_FailedPermissionsCheckError = FailedPermissionsCheckError;
declare const errors_FailedPermissionsCheckError: typeof FailedPermissionsCheckError;
type errors_FailedRemoveDomainMappingError = FailedRemoveDomainMappingError;
declare const errors_FailedRemoveDomainMappingError: typeof FailedRemoveDomainMappingError;
type errors_FailedToCheckDomainMappingPermissionsError = FailedToCheckDomainMappingPermissionsError;
declare const errors_FailedToCheckDomainMappingPermissionsError: typeof FailedToCheckDomainMappingPermissionsError;
type errors_FailedToCheckPermissionsError = FailedToCheckPermissionsError;
declare const errors_FailedToCheckPermissionsError: typeof FailedToCheckPermissionsError;
type errors_FailedToCreateVerificationCodeError = FailedToCreateVerificationCodeError;
declare const errors_FailedToCreateVerificationCodeError: typeof FailedToCreateVerificationCodeError;
type errors_FailedToDeleteVerificationError = FailedToDeleteVerificationError;
declare const errors_FailedToDeleteVerificationError: typeof FailedToDeleteVerificationError;
type errors_FailedToInsertDomainMappingError = FailedToInsertDomainMappingError;
declare const errors_FailedToInsertDomainMappingError: typeof FailedToInsertDomainMappingError;
type errors_FailedToInsertOwnershipError = FailedToInsertOwnershipError;
declare const errors_FailedToInsertOwnershipError: typeof FailedToInsertOwnershipError;
type errors_FailedToListDomainsError = FailedToListDomainsError;
declare const errors_FailedToListDomainsError: typeof FailedToListDomainsError;
type errors_FailedToListVerificationsError = FailedToListVerificationsError;
declare const errors_FailedToListVerificationsError: typeof FailedToListVerificationsError;
type errors_FailedToPreRegisterError = FailedToPreRegisterError;
declare const errors_FailedToPreRegisterError: typeof FailedToPreRegisterError;
type errors_FailedToProvisionCertificateError = FailedToProvisionCertificateError;
declare const errors_FailedToProvisionCertificateError: typeof FailedToProvisionCertificateError;
type errors_FailedToProvisionCertificateForMappingError = FailedToProvisionCertificateForMappingError;
declare const errors_FailedToProvisionCertificateForMappingError: typeof FailedToProvisionCertificateForMappingError;
type errors_FailedToSpawnUffdError = FailedToSpawnUffdError;
declare const errors_FailedToSpawnUffdError: typeof FailedToSpawnUffdError;
type errors_FailedToVerifyDomainError = FailedToVerifyDomainError;
declare const errors_FailedToVerifyDomainError: typeof FailedToVerifyDomainError;
type errors_FileNotFoundError = FileNotFoundError;
declare const errors_FileNotFoundError: typeof FileNotFoundError;
type errors_FilenameEmptyQueryError = FilenameEmptyQueryError;
declare const errors_FilenameEmptyQueryError: typeof FilenameEmptyQueryError;
type errors_FilenameInvalidPatternError = FilenameInvalidPatternError;
declare const errors_FilenameInvalidPatternError: typeof FilenameInvalidPatternError;
type errors_FilesBadRequestError = FilesBadRequestError;
declare const errors_FilesBadRequestError: typeof FilesBadRequestError;
type errors_FirecrackerApiSocketNotFoundError = FirecrackerApiSocketNotFoundError;
declare const errors_FirecrackerApiSocketNotFoundError: typeof FirecrackerApiSocketNotFoundError;
type errors_FirecrackerPidNotFoundError = FirecrackerPidNotFoundError;
declare const errors_FirecrackerPidNotFoundError: typeof FirecrackerPidNotFoundError;
type errors_ForbiddenError = ForbiddenError;
declare const errors_ForbiddenError: typeof ForbiddenError;
type errors_ForkVmNotFoundError = ForkVmNotFoundError;
declare const errors_ForkVmNotFoundError: typeof ForkVmNotFoundError;
type errors_FreestyleError = FreestyleError;
type errors_GetContentFailedError = GetContentFailedError;
declare const errors_GetContentFailedError: typeof GetContentFailedError;
type errors_GetDefaultSnapshotFailedError = GetDefaultSnapshotFailedError;
declare const errors_GetDefaultSnapshotFailedError: typeof GetDefaultSnapshotFailedError;
type errors_GetPermissionFailedError = GetPermissionFailedError;
declare const errors_GetPermissionFailedError: typeof GetPermissionFailedError;
type errors_GetRepositoryInfoFailedError = GetRepositoryInfoFailedError;
declare const errors_GetRepositoryInfoFailedError: typeof GetRepositoryInfoFailedError;
type errors_GitErrorError = GitErrorError;
declare const errors_GitErrorError: typeof GitErrorError;
type errors_GitHubSyncConflictError = GitHubSyncConflictError;
declare const errors_GitHubSyncConflictError: typeof GitHubSyncConflictError;
type errors_GitHubSyncFailedError = GitHubSyncFailedError;
declare const errors_GitHubSyncFailedError: typeof GitHubSyncFailedError;
type errors_GitInvalidRequestError = GitInvalidRequestError;
declare const errors_GitInvalidRequestError: typeof GitInvalidRequestError;
type errors_GitRepoLimitExceededError = GitRepoLimitExceededError;
declare const errors_GitRepoLimitExceededError: typeof GitRepoLimitExceededError;
type errors_GitRepositoryAccessDeniedError = GitRepositoryAccessDeniedError;
declare const errors_GitRepositoryAccessDeniedError: typeof GitRepositoryAccessDeniedError;
type errors_GitRepositoryNotFoundError = GitRepositoryNotFoundError;
declare const errors_GitRepositoryNotFoundError: typeof GitRepositoryNotFoundError;
type errors_GitServerErrorError = GitServerErrorError;
declare const errors_GitServerErrorError: typeof GitServerErrorError;
type errors_GrantPermissionFailedError = GrantPermissionFailedError;
declare const errors_GrantPermissionFailedError: typeof GrantPermissionFailedError;
type errors_GroupAlreadyExistsError = GroupAlreadyExistsError;
declare const errors_GroupAlreadyExistsError: typeof GroupAlreadyExistsError;
type errors_GroupEmptyError = GroupEmptyError;
declare const errors_GroupEmptyError: typeof GroupEmptyError;
type errors_GroupNameEmptyError = GroupNameEmptyError;
declare const errors_GroupNameEmptyError: typeof GroupNameEmptyError;
type errors_GroupNameInvalidCharsError = GroupNameInvalidCharsError;
declare const errors_GroupNameInvalidCharsError: typeof GroupNameInvalidCharsError;
type errors_GroupNameReservedError = GroupNameReservedError;
declare const errors_GroupNameReservedError: typeof GroupNameReservedError;
type errors_GroupNameTooLongError = GroupNameTooLongError;
declare const errors_GroupNameTooLongError: typeof GroupNameTooLongError;
type errors_GroupNotFoundError = GroupNotFoundError;
declare const errors_GroupNotFoundError: typeof GroupNotFoundError;
type errors_IdentityAccessDeniedError = IdentityAccessDeniedError;
declare const errors_IdentityAccessDeniedError: typeof IdentityAccessDeniedError;
type errors_IdentityErrorError = IdentityErrorError;
declare const errors_IdentityErrorError: typeof IdentityErrorError;
type errors_IdentityNotFoundError = IdentityNotFoundError;
declare const errors_IdentityNotFoundError: typeof IdentityNotFoundError;
type errors_ImportSubdirNotFoundError = ImportSubdirNotFoundError;
declare const errors_ImportSubdirNotFoundError: typeof ImportSubdirNotFoundError;
type errors_InternalError = InternalError;
declare const errors_InternalError: typeof InternalError;
type errors_InternalErrorError = InternalErrorError;
declare const errors_InternalErrorError: typeof InternalErrorError;
type errors_InternalForkVmNotFoundError = InternalForkVmNotFoundError;
declare const errors_InternalForkVmNotFoundError: typeof InternalForkVmNotFoundError;
type errors_InternalResizeVmNotFoundError = InternalResizeVmNotFoundError;
declare const errors_InternalResizeVmNotFoundError: typeof InternalResizeVmNotFoundError;
type errors_InternalVmNotFoundError = InternalVmNotFoundError;
declare const errors_InternalVmNotFoundError: typeof InternalVmNotFoundError;
type errors_InvalidAccountIdError = InvalidAccountIdError;
declare const errors_InvalidAccountIdError: typeof InvalidAccountIdError;
type errors_InvalidBase64ContentError = InvalidBase64ContentError;
declare const errors_InvalidBase64ContentError: typeof InvalidBase64ContentError;
type errors_InvalidDeploymentRequestError = InvalidDeploymentRequestError;
declare const errors_InvalidDeploymentRequestError: typeof InvalidDeploymentRequestError;
type errors_InvalidDomainError = InvalidDomainError;
declare const errors_InvalidDomainError: typeof InvalidDomainError;
type errors_InvalidDomainsError = InvalidDomainsError;
declare const errors_InvalidDomainsError: typeof InvalidDomainsError;
type errors_InvalidError = InvalidError;
declare const errors_InvalidError: typeof InvalidError;
type errors_InvalidFileChangeError = InvalidFileChangeError;
declare const errors_InvalidFileChangeError: typeof InvalidFileChangeError;
type errors_InvalidFilePathError = InvalidFilePathError;
declare const errors_InvalidFilePathError: typeof InvalidFilePathError;
type errors_InvalidGitRepoSpecErrorError = InvalidGitRepoSpecErrorError;
declare const errors_InvalidGitRepoSpecErrorError: typeof InvalidGitRepoSpecErrorError;
type errors_InvalidObjectIdError = InvalidObjectIdError;
declare const errors_InvalidObjectIdError: typeof InvalidObjectIdError;
type errors_InvalidObjectIdPublic = InvalidObjectIdPublic;
type errors_InvalidParametersError = InvalidParametersError;
declare const errors_InvalidParametersError: typeof InvalidParametersError;
type errors_InvalidPathPatternError = InvalidPathPatternError;
declare const errors_InvalidPathPatternError: typeof InvalidPathPatternError;
type errors_InvalidQueryError = InvalidQueryError;
declare const errors_InvalidQueryError: typeof InvalidQueryError;
type errors_InvalidRangeError = InvalidRangeError;
declare const errors_InvalidRangeError: typeof InvalidRangeError;
type errors_InvalidRegexError = InvalidRegexError;
declare const errors_InvalidRegexError: typeof InvalidRegexError;
type errors_InvalidRequestError = InvalidRequestError;
declare const errors_InvalidRequestError: typeof InvalidRequestError;
type errors_InvalidRevisionError = InvalidRevisionError;
declare const errors_InvalidRevisionError: typeof InvalidRevisionError;
type errors_InvalidServiceError = InvalidServiceError;
declare const errors_InvalidServiceError: typeof InvalidServiceError;
type errors_InvalidSignatureError = InvalidSignatureError;
declare const errors_InvalidSignatureError: typeof InvalidSignatureError;
type errors_InvalidSnapshotIdError = InvalidSnapshotIdError;
declare const errors_InvalidSnapshotIdError: typeof InvalidSnapshotIdError;
type errors_InvalidVmIdError = InvalidVmIdError;
declare const errors_InvalidVmIdError: typeof InvalidVmIdError;
type errors_JavascriptLog = JavascriptLog;
type errors_JobNotFoundError = JobNotFoundError;
declare const errors_JobNotFoundError: typeof JobNotFoundError;
type errors_KernelPanicError = KernelPanicError;
declare const errors_KernelPanicError: typeof KernelPanicError;
type errors_LfsTransferAdapter = LfsTransferAdapter;
type errors_LimitExceededError = LimitExceededError;
declare const errors_LimitExceededError: typeof LimitExceededError;
type errors_ListIdentitiesFailedError = ListIdentitiesFailedError;
declare const errors_ListIdentitiesFailedError: typeof ListIdentitiesFailedError;
type errors_ListPermissionsFailedError = ListPermissionsFailedError;
declare const errors_ListPermissionsFailedError: typeof ListPermissionsFailedError;
type errors_ListRepositoriesFailedError = ListRepositoriesFailedError;
declare const errors_ListRepositoriesFailedError: typeof ListRepositoriesFailedError;
type errors_ListRunsFailedError = ListRunsFailedError;
declare const errors_ListRunsFailedError: typeof ListRunsFailedError;
type errors_ListTokensFailedError = ListTokensFailedError;
declare const errors_ListTokensFailedError: typeof ListTokensFailedError;
type errors_LockGenerationFailedError = LockGenerationFailedError;
declare const errors_LockGenerationFailedError: typeof LockGenerationFailedError;
type errors_LockfileErrorError = LockfileErrorError;
declare const errors_LockfileErrorError: typeof LockfileErrorError;
type errors_LoggingFailedError = LoggingFailedError;
declare const errors_LoggingFailedError: typeof LoggingFailedError;
type errors_LogsNotFoundError = LogsNotFoundError;
declare const errors_LogsNotFoundError: typeof LogsNotFoundError;
type errors_MaxUsesExceededError = MaxUsesExceededError;
declare const errors_MaxUsesExceededError: typeof MaxUsesExceededError;
type errors_MemOverPlanLimitError = MemOverPlanLimitError;
declare const errors_MemOverPlanLimitError: typeof MemOverPlanLimitError;
type errors_MemSizeTooLargeError = MemSizeTooLargeError;
declare const errors_MemSizeTooLargeError: typeof MemSizeTooLargeError;
type errors_MemoryStorageQuotaExceededError = MemoryStorageQuotaExceededError;
declare const errors_MemoryStorageQuotaExceededError: typeof MemoryStorageQuotaExceededError;
type errors_MetadataWriteFailedError = MetadataWriteFailedError;
declare const errors_MetadataWriteFailedError: typeof MetadataWriteFailedError;
type errors_NetworkPermissionsFailedError = NetworkPermissionsFailedError;
declare const errors_NetworkPermissionsFailedError: typeof NetworkPermissionsFailedError;
type errors_NoDefaultBranchError = NoDefaultBranchError;
declare const errors_NoDefaultBranchError: typeof NoDefaultBranchError;
type errors_NoDefaultSnapshotAvailableError = NoDefaultSnapshotAvailableError;
declare const errors_NoDefaultSnapshotAvailableError: typeof NoDefaultSnapshotAvailableError;
type errors_NoDomainOwnershipError = NoDomainOwnershipError;
declare const errors_NoDomainOwnershipError: typeof NoDomainOwnershipError;
type errors_NoEntrypointFoundError = NoEntrypointFoundError;
declare const errors_NoEntrypointFoundError: typeof NoEntrypointFoundError;
type errors_NodeModulesDownloadFailedError = NodeModulesDownloadFailedError;
declare const errors_NodeModulesDownloadFailedError: typeof NodeModulesDownloadFailedError;
type errors_NodeModulesInstallFailedError = NodeModulesInstallFailedError;
declare const errors_NodeModulesInstallFailedError: typeof NodeModulesInstallFailedError;
type errors_NonLeafLayerFieldErrorError = NonLeafLayerFieldErrorError;
declare const errors_NonLeafLayerFieldErrorError: typeof NonLeafLayerFieldErrorError;
type errors_NonLeafLayerFieldErrorPublic = NonLeafLayerFieldErrorPublic;
type errors_NotFoundError = NotFoundError;
declare const errors_NotFoundError: typeof NotFoundError;
type errors_ObservabilityAccessDeniedError = ObservabilityAccessDeniedError;
declare const errors_ObservabilityAccessDeniedError: typeof ObservabilityAccessDeniedError;
type errors_ObservabilityDatabaseErrorError = ObservabilityDatabaseErrorError;
declare const errors_ObservabilityDatabaseErrorError: typeof ObservabilityDatabaseErrorError;
type errors_OffsetWithSelectorError = OffsetWithSelectorError;
declare const errors_OffsetWithSelectorError: typeof OffsetWithSelectorError;
type errors_OnFailureArrayContainsEmptyError = OnFailureArrayContainsEmptyError;
declare const errors_OnFailureArrayContainsEmptyError: typeof OnFailureArrayContainsEmptyError;
type errors_PackfileError = PackfileError;
declare const errors_PackfileError: typeof PackfileError;
type errors_ParentNotFoundError = ParentNotFoundError;
declare const errors_ParentNotFoundError: typeof ParentNotFoundError;
type errors_ParseLogsFailedError = ParseLogsFailedError;
declare const errors_ParseLogsFailedError: typeof ParseLogsFailedError;
type errors_ParseResponseErrorError = ParseResponseErrorError;
declare const errors_ParseResponseErrorError: typeof ParseResponseErrorError;
type errors_PartitionNotFoundError = PartitionNotFoundError;
declare const errors_PartitionNotFoundError: typeof PartitionNotFoundError;
type errors_PathNotFoundError = PathNotFoundError;
declare const errors_PathNotFoundError: typeof PathNotFoundError;
type errors_PermissionAlreadyExistsError = PermissionAlreadyExistsError;
declare const errors_PermissionAlreadyExistsError: typeof PermissionAlreadyExistsError;
type errors_PermissionDeniedError = PermissionDeniedError;
declare const errors_PermissionDeniedError: typeof PermissionDeniedError;
type errors_PermissionErrorError = PermissionErrorError;
declare const errors_PermissionErrorError: typeof PermissionErrorError;
type errors_PermissionNotFoundError = PermissionNotFoundError;
declare const errors_PermissionNotFoundError: typeof PermissionNotFoundError;
type errors_PersistentVmsNotAllowedError = PersistentVmsNotAllowedError;
declare const errors_PersistentVmsNotAllowedError: typeof PersistentVmsNotAllowedError;
type errors_PostBootDiagnostics = PostBootDiagnostics;
type errors_PreassignedVmIdCountMismatchError = PreassignedVmIdCountMismatchError;
declare const errors_PreassignedVmIdCountMismatchError: typeof PreassignedVmIdCountMismatchError;
type errors_ProjectNotFoundError = ProjectNotFoundError;
declare const errors_ProjectNotFoundError: typeof ProjectNotFoundError;
type errors_PublicAlreadyInProgress = PublicAlreadyInProgress;
type errors_PublicAmbiguous = PublicAmbiguous;
type errors_PublicBackupFailed = PublicBackupFailed;
type errors_PublicBadRequest = PublicBadRequest;
type errors_PublicBlobNotFound = PublicBlobNotFound;
type errors_PublicBranchAlreadyExists = PublicBranchAlreadyExists;
type errors_PublicBranchNotFound = PublicBranchNotFound;
type errors_PublicBuildFailed = PublicBuildFailed;
type errors_PublicCertificateProvisioningError = PublicCertificateProvisioningError;
type errors_PublicCloudstateAccessDenied = PublicCloudstateAccessDenied;
type errors_PublicCloudstateDatabaseError = PublicCloudstateDatabaseError;
type errors_PublicCloudstateInternalError = PublicCloudstateInternalError;
type errors_PublicCommitInvalidRegex = PublicCommitInvalidRegex;
type errors_PublicCommitNotFound = PublicCommitNotFound;
type errors_PublicCommitNotInBranch = PublicCommitNotInBranch;
type errors_PublicConflictingParent = PublicConflictingParent;
type errors_PublicConnectionFailed = PublicConnectionFailed;
type errors_PublicContentNotFound = PublicContentNotFound;
type errors_PublicCreateBackupFailed = PublicCreateBackupFailed;
type errors_PublicCreateIdentityFailed = PublicCreateIdentityFailed;
type errors_PublicCreateRepositoryFailed = PublicCreateRepositoryFailed;
type errors_PublicCreateSnapshotBadRequest = PublicCreateSnapshotBadRequest;
type errors_PublicCreateTokenFailed = PublicCreateTokenFailed;
type errors_PublicCreateVmBadRequest = PublicCreateVmBadRequest;
type errors_PublicCreateVmMemNotPowerOfTwo = PublicCreateVmMemNotPowerOfTwo;
type errors_PublicCreateVmMemOutOfRange = PublicCreateVmMemOutOfRange;
type errors_PublicCreateVmRootfsOutOfRange = PublicCreateVmRootfsOutOfRange;
type errors_PublicCreateVmVcpuNotPowerOfTwo = PublicCreateVmVcpuNotPowerOfTwo;
type errors_PublicCreateVmVcpuOutOfRange = PublicCreateVmVcpuOutOfRange;
type errors_PublicDeleteIdentityFailed = PublicDeleteIdentityFailed;
type errors_PublicDeleteRepositoryFailed = PublicDeleteRepositoryFailed;
type errors_PublicDeploymentAccessDenied = PublicDeploymentAccessDenied;
type errors_PublicDeploymentFailed = PublicDeploymentFailed;
type errors_PublicDeploymentLimitExceeded = PublicDeploymentLimitExceeded;
type errors_PublicDiffInvalidPathPattern = PublicDiffInvalidPathPattern;
type errors_PublicDiffInvalidRegex = PublicDiffInvalidRegex;
type errors_PublicDirectoryCreationFailed = PublicDirectoryCreationFailed;
type errors_PublicDomainAlreadyExists = PublicDomainAlreadyExists;
type errors_PublicDomainMappingError = PublicDomainMappingError;
type errors_PublicDomainOwnershipError = PublicDomainOwnershipError;
type errors_PublicDomainOwnershipNotVerified = PublicDomainOwnershipNotVerified;
type errors_PublicDownloadFailed = PublicDownloadFailed;
type errors_PublicEntrypointNotFound = PublicEntrypointNotFound;
type errors_PublicErrorCreatingRecord = PublicErrorCreatingRecord;
type errors_PublicErrorDeletingRecord = PublicErrorDeletingRecord;
type errors_PublicExecTimedOut = PublicExecTimedOut;
type errors_PublicExecuteInternalError = PublicExecuteInternalError;
type errors_PublicExecutionError = PublicExecutionError;
type errors_PublicFailedInsertDomainMapping = PublicFailedInsertDomainMapping;
type errors_PublicFailedPermissionsCheck = PublicFailedPermissionsCheck;
type errors_PublicFailedRemoveDomainMapping = PublicFailedRemoveDomainMapping;
type errors_PublicFailedToCheckDomainMappingPermissions = PublicFailedToCheckDomainMappingPermissions;
type errors_PublicFailedToCheckPermissions = PublicFailedToCheckPermissions;
type errors_PublicFailedToCreateVerificationCode = PublicFailedToCreateVerificationCode;
type errors_PublicFailedToDeleteVerification = PublicFailedToDeleteVerification;
type errors_PublicFailedToInsertDomainMapping = PublicFailedToInsertDomainMapping;
type errors_PublicFailedToInsertOwnership = PublicFailedToInsertOwnership;
type errors_PublicFailedToListDomains = PublicFailedToListDomains;
type errors_PublicFailedToListVerifications = PublicFailedToListVerifications;
type errors_PublicFailedToProvisionCertificate = PublicFailedToProvisionCertificate;
type errors_PublicFailedToProvisionCertificateForMapping = PublicFailedToProvisionCertificateForMapping;
type errors_PublicFailedToVerifyDomain = PublicFailedToVerifyDomain;
type errors_PublicFileNotFound = PublicFileNotFound;
type errors_PublicFilenameInvalidPattern = PublicFilenameInvalidPattern;
type errors_PublicFilesBadRequest = PublicFilesBadRequest;
type errors_PublicForkVmNotFound = PublicForkVmNotFound;
type errors_PublicGetContentFailed = PublicGetContentFailed;
type errors_PublicGetPermissionFailed = PublicGetPermissionFailed;
type errors_PublicGetRepositoryInfoFailed = PublicGetRepositoryInfoFailed;
type errors_PublicGitHubSyncFailed = PublicGitHubSyncFailed;
type errors_PublicGitInvalidRequest = PublicGitInvalidRequest;
type errors_PublicGitServerError = PublicGitServerError;
type errors_PublicGrantPermissionFailed = PublicGrantPermissionFailed;
type errors_PublicGroupAlreadyExists = PublicGroupAlreadyExists;
type errors_PublicIdentityError = PublicIdentityError;
type errors_PublicImportSubdirNotFound = PublicImportSubdirNotFound;
type errors_PublicInternalForkVmNotFound = PublicInternalForkVmNotFound;
type errors_PublicInternalVmNotFound = PublicInternalVmNotFound;
type errors_PublicInvalid = PublicInvalid;
type errors_PublicInvalidAccountId = PublicInvalidAccountId;
type errors_PublicInvalidBase64Content = PublicInvalidBase64Content;
type errors_PublicInvalidDeploymentRequest = PublicInvalidDeploymentRequest;
type errors_PublicInvalidDomain = PublicInvalidDomain;
type errors_PublicInvalidDomains = PublicInvalidDomains;
type errors_PublicInvalidFileChange = PublicInvalidFileChange;
type errors_PublicInvalidFilePath = PublicInvalidFilePath;
type errors_PublicInvalidPathPattern = PublicInvalidPathPattern;
type errors_PublicInvalidQuery = PublicInvalidQuery;
type errors_PublicInvalidRange = PublicInvalidRange;
type errors_PublicInvalidRegex = PublicInvalidRegex;
type errors_PublicInvalidRevision = PublicInvalidRevision;
type errors_PublicInvalidVmId = PublicInvalidVmId;
type errors_PublicJobNotFound = PublicJobNotFound;
type errors_PublicLimitExceeded = PublicLimitExceeded;
type errors_PublicListIdentitiesFailed = PublicListIdentitiesFailed;
type errors_PublicListPermissionsFailed = PublicListPermissionsFailed;
type errors_PublicListRepositoriesFailed = PublicListRepositoriesFailed;
type errors_PublicListRunsFailed = PublicListRunsFailed;
type errors_PublicListTokensFailed = PublicListTokensFailed;
type errors_PublicLockGenerationFailed = PublicLockGenerationFailed;
type errors_PublicLockfileError = PublicLockfileError;
type errors_PublicLoggingFailed = PublicLoggingFailed;
type errors_PublicLogsNotFound = PublicLogsNotFound;
type errors_PublicMemOverPlanLimit = PublicMemOverPlanLimit;
type errors_PublicMemSizeTooLarge = PublicMemSizeTooLarge;
type errors_PublicMemoryStorageQuotaExceeded = PublicMemoryStorageQuotaExceeded;
type errors_PublicMetadataWriteFailed = PublicMetadataWriteFailed;
type errors_PublicNetworkPermissionsFailed = PublicNetworkPermissionsFailed;
type errors_PublicNoDomainOwnership = PublicNoDomainOwnership;
type errors_PublicNodeModulesDownloadFailed = PublicNodeModulesDownloadFailed;
type errors_PublicNodeModulesInstallFailed = PublicNodeModulesInstallFailed;
type errors_PublicObservabilityAccessDenied = PublicObservabilityAccessDenied;
type errors_PublicObservabilityDatabaseError = PublicObservabilityDatabaseError;
type errors_PublicParentNotFound = PublicParentNotFound;
type errors_PublicParseLogsFailed = PublicParseLogsFailed;
type errors_PublicParseResponseError = PublicParseResponseError;
type errors_PublicPathNotFound = PublicPathNotFound;
type errors_PublicPermissionDenied = PublicPermissionDenied;
type errors_PublicPermissionError = PublicPermissionError;
type errors_PublicProjectNotFound = PublicProjectNotFound;
type errors_PublicRecordOwnershipError = PublicRecordOwnershipError;
type errors_PublicReferenceNotFound = PublicReferenceNotFound;
type errors_PublicRepairAlreadyInProgress = PublicRepairAlreadyInProgress;
type errors_PublicRepoAlreadyExists = PublicRepoAlreadyExists;
type errors_PublicRepositoryNotFound = PublicRepositoryNotFound;
type errors_PublicResizeFailed = PublicResizeFailed;
type errors_PublicResizeVmMemNotPowerOfTwo = PublicResizeVmMemNotPowerOfTwo;
type errors_PublicResizeVmMemOutOfRange = PublicResizeVmMemOutOfRange;
type errors_PublicResizeVmRootfsShrinkNotSupported = PublicResizeVmRootfsShrinkNotSupported;
type errors_PublicResizeVmVcpuNotPowerOfTwo = PublicResizeVmVcpuNotPowerOfTwo;
type errors_PublicResizeVmVcpuOutOfRange = PublicResizeVmVcpuOutOfRange;
type errors_PublicRestoreFailed = PublicRestoreFailed;
type errors_PublicRetrieveLogsFailed = PublicRetrieveLogsFailed;
type errors_PublicRevokePermissionFailed = PublicRevokePermissionFailed;
type errors_PublicRevokeTokenFailed = PublicRevokeTokenFailed;
type errors_PublicRootfsOverPlanLimit = PublicRootfsOverPlanLimit;
type errors_PublicRootfsSizeTooLarge = PublicRootfsSizeTooLarge;
type errors_PublicRootfsStorageQuotaExceeded = PublicRootfsStorageQuotaExceeded;
type errors_PublicRunNotFound = PublicRunNotFound;
type errors_PublicRuntimeError = PublicRuntimeError;
type errors_PublicSerializationError = PublicSerializationError;
type errors_PublicServiceAlreadyExists = PublicServiceAlreadyExists;
type errors_PublicSnapshotAlreadyDeleted = PublicSnapshotAlreadyDeleted;
type errors_PublicSnapshotIsAccountDefault = PublicSnapshotIsAccountDefault;
type errors_PublicSnapshotLimitExceeded = PublicSnapshotLimitExceeded;
type errors_PublicSnapshotNotFound = PublicSnapshotNotFound;
type errors_PublicSnapshotSetupFailed = PublicSnapshotSetupFailed;
type errors_PublicSnapshotVmBadRequest = PublicSnapshotVmBadRequest;
type errors_PublicSourceNotFound = PublicSourceNotFound;
type errors_PublicSourceUnauthorized = PublicSourceUnauthorized;
type errors_PublicTagNotFound = PublicTagNotFound;
type errors_PublicTimeoutLimitExceeded = PublicTimeoutLimitExceeded;
type errors_PublicTokenError = PublicTokenError;
type errors_PublicTooManyConcurrentRepairs = PublicTooManyConcurrentRepairs;
type errors_PublicTotalVmLimitExceeded = PublicTotalVmLimitExceeded;
type errors_PublicTreeNotFound = PublicTreeNotFound;
type errors_PublicTriggerError = PublicTriggerError;
type errors_PublicUnsupportedOs = PublicUnsupportedOs;
type errors_PublicUnsupportedTransfer = PublicUnsupportedTransfer;
type errors_PublicUpdateDefaultBranchFailed = PublicUpdateDefaultBranchFailed;
type errors_PublicUpdatePermissionFailed = PublicUpdatePermissionFailed;
type errors_PublicUserAlreadyExists = PublicUserAlreadyExists;
type errors_PublicVcpuOverPlanLimit = PublicVcpuOverPlanLimit;
type errors_PublicVerificationFailed = PublicVerificationFailed;
type errors_PublicVerificationNotFound = PublicVerificationNotFound;
type errors_PublicVmAccessDeniedForMapping = PublicVmAccessDeniedForMapping;
type errors_PublicVmDeleted = PublicVmDeleted;
type errors_PublicVmLimitExceeded = PublicVmLimitExceeded;
type errors_PublicWebDeploymentBadRequest = PublicWebDeploymentBadRequest;
type errors_PublicWriteScriptFailed = PublicWriteScriptFailed;
type errors_RecordOwnershipErrorError = RecordOwnershipErrorError;
declare const errors_RecordOwnershipErrorError: typeof RecordOwnershipErrorError;
type errors_ReferenceNotFoundError = ReferenceNotFoundError;
declare const errors_ReferenceNotFoundError: typeof ReferenceNotFoundError;
type errors_RepairAlreadyInProgressError = RepairAlreadyInProgressError;
declare const errors_RepairAlreadyInProgressError: typeof RepairAlreadyInProgressError;
type errors_RepoAlreadyExistsError = RepoAlreadyExistsError;
declare const errors_RepoAlreadyExistsError: typeof RepoAlreadyExistsError;
type errors_RepoNotFoundError = RepoNotFoundError;
declare const errors_RepoNotFoundError: typeof RepoNotFoundError;
type errors_RepositoryAccessDeniedError = RepositoryAccessDeniedError;
declare const errors_RepositoryAccessDeniedError: typeof RepositoryAccessDeniedError;
type errors_RepositoryNotFoundError = RepositoryNotFoundError;
declare const errors_RepositoryNotFoundError: typeof RepositoryNotFoundError;
type errors_RequiresArrayContainsEmptyError = RequiresArrayContainsEmptyError;
declare const errors_RequiresArrayContainsEmptyError: typeof RequiresArrayContainsEmptyError;
type errors_ReqwestError = ReqwestError;
declare const errors_ReqwestError: typeof ReqwestError;
type errors_ResizeFailedError = ResizeFailedError;
declare const errors_ResizeFailedError: typeof ResizeFailedError;
type errors_ResizeVmEmptyRequestError = ResizeVmEmptyRequestError;
declare const errors_ResizeVmEmptyRequestError: typeof ResizeVmEmptyRequestError;
type errors_ResizeVmMemNotPowerOfTwoError = ResizeVmMemNotPowerOfTwoError;
declare const errors_ResizeVmMemNotPowerOfTwoError: typeof ResizeVmMemNotPowerOfTwoError;
type errors_ResizeVmMemOutOfRangeError = ResizeVmMemOutOfRangeError;
declare const errors_ResizeVmMemOutOfRangeError: typeof ResizeVmMemOutOfRangeError;
type errors_ResizeVmRootfsShrinkNotSupportedError = ResizeVmRootfsShrinkNotSupportedError;
declare const errors_ResizeVmRootfsShrinkNotSupportedError: typeof ResizeVmRootfsShrinkNotSupportedError;
type errors_ResizeVmVcpuNotPowerOfTwoError = ResizeVmVcpuNotPowerOfTwoError;
declare const errors_ResizeVmVcpuNotPowerOfTwoError: typeof ResizeVmVcpuNotPowerOfTwoError;
type errors_ResizeVmVcpuOutOfRangeError = ResizeVmVcpuOutOfRangeError;
declare const errors_ResizeVmVcpuOutOfRangeError: typeof ResizeVmVcpuOutOfRangeError;
type errors_RestoreFailedError = RestoreFailedError;
declare const errors_RestoreFailedError: typeof RestoreFailedError;
type errors_ResumedVmNonResponsiveError = ResumedVmNonResponsiveError;
declare const errors_ResumedVmNonResponsiveError: typeof ResumedVmNonResponsiveError;
type errors_RetrieveLogsFailedError = RetrieveLogsFailedError;
declare const errors_RetrieveLogsFailedError: typeof RetrieveLogsFailedError;
type errors_RevokePermissionFailedError = RevokePermissionFailedError;
declare const errors_RevokePermissionFailedError: typeof RevokePermissionFailedError;
type errors_RevokeTokenFailedError = RevokeTokenFailedError;
declare const errors_RevokeTokenFailedError: typeof RevokeTokenFailedError;
type errors_RootfsCopyErrorError = RootfsCopyErrorError;
declare const errors_RootfsCopyErrorError: typeof RootfsCopyErrorError;
type errors_RootfsOverPlanLimitError = RootfsOverPlanLimitError;
declare const errors_RootfsOverPlanLimitError: typeof RootfsOverPlanLimitError;
type errors_RootfsSizeTooLargeError = RootfsSizeTooLargeError;
declare const errors_RootfsSizeTooLargeError: typeof RootfsSizeTooLargeError;
type errors_RootfsStorageQuotaExceededError = RootfsStorageQuotaExceededError;
declare const errors_RootfsStorageQuotaExceededError: typeof RootfsStorageQuotaExceededError;
type errors_RunNotFoundError = RunNotFoundError;
declare const errors_RunNotFoundError: typeof RunNotFoundError;
type errors_RuntimeErrorError = RuntimeErrorError;
declare const errors_RuntimeErrorError: typeof RuntimeErrorError;
type errors_ScheduleNotFoundError = ScheduleNotFoundError;
declare const errors_ScheduleNotFoundError: typeof ScheduleNotFoundError;
type errors_SendErrorError = SendErrorError;
declare const errors_SendErrorError: typeof SendErrorError;
type errors_SerializationErrorError = SerializationErrorError;
declare const errors_SerializationErrorError: typeof SerializationErrorError;
type errors_ServerDeploymentFailedError = ServerDeploymentFailedError;
declare const errors_ServerDeploymentFailedError: typeof ServerDeploymentFailedError;
type errors_ServiceAlreadyExistsError = ServiceAlreadyExistsError;
declare const errors_ServiceAlreadyExistsError: typeof ServiceAlreadyExistsError;
type errors_ServiceLog = ServiceLog;
type errors_ServiceNameEmptyError = ServiceNameEmptyError;
declare const errors_ServiceNameEmptyError: typeof ServiceNameEmptyError;
type errors_ServiceNameInvalidCharsError = ServiceNameInvalidCharsError;
declare const errors_ServiceNameInvalidCharsError: typeof ServiceNameInvalidCharsError;
type errors_ServiceNameInvalidPrefixError = ServiceNameInvalidPrefixError;
declare const errors_ServiceNameInvalidPrefixError: typeof ServiceNameInvalidPrefixError;
type errors_ServiceNameTooLongError = ServiceNameTooLongError;
declare const errors_ServiceNameTooLongError: typeof ServiceNameTooLongError;
type errors_ServiceNotFoundError = ServiceNotFoundError;
declare const errors_ServiceNotFoundError: typeof ServiceNotFoundError;
type errors_ServiceStateGroup = ServiceStateGroup;
type errors_ServiceUnavailableError = ServiceUnavailableError;
declare const errors_ServiceUnavailableError: typeof ServiceUnavailableError;
type errors_SetDefaultSnapshotFailedError = SetDefaultSnapshotFailedError;
declare const errors_SetDefaultSnapshotFailedError: typeof SetDefaultSnapshotFailedError;
type errors_SigningError = SigningError;
declare const errors_SigningError: typeof SigningError;
type errors_SnapshotAlreadyDeletedError = SnapshotAlreadyDeletedError;
declare const errors_SnapshotAlreadyDeletedError: typeof SnapshotAlreadyDeletedError;
type errors_SnapshotDirNotFoundError = SnapshotDirNotFoundError;
declare const errors_SnapshotDirNotFoundError: typeof SnapshotDirNotFoundError;
type errors_SnapshotId = SnapshotId;
type errors_SnapshotIsAccountDefaultError = SnapshotIsAccountDefaultError;
declare const errors_SnapshotIsAccountDefaultError: typeof SnapshotIsAccountDefaultError;
type errors_SnapshotLayerCreationFailedError = SnapshotLayerCreationFailedError;
declare const errors_SnapshotLayerCreationFailedError: typeof SnapshotLayerCreationFailedError;
type errors_SnapshotLimitExceededError = SnapshotLimitExceededError;
declare const errors_SnapshotLimitExceededError: typeof SnapshotLimitExceededError;
type errors_SnapshotLoadTimeoutError = SnapshotLoadTimeoutError;
declare const errors_SnapshotLoadTimeoutError: typeof SnapshotLoadTimeoutError;
type errors_SnapshotNotFoundError = SnapshotNotFoundError;
declare const errors_SnapshotNotFoundError: typeof SnapshotNotFoundError;
type errors_SnapshotSetupFailedError = SnapshotSetupFailedError;
declare const errors_SnapshotSetupFailedError: typeof SnapshotSetupFailedError;
type errors_SnapshotVmBadRequestError = SnapshotVmBadRequestError;
declare const errors_SnapshotVmBadRequestError: typeof SnapshotVmBadRequestError;
type errors_SourceImportConflictError = SourceImportConflictError;
declare const errors_SourceImportConflictError: typeof SourceImportConflictError;
type errors_SourceNotFoundError = SourceNotFoundError;
declare const errors_SourceNotFoundError: typeof SourceNotFoundError;
type errors_SourceUnauthorizedError = SourceUnauthorizedError;
declare const errors_SourceUnauthorizedError: typeof SourceUnauthorizedError;
type errors_StartingHandleInstanceIdMismatchError = StartingHandleInstanceIdMismatchError;
declare const errors_StartingHandleInstanceIdMismatchError: typeof StartingHandleInstanceIdMismatchError;
type errors_SubvolumeCreationFailedError = SubvolumeCreationFailedError;
declare const errors_SubvolumeCreationFailedError: typeof SubvolumeCreationFailedError;
type errors_SuspendFailedAndStopFailedError = SuspendFailedAndStopFailedError;
declare const errors_SuspendFailedAndStopFailedError: typeof SuspendFailedAndStopFailedError;
type errors_SuspendFailedAndStoppedError = SuspendFailedAndStoppedError;
declare const errors_SuspendFailedAndStoppedError: typeof SuspendFailedAndStoppedError;
type errors_SwapVmTapError = SwapVmTapError;
declare const errors_SwapVmTapError: typeof SwapVmTapError;
type errors_SyntaxErrorError = SyntaxErrorError;
declare const errors_SyntaxErrorError: typeof SyntaxErrorError;
type errors_TagNotFoundError = TagNotFoundError;
declare const errors_TagNotFoundError: typeof TagNotFoundError;
type errors_TimeoutLimitExceededError = TimeoutLimitExceededError;
declare const errors_TimeoutLimitExceededError: typeof TimeoutLimitExceededError;
type errors_TokenErrorError = TokenErrorError;
declare const errors_TokenErrorError: typeof TokenErrorError;
type errors_TooManyConcurrentRepairsError = TooManyConcurrentRepairsError;
declare const errors_TooManyConcurrentRepairsError: typeof TooManyConcurrentRepairsError;
type errors_TotalVmLimitExceededError = TotalVmLimitExceededError;
declare const errors_TotalVmLimitExceededError: typeof TotalVmLimitExceededError;
type errors_TreeNotFoundError = TreeNotFoundError;
declare const errors_TreeNotFoundError: typeof TreeNotFoundError;
type errors_TriggerErrorError = TriggerErrorError;
declare const errors_TriggerErrorError: typeof TriggerErrorError;
type errors_UffdTimeoutErrorError = UffdTimeoutErrorError;
declare const errors_UffdTimeoutErrorError: typeof UffdTimeoutErrorError;
type errors_UnauthorizedError = UnauthorizedError;
declare const errors_UnauthorizedError: typeof UnauthorizedError;
type errors_UnauthorizedErrorError = UnauthorizedErrorError;
declare const errors_UnauthorizedErrorError: typeof UnauthorizedErrorError;
type errors_UnauthorizedErrorPublic = UnauthorizedErrorPublic;
type errors_UnavailableError = UnavailableError;
declare const errors_UnavailableError: typeof UnavailableError;
type errors_UnsupportedOsError = UnsupportedOsError;
declare const errors_UnsupportedOsError: typeof UnsupportedOsError;
type errors_UnsupportedTransferError = UnsupportedTransferError;
declare const errors_UnsupportedTransferError: typeof UnsupportedTransferError;
type errors_UpdateDefaultBranchFailedError = UpdateDefaultBranchFailedError;
declare const errors_UpdateDefaultBranchFailedError: typeof UpdateDefaultBranchFailedError;
type errors_UpdatePermissionFailedError = UpdatePermissionFailedError;
declare const errors_UpdatePermissionFailedError: typeof UpdatePermissionFailedError;
type errors_UploadErrorError = UploadErrorError;
declare const errors_UploadErrorError: typeof UploadErrorError;
type errors_UserAlreadyExistsError = UserAlreadyExistsError;
declare const errors_UserAlreadyExistsError: typeof UserAlreadyExistsError;
type errors_UserEmptyError = UserEmptyError;
declare const errors_UserEmptyError: typeof UserEmptyError;
type errors_UserGroupEmptyError = UserGroupEmptyError;
declare const errors_UserGroupEmptyError: typeof UserGroupEmptyError;
type errors_UserHomeInvalidError = UserHomeInvalidError;
declare const errors_UserHomeInvalidError: typeof UserHomeInvalidError;
type errors_UserNotFoundError = UserNotFoundError;
declare const errors_UserNotFoundError: typeof UserNotFoundError;
type errors_UserShellInvalidError = UserShellInvalidError;
declare const errors_UserShellInvalidError: typeof UserShellInvalidError;
type errors_UserSystemFlagMismatchError = UserSystemFlagMismatchError;
declare const errors_UserSystemFlagMismatchError: typeof UserSystemFlagMismatchError;
type errors_UserUidOutOfRangeError = UserUidOutOfRangeError;
declare const errors_UserUidOutOfRangeError: typeof UserUidOutOfRangeError;
type errors_ValidationErrorError = ValidationErrorError;
declare const errors_ValidationErrorError: typeof ValidationErrorError;
type errors_VcpuOverPlanLimitError = VcpuOverPlanLimitError;
declare const errors_VcpuOverPlanLimitError: typeof VcpuOverPlanLimitError;
type errors_VerificationFailedError = VerificationFailedError;
declare const errors_VerificationFailedError: typeof VerificationFailedError;
type errors_VerificationNotFoundError = VerificationNotFoundError;
declare const errors_VerificationNotFoundError: typeof VerificationNotFoundError;
type errors_VmAccessDeniedError = VmAccessDeniedError;
declare const errors_VmAccessDeniedError: typeof VmAccessDeniedError;
type errors_VmAccessDeniedForMappingError = VmAccessDeniedForMappingError;
declare const errors_VmAccessDeniedForMappingError: typeof VmAccessDeniedForMappingError;
type errors_VmDeletedError = VmDeletedError;
declare const errors_VmDeletedError: typeof VmDeletedError;
type errors_VmExitDuringStartError = VmExitDuringStartError;
declare const errors_VmExitDuringStartError: typeof VmExitDuringStartError;
type errors_VmId = VmId;
type errors_VmIsSuspendingError = VmIsSuspendingError;
declare const errors_VmIsSuspendingError: typeof VmIsSuspendingError;
type errors_VmLimitExceededError = VmLimitExceededError;
declare const errors_VmLimitExceededError: typeof VmLimitExceededError;
type errors_VmNotFoundError = VmNotFoundError;
declare const errors_VmNotFoundError: typeof VmNotFoundError;
type errors_VmNotFoundInFsError = VmNotFoundInFsError;
declare const errors_VmNotFoundInFsError: typeof VmNotFoundInFsError;
type errors_VmNotFoundPublic = VmNotFoundPublic;
type errors_VmNotInTransactionError = VmNotInTransactionError;
declare const errors_VmNotInTransactionError: typeof VmNotInTransactionError;
type errors_VmNotRunningError = VmNotRunningError;
declare const errors_VmNotRunningError: typeof VmNotRunningError;
type errors_VmOperationDeniedDuringTransactionError = VmOperationDeniedDuringTransactionError;
declare const errors_VmOperationDeniedDuringTransactionError: typeof VmOperationDeniedDuringTransactionError;
type errors_VmOperationDeniedDuringTransactionPublic = VmOperationDeniedDuringTransactionPublic;
type errors_VmPermissionNotFoundError = VmPermissionNotFoundError;
declare const errors_VmPermissionNotFoundError: typeof VmPermissionNotFoundError;
type errors_VmSetupFailedError = VmSetupFailedError;
declare const errors_VmSetupFailedError: typeof VmSetupFailedError;
type errors_VmSetupFailedPublic = VmSetupFailedPublic;
type errors_VmSpawnProcessError = VmSpawnProcessError;
declare const errors_VmSpawnProcessError: typeof VmSpawnProcessError;
type errors_VmStartTimeoutError = VmStartTimeoutError;
declare const errors_VmStartTimeoutError: typeof VmStartTimeoutError;
type errors_VmSubnetNotFoundError = VmSubnetNotFoundError;
declare const errors_VmSubnetNotFoundError: typeof VmSubnetNotFoundError;
type errors_VmTransactionIdMismatchError = VmTransactionIdMismatchError;
declare const errors_VmTransactionIdMismatchError: typeof VmTransactionIdMismatchError;
type errors_VmTransactionIdMismatchPublic = VmTransactionIdMismatchPublic;
type errors_WantedByEmptyError = WantedByEmptyError;
declare const errors_WantedByEmptyError: typeof WantedByEmptyError;
type errors_WebDeploymentBadRequestError = WebDeploymentBadRequestError;
declare const errors_WebDeploymentBadRequestError: typeof WebDeploymentBadRequestError;
type errors_WorkdirEmptyError = WorkdirEmptyError;
declare const errors_WorkdirEmptyError: typeof WorkdirEmptyError;
type errors_WriteScriptFailedError = WriteScriptFailedError;
declare const errors_WriteScriptFailedError: typeof WriteScriptFailedError;
declare const errors_errorFromJSON: typeof errorFromJSON;
declare namespace errors {
  export { errors_AccessDeniedError as AccessDeniedError, errors_ActiveTransactionErrorError as ActiveTransactionErrorError, errors_AfterArrayContainsEmptyError as AfterArrayContainsEmptyError, errors_AlreadyInProgressError as AlreadyInProgressError, errors_AmbiguousError as AmbiguousError, errors_BackupFailedError as BackupFailedError, errors_BadHeaderError as BadHeaderError, errors_BadKeyError as BadKeyError, errors_BadParseError as BadParseError, errors_BadRequestError as BadRequestError, errors_BadSignatureError as BadSignatureError, errors_BadTimestampError as BadTimestampError, errors_BlobNotFoundError as BlobNotFoundError, errors_BranchAlreadyExistsError as BranchAlreadyExistsError, errors_BranchNameEmptyError as BranchNameEmptyError, errors_BranchNotFoundError as BranchNotFoundError, errors_BuildFailedError as BuildFailedError, errors_CannotDeleteManagedIdentityError as CannotDeleteManagedIdentityError, errors_CannotModifyManagedIdentityError as CannotModifyManagedIdentityError, errors_CertificateProvisioningErrorError as CertificateProvisioningErrorError, errors_CloudstateAccessDeniedError as CloudstateAccessDeniedError, errors_CloudstateDatabaseErrorError as CloudstateDatabaseErrorError, errors_CloudstateInternalErrorError as CloudstateInternalErrorError, errors_CommitEmptyQueryError as CommitEmptyQueryError, errors_CommitInvalidRegexError as CommitInvalidRegexError, errors_CommitNotFoundError as CommitNotFoundError, errors_CommitNotInBranchError as CommitNotInBranchError, errors_ConflictError as ConflictError, errors_ConflictingParentError as ConflictingParentError, errors_ConflictingSpecSourcesErrorError as ConflictingSpecSourcesErrorError, errors_ConnectionFailedError as ConnectionFailedError, errors_ContentNotFoundError as ContentNotFoundError, errors_CreateBackupFailedError as CreateBackupFailedError, errors_CreateIdentityFailedError as CreateIdentityFailedError, errors_CreateRepositoryFailedError as CreateRepositoryFailedError, errors_CreateSnapshotBadRequestError as CreateSnapshotBadRequestError, errors_CreateTokenFailedError as CreateTokenFailedError, errors_CreateVmBadRequestError as CreateVmBadRequestError, errors_CreateVmMemNotPowerOfTwoError as CreateVmMemNotPowerOfTwoError, errors_CreateVmMemOutOfRangeError as CreateVmMemOutOfRangeError, errors_CreateVmRootfsOutOfRangeError as CreateVmRootfsOutOfRangeError, errors_CreateVmVcpuNotPowerOfTwoError as CreateVmVcpuNotPowerOfTwoError, errors_CreateVmVcpuOutOfRangeError as CreateVmVcpuOutOfRangeError, errors_CustomSizingNotAllowedError as CustomSizingNotAllowedError, errors_DatabaseErrorError as DatabaseErrorError, errors_DeleteIdentityFailedError as DeleteIdentityFailedError, errors_DeleteRepositoryFailedError as DeleteRepositoryFailedError, errors_DeploymentAccessDeniedError as DeploymentAccessDeniedError, errors_DeploymentFailedError as DeploymentFailedError, errors_DeploymentLimitExceededError as DeploymentLimitExceededError, errors_DeploymentNotFoundError as DeploymentNotFoundError, errors_DiffEmptyQueryError as DiffEmptyQueryError, errors_DiffInvalidPathPatternError as DiffInvalidPathPatternError, errors_DiffInvalidRegexError as DiffInvalidRegexError, errors_DirectoryCreationFailedError as DirectoryCreationFailedError, errors_DockerSnapshotFailedError as DockerSnapshotFailedError, errors_DomainAlreadyExistsError as DomainAlreadyExistsError, errors_DomainMappingErrorError as DomainMappingErrorError, errors_DomainOwnershipErrorError as DomainOwnershipErrorError, errors_DomainOwnershipNotVerifiedError as DomainOwnershipNotVerifiedError, errors_DomainOwnershipVerificationFailedError as DomainOwnershipVerificationFailedError, errors_DownloadFailedError as DownloadFailedError, errors_DuplicateGroupNameError as DuplicateGroupNameError, errors_DuplicateUserNameError as DuplicateUserNameError, errors_EmptyQueryError as EmptyQueryError, errors_EmptyTagError as EmptyTagError, errors_EntrypointNotFoundError as EntrypointNotFoundError, errors_EnvKeyContainsEqualsError as EnvKeyContainsEqualsError, errors_EnvKeyEmptyError as EnvKeyEmptyError, errors_ErrorCreatingRecordError as ErrorCreatingRecordError, errors_ErrorDeletingRecordError as ErrorDeletingRecordError, errors_ExecEmptyError as ExecEmptyError, errors_ExecTimedOutError as ExecTimedOutError, errors_ExecuteAccessDeniedError as ExecuteAccessDeniedError, errors_ExecuteInternalErrorError as ExecuteInternalErrorError, errors_ExecuteLimitExceededError as ExecuteLimitExceededError, errors_ExecutionErrorError as ExecutionErrorError, errors_ExpectedServiceError as ExpectedServiceError, errors_ExpiredError as ExpiredError, errors_FREESTYLE_ERROR_CODE_MAP as FREESTYLE_ERROR_CODE_MAP, errors_FailedInsertDomainMappingError as FailedInsertDomainMappingError, errors_FailedPermissionsCheckError as FailedPermissionsCheckError, errors_FailedRemoveDomainMappingError as FailedRemoveDomainMappingError, errors_FailedToCheckDomainMappingPermissionsError as FailedToCheckDomainMappingPermissionsError, errors_FailedToCheckPermissionsError as FailedToCheckPermissionsError, errors_FailedToCreateVerificationCodeError as FailedToCreateVerificationCodeError, errors_FailedToDeleteVerificationError as FailedToDeleteVerificationError, errors_FailedToInsertDomainMappingError as FailedToInsertDomainMappingError, errors_FailedToInsertOwnershipError as FailedToInsertOwnershipError, errors_FailedToListDomainsError as FailedToListDomainsError, errors_FailedToListVerificationsError as FailedToListVerificationsError, errors_FailedToPreRegisterError as FailedToPreRegisterError, errors_FailedToProvisionCertificateError as FailedToProvisionCertificateError, errors_FailedToProvisionCertificateForMappingError as FailedToProvisionCertificateForMappingError, errors_FailedToSpawnUffdError as FailedToSpawnUffdError, errors_FailedToVerifyDomainError as FailedToVerifyDomainError, errors_FileNotFoundError as FileNotFoundError, errors_FilenameEmptyQueryError as FilenameEmptyQueryError, errors_FilenameInvalidPatternError as FilenameInvalidPatternError, errors_FilesBadRequestError as FilesBadRequestError, errors_FirecrackerApiSocketNotFoundError as FirecrackerApiSocketNotFoundError, errors_FirecrackerPidNotFoundError as FirecrackerPidNotFoundError, errors_ForbiddenError as ForbiddenError, errors_ForkVmNotFoundError as ForkVmNotFoundError, errors_GetContentFailedError as GetContentFailedError, errors_GetDefaultSnapshotFailedError as GetDefaultSnapshotFailedError, errors_GetPermissionFailedError as GetPermissionFailedError, errors_GetRepositoryInfoFailedError as GetRepositoryInfoFailedError, errors_GitErrorError as GitErrorError, errors_GitHubSyncConflictError as GitHubSyncConflictError, errors_GitHubSyncFailedError as GitHubSyncFailedError, errors_GitInvalidRequestError as GitInvalidRequestError, errors_GitRepoLimitExceededError as GitRepoLimitExceededError, errors_GitRepositoryAccessDeniedError as GitRepositoryAccessDeniedError, errors_GitRepositoryNotFoundError as GitRepositoryNotFoundError, errors_GitServerErrorError as GitServerErrorError, errors_GrantPermissionFailedError as GrantPermissionFailedError, errors_GroupAlreadyExistsError as GroupAlreadyExistsError, errors_GroupEmptyError as GroupEmptyError, errors_GroupNameEmptyError as GroupNameEmptyError, errors_GroupNameInvalidCharsError as GroupNameInvalidCharsError, errors_GroupNameReservedError as GroupNameReservedError, errors_GroupNameTooLongError as GroupNameTooLongError, errors_GroupNotFoundError as GroupNotFoundError, errors_IdentityAccessDeniedError as IdentityAccessDeniedError, errors_IdentityErrorError as IdentityErrorError, errors_IdentityNotFoundError as IdentityNotFoundError, errors_ImportSubdirNotFoundError as ImportSubdirNotFoundError, errors_InternalError as InternalError, errors_InternalErrorError as InternalErrorError, errors_InternalForkVmNotFoundError as InternalForkVmNotFoundError, errors_InternalResizeVmNotFoundError as InternalResizeVmNotFoundError, errors_InternalVmNotFoundError as InternalVmNotFoundError, errors_InvalidAccountIdError as InvalidAccountIdError, errors_InvalidBase64ContentError as InvalidBase64ContentError, errors_InvalidDeploymentRequestError as InvalidDeploymentRequestError, errors_InvalidDomainError as InvalidDomainError, errors_InvalidDomainsError as InvalidDomainsError, errors_InvalidError as InvalidError, errors_InvalidFileChangeError as InvalidFileChangeError, errors_InvalidFilePathError as InvalidFilePathError, errors_InvalidGitRepoSpecErrorError as InvalidGitRepoSpecErrorError, errors_InvalidObjectIdError as InvalidObjectIdError, errors_InvalidParametersError as InvalidParametersError, errors_InvalidPathPatternError as InvalidPathPatternError, errors_InvalidQueryError as InvalidQueryError, errors_InvalidRangeError as InvalidRangeError, errors_InvalidRegexError as InvalidRegexError, errors_InvalidRequestError as InvalidRequestError, errors_InvalidRevisionError as InvalidRevisionError, errors_InvalidServiceError as InvalidServiceError, errors_InvalidSignatureError as InvalidSignatureError, errors_InvalidSnapshotIdError as InvalidSnapshotIdError, errors_InvalidVmIdError as InvalidVmIdError, errors_JobNotFoundError as JobNotFoundError, errors_KernelPanicError as KernelPanicError, errors_LimitExceededError as LimitExceededError, errors_ListIdentitiesFailedError as ListIdentitiesFailedError, errors_ListPermissionsFailedError as ListPermissionsFailedError, errors_ListRepositoriesFailedError as ListRepositoriesFailedError, errors_ListRunsFailedError as ListRunsFailedError, errors_ListTokensFailedError as ListTokensFailedError, errors_LockGenerationFailedError as LockGenerationFailedError, errors_LockfileErrorError as LockfileErrorError, errors_LoggingFailedError as LoggingFailedError, errors_LogsNotFoundError as LogsNotFoundError, errors_MaxUsesExceededError as MaxUsesExceededError, errors_MemOverPlanLimitError as MemOverPlanLimitError, errors_MemSizeTooLargeError as MemSizeTooLargeError, errors_MemoryStorageQuotaExceededError as MemoryStorageQuotaExceededError, errors_MetadataWriteFailedError as MetadataWriteFailedError, errors_NetworkPermissionsFailedError as NetworkPermissionsFailedError, errors_NoDefaultBranchError as NoDefaultBranchError, errors_NoDefaultSnapshotAvailableError as NoDefaultSnapshotAvailableError, errors_NoDomainOwnershipError as NoDomainOwnershipError, errors_NoEntrypointFoundError as NoEntrypointFoundError, errors_NodeModulesDownloadFailedError as NodeModulesDownloadFailedError, errors_NodeModulesInstallFailedError as NodeModulesInstallFailedError, errors_NonLeafLayerFieldErrorError as NonLeafLayerFieldErrorError, errors_NotFoundError as NotFoundError, errors_ObservabilityAccessDeniedError as ObservabilityAccessDeniedError, errors_ObservabilityDatabaseErrorError as ObservabilityDatabaseErrorError, errors_OffsetWithSelectorError as OffsetWithSelectorError, errors_OnFailureArrayContainsEmptyError as OnFailureArrayContainsEmptyError, errors_PackfileError as PackfileError, errors_ParentNotFoundError as ParentNotFoundError, errors_ParseLogsFailedError as ParseLogsFailedError, errors_ParseResponseErrorError as ParseResponseErrorError, errors_PartitionNotFoundError as PartitionNotFoundError, errors_PathNotFoundError as PathNotFoundError, errors_PermissionAlreadyExistsError as PermissionAlreadyExistsError, errors_PermissionDeniedError as PermissionDeniedError, errors_PermissionErrorError as PermissionErrorError, errors_PermissionNotFoundError as PermissionNotFoundError, errors_PersistentVmsNotAllowedError as PersistentVmsNotAllowedError, errors_PreassignedVmIdCountMismatchError as PreassignedVmIdCountMismatchError, errors_ProjectNotFoundError as ProjectNotFoundError, errors_RecordOwnershipErrorError as RecordOwnershipErrorError, errors_ReferenceNotFoundError as ReferenceNotFoundError, errors_RepairAlreadyInProgressError as RepairAlreadyInProgressError, errors_RepoAlreadyExistsError as RepoAlreadyExistsError, errors_RepoNotFoundError as RepoNotFoundError, errors_RepositoryAccessDeniedError as RepositoryAccessDeniedError, errors_RepositoryNotFoundError as RepositoryNotFoundError, errors_RequiresArrayContainsEmptyError as RequiresArrayContainsEmptyError, errors_ReqwestError as ReqwestError, errors_ResizeFailedError as ResizeFailedError, errors_ResizeVmEmptyRequestError as ResizeVmEmptyRequestError, errors_ResizeVmMemNotPowerOfTwoError as ResizeVmMemNotPowerOfTwoError, errors_ResizeVmMemOutOfRangeError as ResizeVmMemOutOfRangeError, errors_ResizeVmRootfsShrinkNotSupportedError as ResizeVmRootfsShrinkNotSupportedError, errors_ResizeVmVcpuNotPowerOfTwoError as ResizeVmVcpuNotPowerOfTwoError, errors_ResizeVmVcpuOutOfRangeError as ResizeVmVcpuOutOfRangeError, errors_RestoreFailedError as RestoreFailedError, errors_ResumedVmNonResponsiveError as ResumedVmNonResponsiveError, errors_RetrieveLogsFailedError as RetrieveLogsFailedError, errors_RevokePermissionFailedError as RevokePermissionFailedError, errors_RevokeTokenFailedError as RevokeTokenFailedError, errors_RootfsCopyErrorError as RootfsCopyErrorError, errors_RootfsOverPlanLimitError as RootfsOverPlanLimitError, errors_RootfsSizeTooLargeError as RootfsSizeTooLargeError, errors_RootfsStorageQuotaExceededError as RootfsStorageQuotaExceededError, errors_RunNotFoundError as RunNotFoundError, errors_RuntimeErrorError as RuntimeErrorError, errors_ScheduleNotFoundError as ScheduleNotFoundError, errors_SendErrorError as SendErrorError, errors_SerializationErrorError as SerializationErrorError, errors_ServerDeploymentFailedError as ServerDeploymentFailedError, errors_ServiceAlreadyExistsError as ServiceAlreadyExistsError, errors_ServiceNameEmptyError as ServiceNameEmptyError, errors_ServiceNameInvalidCharsError as ServiceNameInvalidCharsError, errors_ServiceNameInvalidPrefixError as ServiceNameInvalidPrefixError, errors_ServiceNameTooLongError as ServiceNameTooLongError, errors_ServiceNotFoundError as ServiceNotFoundError, errors_ServiceUnavailableError as ServiceUnavailableError, errors_SetDefaultSnapshotFailedError as SetDefaultSnapshotFailedError, errors_SigningError as SigningError, errors_SnapshotAlreadyDeletedError as SnapshotAlreadyDeletedError, errors_SnapshotDirNotFoundError as SnapshotDirNotFoundError, errors_SnapshotIsAccountDefaultError as SnapshotIsAccountDefaultError, errors_SnapshotLayerCreationFailedError as SnapshotLayerCreationFailedError, errors_SnapshotLimitExceededError as SnapshotLimitExceededError, errors_SnapshotLoadTimeoutError as SnapshotLoadTimeoutError, errors_SnapshotNotFoundError as SnapshotNotFoundError, errors_SnapshotSetupFailedError as SnapshotSetupFailedError, errors_SnapshotVmBadRequestError as SnapshotVmBadRequestError, errors_SourceImportConflictError as SourceImportConflictError, errors_SourceNotFoundError as SourceNotFoundError, errors_SourceUnauthorizedError as SourceUnauthorizedError, errors_StartingHandleInstanceIdMismatchError as StartingHandleInstanceIdMismatchError, errors_SubvolumeCreationFailedError as SubvolumeCreationFailedError, errors_SuspendFailedAndStopFailedError as SuspendFailedAndStopFailedError, errors_SuspendFailedAndStoppedError as SuspendFailedAndStoppedError, errors_SwapVmTapError as SwapVmTapError, errors_SyntaxErrorError as SyntaxErrorError, errors_TagNotFoundError as TagNotFoundError, errors_TimeoutLimitExceededError as TimeoutLimitExceededError, errors_TokenErrorError as TokenErrorError, errors_TooManyConcurrentRepairsError as TooManyConcurrentRepairsError, errors_TotalVmLimitExceededError as TotalVmLimitExceededError, errors_TreeNotFoundError as TreeNotFoundError, errors_TriggerErrorError as TriggerErrorError, errors_UffdTimeoutErrorError as UffdTimeoutErrorError, errors_UnauthorizedError as UnauthorizedError, errors_UnauthorizedErrorError as UnauthorizedErrorError, errors_UnavailableError as UnavailableError, errors_UnsupportedOsError as UnsupportedOsError, errors_UnsupportedTransferError as UnsupportedTransferError, errors_UpdateDefaultBranchFailedError as UpdateDefaultBranchFailedError, errors_UpdatePermissionFailedError as UpdatePermissionFailedError, errors_UploadErrorError as UploadErrorError, errors_UserAlreadyExistsError as UserAlreadyExistsError, errors_UserEmptyError as UserEmptyError, errors_UserGroupEmptyError as UserGroupEmptyError, errors_UserHomeInvalidError as UserHomeInvalidError, errors_UserNotFoundError as UserNotFoundError, errors_UserShellInvalidError as UserShellInvalidError, errors_UserSystemFlagMismatchError as UserSystemFlagMismatchError, errors_UserUidOutOfRangeError as UserUidOutOfRangeError, errors_ValidationErrorError as ValidationErrorError, errors_VcpuOverPlanLimitError as VcpuOverPlanLimitError, errors_VerificationFailedError as VerificationFailedError, errors_VerificationNotFoundError as VerificationNotFoundError, errors_VmAccessDeniedError as VmAccessDeniedError, errors_VmAccessDeniedForMappingError as VmAccessDeniedForMappingError, errors_VmDeletedError as VmDeletedError, errors_VmExitDuringStartError as VmExitDuringStartError, errors_VmIsSuspendingError as VmIsSuspendingError, errors_VmLimitExceededError as VmLimitExceededError, errors_VmNotFoundError as VmNotFoundError, errors_VmNotFoundInFsError as VmNotFoundInFsError, errors_VmNotInTransactionError as VmNotInTransactionError, errors_VmNotRunningError as VmNotRunningError, errors_VmOperationDeniedDuringTransactionError as VmOperationDeniedDuringTransactionError, errors_VmPermissionNotFoundError as VmPermissionNotFoundError, errors_VmSetupFailedError as VmSetupFailedError, errors_VmSpawnProcessError as VmSpawnProcessError, errors_VmStartTimeoutError as VmStartTimeoutError, errors_VmSubnetNotFoundError as VmSubnetNotFoundError, errors_VmTransactionIdMismatchError as VmTransactionIdMismatchError, errors_WantedByEmptyError as WantedByEmptyError, errors_WebDeploymentBadRequestError as WebDeploymentBadRequestError, errors_WorkdirEmptyError as WorkdirEmptyError, errors_WriteScriptFailedError as WriteScriptFailedError, errors_errorFromJSON as errorFromJSON };
  export type { errors_ConflictingSpecSourcesErrorPublic as ConflictingSpecSourcesErrorPublic, errors_FreestyleError as FreestyleError, errors_InvalidObjectIdPublic as InvalidObjectIdPublic, errors_JavascriptLog as JavascriptLog, errors_LfsTransferAdapter as LfsTransferAdapter, errors_NonLeafLayerFieldErrorPublic as NonLeafLayerFieldErrorPublic, errors_PostBootDiagnostics as PostBootDiagnostics, errors_PublicAlreadyInProgress as PublicAlreadyInProgress, errors_PublicAmbiguous as PublicAmbiguous, errors_PublicBackupFailed as PublicBackupFailed, errors_PublicBadRequest as PublicBadRequest, errors_PublicBlobNotFound as PublicBlobNotFound, errors_PublicBranchAlreadyExists as PublicBranchAlreadyExists, errors_PublicBranchNotFound as PublicBranchNotFound, errors_PublicBuildFailed as PublicBuildFailed, errors_PublicCertificateProvisioningError as PublicCertificateProvisioningError, errors_PublicCloudstateAccessDenied as PublicCloudstateAccessDenied, errors_PublicCloudstateDatabaseError as PublicCloudstateDatabaseError, errors_PublicCloudstateInternalError as PublicCloudstateInternalError, errors_PublicCommitInvalidRegex as PublicCommitInvalidRegex, errors_PublicCommitNotFound as PublicCommitNotFound, errors_PublicCommitNotInBranch as PublicCommitNotInBranch, errors_PublicConflictingParent as PublicConflictingParent, errors_PublicConnectionFailed as PublicConnectionFailed, errors_PublicContentNotFound as PublicContentNotFound, errors_PublicCreateBackupFailed as PublicCreateBackupFailed, errors_PublicCreateIdentityFailed as PublicCreateIdentityFailed, errors_PublicCreateRepositoryFailed as PublicCreateRepositoryFailed, errors_PublicCreateSnapshotBadRequest as PublicCreateSnapshotBadRequest, errors_PublicCreateTokenFailed as PublicCreateTokenFailed, errors_PublicCreateVmBadRequest as PublicCreateVmBadRequest, errors_PublicCreateVmMemNotPowerOfTwo as PublicCreateVmMemNotPowerOfTwo, errors_PublicCreateVmMemOutOfRange as PublicCreateVmMemOutOfRange, errors_PublicCreateVmRootfsOutOfRange as PublicCreateVmRootfsOutOfRange, errors_PublicCreateVmVcpuNotPowerOfTwo as PublicCreateVmVcpuNotPowerOfTwo, errors_PublicCreateVmVcpuOutOfRange as PublicCreateVmVcpuOutOfRange, errors_PublicDeleteIdentityFailed as PublicDeleteIdentityFailed, errors_PublicDeleteRepositoryFailed as PublicDeleteRepositoryFailed, errors_PublicDeploymentAccessDenied as PublicDeploymentAccessDenied, errors_PublicDeploymentFailed as PublicDeploymentFailed, errors_PublicDeploymentLimitExceeded as PublicDeploymentLimitExceeded, errors_PublicDiffInvalidPathPattern as PublicDiffInvalidPathPattern, errors_PublicDiffInvalidRegex as PublicDiffInvalidRegex, errors_PublicDirectoryCreationFailed as PublicDirectoryCreationFailed, errors_PublicDomainAlreadyExists as PublicDomainAlreadyExists, errors_PublicDomainMappingError as PublicDomainMappingError, errors_PublicDomainOwnershipError as PublicDomainOwnershipError, errors_PublicDomainOwnershipNotVerified as PublicDomainOwnershipNotVerified, errors_PublicDownloadFailed as PublicDownloadFailed, errors_PublicEntrypointNotFound as PublicEntrypointNotFound, errors_PublicErrorCreatingRecord as PublicErrorCreatingRecord, errors_PublicErrorDeletingRecord as PublicErrorDeletingRecord, errors_PublicExecTimedOut as PublicExecTimedOut, errors_PublicExecuteInternalError as PublicExecuteInternalError, errors_PublicExecutionError as PublicExecutionError, errors_PublicFailedInsertDomainMapping as PublicFailedInsertDomainMapping, errors_PublicFailedPermissionsCheck as PublicFailedPermissionsCheck, errors_PublicFailedRemoveDomainMapping as PublicFailedRemoveDomainMapping, errors_PublicFailedToCheckDomainMappingPermissions as PublicFailedToCheckDomainMappingPermissions, errors_PublicFailedToCheckPermissions as PublicFailedToCheckPermissions, errors_PublicFailedToCreateVerificationCode as PublicFailedToCreateVerificationCode, errors_PublicFailedToDeleteVerification as PublicFailedToDeleteVerification, errors_PublicFailedToInsertDomainMapping as PublicFailedToInsertDomainMapping, errors_PublicFailedToInsertOwnership as PublicFailedToInsertOwnership, errors_PublicFailedToListDomains as PublicFailedToListDomains, errors_PublicFailedToListVerifications as PublicFailedToListVerifications, errors_PublicFailedToProvisionCertificate as PublicFailedToProvisionCertificate, errors_PublicFailedToProvisionCertificateForMapping as PublicFailedToProvisionCertificateForMapping, errors_PublicFailedToVerifyDomain as PublicFailedToVerifyDomain, errors_PublicFileNotFound as PublicFileNotFound, errors_PublicFilenameInvalidPattern as PublicFilenameInvalidPattern, errors_PublicFilesBadRequest as PublicFilesBadRequest, errors_PublicForkVmNotFound as PublicForkVmNotFound, errors_PublicGetContentFailed as PublicGetContentFailed, errors_PublicGetPermissionFailed as PublicGetPermissionFailed, errors_PublicGetRepositoryInfoFailed as PublicGetRepositoryInfoFailed, errors_PublicGitHubSyncFailed as PublicGitHubSyncFailed, errors_PublicGitInvalidRequest as PublicGitInvalidRequest, errors_PublicGitServerError as PublicGitServerError, errors_PublicGrantPermissionFailed as PublicGrantPermissionFailed, errors_PublicGroupAlreadyExists as PublicGroupAlreadyExists, errors_PublicIdentityError as PublicIdentityError, errors_PublicImportSubdirNotFound as PublicImportSubdirNotFound, errors_PublicInternalForkVmNotFound as PublicInternalForkVmNotFound, errors_PublicInternalVmNotFound as PublicInternalVmNotFound, errors_PublicInvalid as PublicInvalid, errors_PublicInvalidAccountId as PublicInvalidAccountId, errors_PublicInvalidBase64Content as PublicInvalidBase64Content, errors_PublicInvalidDeploymentRequest as PublicInvalidDeploymentRequest, errors_PublicInvalidDomain as PublicInvalidDomain, errors_PublicInvalidDomains as PublicInvalidDomains, errors_PublicInvalidFileChange as PublicInvalidFileChange, errors_PublicInvalidFilePath as PublicInvalidFilePath, errors_PublicInvalidPathPattern as PublicInvalidPathPattern, errors_PublicInvalidQuery as PublicInvalidQuery, errors_PublicInvalidRange as PublicInvalidRange, errors_PublicInvalidRegex as PublicInvalidRegex, errors_PublicInvalidRevision as PublicInvalidRevision, errors_PublicInvalidVmId as PublicInvalidVmId, errors_PublicJobNotFound as PublicJobNotFound, errors_PublicLimitExceeded as PublicLimitExceeded, errors_PublicListIdentitiesFailed as PublicListIdentitiesFailed, errors_PublicListPermissionsFailed as PublicListPermissionsFailed, errors_PublicListRepositoriesFailed as PublicListRepositoriesFailed, errors_PublicListRunsFailed as PublicListRunsFailed, errors_PublicListTokensFailed as PublicListTokensFailed, errors_PublicLockGenerationFailed as PublicLockGenerationFailed, errors_PublicLockfileError as PublicLockfileError, errors_PublicLoggingFailed as PublicLoggingFailed, errors_PublicLogsNotFound as PublicLogsNotFound, errors_PublicMemOverPlanLimit as PublicMemOverPlanLimit, errors_PublicMemSizeTooLarge as PublicMemSizeTooLarge, errors_PublicMemoryStorageQuotaExceeded as PublicMemoryStorageQuotaExceeded, errors_PublicMetadataWriteFailed as PublicMetadataWriteFailed, errors_PublicNetworkPermissionsFailed as PublicNetworkPermissionsFailed, errors_PublicNoDomainOwnership as PublicNoDomainOwnership, errors_PublicNodeModulesDownloadFailed as PublicNodeModulesDownloadFailed, errors_PublicNodeModulesInstallFailed as PublicNodeModulesInstallFailed, errors_PublicObservabilityAccessDenied as PublicObservabilityAccessDenied, errors_PublicObservabilityDatabaseError as PublicObservabilityDatabaseError, errors_PublicParentNotFound as PublicParentNotFound, errors_PublicParseLogsFailed as PublicParseLogsFailed, errors_PublicParseResponseError as PublicParseResponseError, errors_PublicPathNotFound as PublicPathNotFound, errors_PublicPermissionDenied as PublicPermissionDenied, errors_PublicPermissionError as PublicPermissionError, errors_PublicProjectNotFound as PublicProjectNotFound, errors_PublicRecordOwnershipError as PublicRecordOwnershipError, errors_PublicReferenceNotFound as PublicReferenceNotFound, errors_PublicRepairAlreadyInProgress as PublicRepairAlreadyInProgress, errors_PublicRepoAlreadyExists as PublicRepoAlreadyExists, errors_PublicRepositoryNotFound as PublicRepositoryNotFound, errors_PublicResizeFailed as PublicResizeFailed, errors_PublicResizeVmMemNotPowerOfTwo as PublicResizeVmMemNotPowerOfTwo, errors_PublicResizeVmMemOutOfRange as PublicResizeVmMemOutOfRange, errors_PublicResizeVmRootfsShrinkNotSupported as PublicResizeVmRootfsShrinkNotSupported, errors_PublicResizeVmVcpuNotPowerOfTwo as PublicResizeVmVcpuNotPowerOfTwo, errors_PublicResizeVmVcpuOutOfRange as PublicResizeVmVcpuOutOfRange, errors_PublicRestoreFailed as PublicRestoreFailed, errors_PublicRetrieveLogsFailed as PublicRetrieveLogsFailed, errors_PublicRevokePermissionFailed as PublicRevokePermissionFailed, errors_PublicRevokeTokenFailed as PublicRevokeTokenFailed, errors_PublicRootfsOverPlanLimit as PublicRootfsOverPlanLimit, errors_PublicRootfsSizeTooLarge as PublicRootfsSizeTooLarge, errors_PublicRootfsStorageQuotaExceeded as PublicRootfsStorageQuotaExceeded, errors_PublicRunNotFound as PublicRunNotFound, errors_PublicRuntimeError as PublicRuntimeError, errors_PublicSerializationError as PublicSerializationError, errors_PublicServiceAlreadyExists as PublicServiceAlreadyExists, errors_PublicSnapshotAlreadyDeleted as PublicSnapshotAlreadyDeleted, errors_PublicSnapshotIsAccountDefault as PublicSnapshotIsAccountDefault, errors_PublicSnapshotLimitExceeded as PublicSnapshotLimitExceeded, errors_PublicSnapshotNotFound as PublicSnapshotNotFound, errors_PublicSnapshotSetupFailed as PublicSnapshotSetupFailed, errors_PublicSnapshotVmBadRequest as PublicSnapshotVmBadRequest, errors_PublicSourceNotFound as PublicSourceNotFound, errors_PublicSourceUnauthorized as PublicSourceUnauthorized, errors_PublicTagNotFound as PublicTagNotFound, errors_PublicTimeoutLimitExceeded as PublicTimeoutLimitExceeded, errors_PublicTokenError as PublicTokenError, errors_PublicTooManyConcurrentRepairs as PublicTooManyConcurrentRepairs, errors_PublicTotalVmLimitExceeded as PublicTotalVmLimitExceeded, errors_PublicTreeNotFound as PublicTreeNotFound, errors_PublicTriggerError as PublicTriggerError, errors_PublicUnsupportedOs as PublicUnsupportedOs, errors_PublicUnsupportedTransfer as PublicUnsupportedTransfer, errors_PublicUpdateDefaultBranchFailed as PublicUpdateDefaultBranchFailed, errors_PublicUpdatePermissionFailed as PublicUpdatePermissionFailed, errors_PublicUserAlreadyExists as PublicUserAlreadyExists, errors_PublicVcpuOverPlanLimit as PublicVcpuOverPlanLimit, errors_PublicVerificationFailed as PublicVerificationFailed, errors_PublicVerificationNotFound as PublicVerificationNotFound, errors_PublicVmAccessDeniedForMapping as PublicVmAccessDeniedForMapping, errors_PublicVmDeleted as PublicVmDeleted, errors_PublicVmLimitExceeded as PublicVmLimitExceeded, errors_PublicWebDeploymentBadRequest as PublicWebDeploymentBadRequest, errors_PublicWriteScriptFailed as PublicWriteScriptFailed, errors_ServiceLog as ServiceLog, errors_ServiceStateGroup as ServiceStateGroup, errors_SnapshotId as SnapshotId, errors_UnauthorizedErrorPublic as UnauthorizedErrorPublic, errors_VmId as VmId, errors_VmNotFoundPublic as VmNotFoundPublic, errors_VmOperationDeniedDuringTransactionPublic as VmOperationDeniedDuringTransactionPublic, errors_VmSetupFailedPublic as VmSetupFailedPublic, errors_VmTransactionIdMismatchPublic as VmTransactionIdMismatchPublic };
}

/**
 * Domain verifications namespace.
 */
declare class DomainVerificationsNamespace {
    private apiClient;
    constructor(apiClient: ApiClient);
    /**
     * Create a domain verification request.
     */
    create({ domain }: {
        domain: string;
    }): Promise<{
        verificationId: string;
        instructions: string;
        record: {
            type: string;
            name: string;
            value: string;
        };
    }>;
    /**
     * Complete a domain verification by domain or verification ID.
     */
    complete(options: {
        domain: string;
    } | {
        verificationId: string;
    }): Promise<ResponsePutDomainsV1Verifications200>;
    /**
     * List domain verification requests.
     */
    list(): Promise<ResponseGetDomainsV1Verifications200>;
    /**
     * Cancel a domain verification request.
     */
    cancel({ domain, verificationCode, }: {
        domain: string;
        verificationCode: string;
    }): Promise<ResponseDeleteDomainsV1Verifications200>;
}
/**
 * Domain certificates namespace.
 */
declare class DomainCertificatesNamespace {
    private apiClient;
    constructor(apiClient: ApiClient);
    /**
     * Provision a wildcard certificate for a domain.
     */
    createWildcard({ domain, }: {
        domain: string;
    }): Promise<ResponsePostDomainsV1CertsDomainWildcard200>;
}
/**
 * Domain mappings namespace.
 */
declare class DomainMappingsNamespace {
    private apiClient;
    constructor(apiClient: ApiClient);
    /**
     * Create a domain mapping to a deployment.
     */
    create(mapping: {
        domain: string;
    } & ({
        deploymentId: string;
    } | {
        vmId: string;
        vmPort: number;
    })): Promise<ResponsePostDomainsV1MappingsDomain200>;
    /**
     * Delete a domain mapping.
     */
    delete({ domain, }: {
        domain: string;
    }): Promise<ResponseDeleteDomainsV1MappingsDomain200>;
    /**
     * List domain mappings.
     */
    list({ domain, domainOwnership, limit, cursor, }?: {
        domain?: string;
        domainOwnership?: string;
        limit?: number;
        cursor?: string;
    }): Promise<{
        mappings: ResponseGetDomainsV1Mappings200;
    }>;
}
/**
 * Domains namespace.
 */
declare class DomainsNamespace {
    private apiClient;
    readonly verifications: DomainVerificationsNamespace;
    readonly certificates: DomainCertificatesNamespace;
    readonly mappings: DomainMappingsNamespace;
    constructor(apiClient: ApiClient);
    /**
     * List verified domains.
     */
    list({ limit, cursor, }?: {
        limit?: number;
        cursor?: string;
    }): Promise<ResponseGetDomainsV1Domains200>;
}

/**
 * A single matching line within a file, including surrounding context.
 */
interface GitSearchLineMatch {
    /** 1-based line number of the match. */
    lineNumber: number;
    /** The full text of the matching line. */
    line: string;
    /** 0-based column offset of the first match in the line. */
    startColumn: number;
    /** 0-based column offset of the end of the first match in the line. */
    endColumn: number;
    /** Context lines before the match. */
    contextBefore: string[];
    /** Context lines after the match. */
    contextAfter: string[];
}
/**
 * Search results for a single file.
 */
interface GitSearchFileResult {
    /** The file path relative to the repository root. */
    path: string;
    /** The file extension (e.g. "rs", "ts"), if any. */
    extension: string | null;
    /** The file size in bytes. */
    size: number;
    /** The matches found in this file. */
    matches: GitSearchLineMatch[];
}
/**
 * Full-text search results across a repository.
 */
interface GitSearchResult {
    /** Total number of files with matches (before pagination). */
    totalFiles: number;
    /** Total number of individual line matches across all files (before pagination). */
    totalMatches: number;
    /** Whether there are more results beyond the current page. */
    hasMore: boolean;
    /** The matching files with their line matches. */
    files: GitSearchFileResult[];
}
/**
 * A file entry returned from filename search.
 */
interface GitFilenameEntry {
    /** The full file path relative to the repository root. */
    path: string;
    /** The file extension (e.g. "rs", "ts"), if any. */
    extension: string | null;
    /** The file size in bytes. */
    size: number;
}
/**
 * Filename search results.
 */
interface GitFilenameSearchResult {
    /** Total number of matching files. */
    totalFiles: number;
    /** Whether there are more results beyond those returned. */
    hasMore: boolean;
    /** The matching file entries. */
    files: GitFilenameEntry[];
}
/**
 * A commit entry returned from commit message search.
 */
interface GitCommitSearchEntry {
    /** The commit SHA. */
    sha: string;
    /** The commit message (first line / summary). */
    message: string;
    /** The full commit message. */
    fullMessage: string;
    /** The author name. */
    authorName: string;
    /** The author email. */
    authorEmail: string;
    /** The commit timestamp (ISO 8601). */
    timestamp: string;
}
/**
 * Commit message search results.
 */
interface GitCommitSearchResult {
    /** Total number of matching commits found. */
    totalCommits: number;
    /** Whether there are more results beyond those returned. */
    hasMore: boolean;
    /** The matching commits. */
    commits: GitCommitSearchEntry[];
}
/**
 * A line that was added or changed in a diff that matched the search query.
 */
interface GitDiffLineMatch {
    /** The matched line content. */
    line: string;
    /** 1-based line number in the new file (for additions) or old file (for deletions). */
    lineNumber: number;
    /** 0-based byte offset of the match start within the line. */
    startColumn: number;
    /** 0-based byte offset of the match end within the line. */
    endColumn: number;
    /** Whether this was an added line (true) or a deleted line (false). */
    isAddition: boolean;
}
/**
 * A file within a commit that contained matching changed content.
 */
interface GitDiffFileMatch {
    /** The file path relative to the repository root. */
    path: string;
    /** The matching lines in the diff for this file. */
    matches: GitDiffLineMatch[];
}
/**
 * A commit that contained matching diff content.
 */
interface GitDiffSearchCommit {
    /** The commit SHA. */
    sha: string;
    /** The commit message summary (first line). */
    message: string;
    /** The author name. */
    authorName: string;
    /** The author email. */
    authorEmail: string;
    /** The commit timestamp (ISO 8601). */
    timestamp: string;
    /** Files in this commit with matching changed content. */
    files: GitDiffFileMatch[];
}
/**
 * Diff content search results.
 */
interface GitDiffSearchResult {
    /** Total number of commits with matching changes (before pagination). */
    totalCommits: number;
    /** Whether there are more results beyond the current page. */
    hasMore: boolean;
    /** The matching commits with their file-level diff matches. */
    commits: GitDiffSearchCommit[];
}
/**
 * Namespace for managing branches within a Git repository.
 *
 * Provides methods to list branches, get branch details, create branches, and manage the default branch.
 *
 * @example
 * ```ts
 * const repo = freestyle.git.repos.ref({ repoId: "your-repo-id" });
 *
 * // List all branches
 * const branches = await repo.branches.list();
 *
 * // Create a new branch from the default branch
 * const { name, sha } = await repo.branches.create({
 *   name: "feature/something"
 * });
 *
 * // Get the default branch
 * const { defaultBranch } = await repo.branches.getDefaultBranch();
 * ```
 */
declare class GitRepoBranchesNamespace {
    private repoId;
    private apiClient;
    constructor({ repoId, apiClient }: {
        repoId: string;
        apiClient: ApiClient;
    });
    /**
     * Get the default branch for this repository.
     */
    getDefaultBranch(): Promise<ResponseGetGitV1RepoRepoIdDefaultBranch200>;
    /**
     * Set the default branch for this repository.
     */
    setDefaultBranch({ defaultBranch, }: {
        defaultBranch: string;
    }): Promise<ResponsePutGitV1RepoRepoIdDefaultBranch200>;
    /**
     * List all branches in this repository.
     */
    list(): Promise<ResponseGetGitV1RepoRepoGitRefsHeads200>;
    /**
     * Get a specific branch by name.
     */
    get({ branchName, }: {
        branchName: string;
    }): Promise<ResponseGetGitV1RepoRepoGitRefsHeadsBranch200>;
    /**
     * Create a new branch.
     *
     * If no SHA is provided, the branch will be created from the default branch.
     *
     * @param name - The name of the branch to create
     * @param sha - Optional commit SHA to branch from. If not provided, branches from the default branch.
     *
     * @example
     * ```ts
     * // Create a branch from the default branch
     * const newBranch = await repo.branches.create({
     *   name: "feature/something"
     * });
     *
     * // Create a branch from a specific commit
     * const newBranch = await repo.branches.create({
     *   name: "feature-xyz",
     *   sha: "abc123..."
     * });
     * ```
     */
    create({ name, sha, }: {
        name: string;
        sha?: string;
    }): Promise<ResponsePostGitV1RepoRepoGitRefsHeadsBranch200>;
}
/**
 * Namespace for managing GitHub synchronization for a repository.
 *
 * Enables bidirectional sync between a Freestyle Git repository and a GitHub repository.
 * When enabled, pushes to either repository are automatically synced to the other.
 *
 * @example
 * ```ts
 * const repo = freestyle.git.repos.ref({ repoId: "your-repo-id" });
 *
 * // Enable sync with a GitHub repository
 * await repo.githubSync.enable({ githubRepoName: "owner/repo" });
 *
 * // Check sync status
 * const config = await repo.githubSync.get();
 *
 * // Disable sync
 * await repo.githubSync.disable();
 * ```
 */
declare class GitRepoGitHubSyncNamespace {
    private repoId;
    private apiClient;
    constructor({ repoId, apiClient }: {
        repoId: string;
        apiClient: ApiClient;
    });
    /**
     * Get the GitHub sync configuration for this repository.
     * Returns null if GitHub sync is not configured.
     */
    get(): Promise<ResponseGetGitV1RepoRepoIdGithubSync200 | null>;
    /**
     * Enable GitHub sync for this repository.
     */
    enable({ githubRepoName }: {
        githubRepoName: string;
    }): Promise<void>;
    /**
     * Disable GitHub sync for this repository.
     */
    disable(): Promise<void>;
}
/**
 * Namespace for managing Git triggers (webhooks) for a repository.
 *
 * Triggers allow you to receive webhook notifications when events occur in your
 * repository, such as pushes to specific branches or changes to specific files.
 *
 * @example
 * ```ts
 * const repo = freestyle.git.repos.ref({ repoId: "your-repo-id" });
 *
 * // Create a trigger for push events on main branch
 * const { triggerId } = await repo.triggers.create({
 *   trigger: { event: "push", branch: ["main"] },
 *   action: { type: "webhook", url: "https://your-webhook-url.com" }
 * });
 *
 * // List all triggers
 * const triggers = await repo.triggers.list();
 *
 * // Delete a trigger
 * await repo.triggers.delete({ triggerId });
 * ```
 */
declare class GitRepoTriggersNamespace {
    private repoId;
    private apiClient;
    constructor({ repoId, apiClient }: {
        repoId: string;
        apiClient: ApiClient;
    });
    /**
     * List git triggers for this repository.
     */
    list(): Promise<ResponseGetGitV1RepoRepoTrigger200>;
    /**
     * Create a git trigger for this repository.
     */
    create({ trigger, action, }: {
        trigger: PostGitV1RepoRepoTriggerRequestBody["trigger"];
        action: PostGitV1RepoRepoTriggerRequestBody["action"];
    }): Promise<{
        triggerId: string;
    }>;
    /**
     * Delete a git trigger.
     */
    delete({ triggerId, }: {
        triggerId: string;
    }): Promise<ResponseDeleteGitV1RepoRepoTriggerTrigger200>;
}
/**
 * Namespace for accessing blob objects in the Git object database.
 *
 * Blobs represent the raw content of files in Git. Content is returned base64-encoded.
 *
 * This is a low-level API for working with Git objects directly. For most use cases,
 * you'll want to use the higher-level `contents` API.
 *
 * @example
 * ```ts
 * const repo = freestyle.git.repos.ref({ repoId: "your-repo-id" });
 *
 * // Get a blob by its SHA hash
 * const blob = await repo.odb.blobs.get({ sha: "abc123..." });
 * const content = atob(blob.content); // Decode base64 content
 * ```
 */
declare class GitRepoOdbBlobsNamespace {
    private repoId;
    private apiClient;
    constructor({ repoId, apiClient }: {
        repoId: string;
        apiClient: ApiClient;
    });
    get({ sha, }: {
        sha: string;
    }): Promise<ResponseGetGitV1RepoRepoGitBlobsHash200>;
}
/**
 * Namespace for accessing tree objects in the Git object database.
 *
 * Trees represent directories in Git. Each tree contains entries pointing to
 * blobs (files) or other trees (subdirectories).
 *
 * This is a low-level API for working with Git objects directly. For most use cases,
 * you'll want to use the higher-level `contents` API.
 *
 * @example
 * ```ts
 * const repo = freestyle.git.repos.ref({ repoId: "your-repo-id" });
 *
 * // Get a tree by its SHA hash
 * const tree = await repo.odb.trees.get({ sha: "def456..." });
 * for (const entry of tree.tree) {
 *   console.log(`${entry.type}: ${entry.path}`);
 * }
 * ```
 */
declare class GitRepoOdbTreesNamespace {
    private repoId;
    private apiClient;
    constructor({ repoId, apiClient }: {
        repoId: string;
        apiClient: ApiClient;
    });
    get({ sha, }: {
        sha: string;
    }): Promise<ResponseGetGitV1RepoRepoGitTreesHash200>;
}
/**
 * Namespace for accessing repository contents.
 *
 * Provides methods to retrieve file and directory contents at specific revisions,
 * and download repository archives as tarball or zip.
 *
 * @example
 * ```ts
 * const repo = freestyle.git.repos.ref({ repoId: "your-repo-id" });
 *
 * // Get file contents at HEAD
 * const file = await repo.contents.get({ path: "README.md" });
 * const content = atob(file.content);
 *
 * // Get contents at a specific commit
 * const file = await repo.contents.get({
 *   path: "src/index.ts",
 *   rev: "abc123..."
 * });
 *
 * // Get directory listing
 * const dir = await repo.contents.get({ path: "src" });
 *
 * // Download as tarball
 * const tarball = await repo.contents.downloadTarball({ rev: "main" });
 *
 * // Download as zip
 * const zip = await repo.contents.downloadZip({ rev: "main" });
 * ```
 */
declare class GitRepoContentsNamespace {
    private repoId;
    private apiClient;
    constructor({ repoId, apiClient }: {
        repoId: string;
        apiClient: ApiClient;
    });
    /**
     * Get the contents of a file or directory at a specific path and revision.
     *
     * @param path - The path to the file or directory (empty string for root)
     * @param rev - The revision (branch, tag, or commit SHA) to get contents from
     * @returns File contents (base64 encoded) or directory listing
     */
    get({ path, rev, }?: {
        path?: string;
        /**
         * The revision (branch, tag, or commit SHA) to get contents from.
         */
        rev?: string;
    }): Promise<ResponseGetGitV1RepoRepoContentsPath200>;
    /**
     * Download repository contents as a tarball archive.
     *
     * @param rev - The revision (branch, tag, or commit SHA) to download
     * @returns The tarball as an ArrayBuffer
     *
     * @example
     * ```ts
     * const tarball = await repo.contents.downloadTarball({ rev: "main" });
     * await fs.writeFile("repo.tar", Buffer.from(tarball));
     * ```
     */
    downloadTarball({ rev, }?: {
        /**
         * The revision (branch, tag, or commit SHA) to download.
         */
        rev?: string;
    }): Promise<ArrayBuffer>;
    /**
     * Download repository contents as a zip archive.
     *
     * @param rev - The revision (branch, tag, or commit SHA) to download
     * @returns The zip file as an ArrayBuffer
     *
     * @example
     * ```ts
     * const zip = await repo.contents.downloadZip({ rev: "main" });
     * await fs.writeFile("repo.zip", Buffer.from(zip));
     * ```
     */
    downloadZip({ rev, }?: {
        /**
         * The revision (branch, tag, or commit SHA) to download.
         */
        rev?: string;
    }): Promise<ArrayBuffer>;
}
/**
 * Namespace for accessing commits in a Git repository.
 *
 * Provides methods to retrieve individual commits by SHA, list commits,
 * and create new commits with files.
 *
 * @example
 * ```ts
 * const repo = freestyle.git.repos.ref({ repoId: "your-repo-id" });
 *
 * // Get a specific commit
 * const commit = await repo.commits.get({ sha: "abc123..." });
 * console.log(commit.message);
 * console.log(commit.author.name);
 *
 * // List recent commits
 * const commits = await repo.commits.list();
 *
 * // Create a new commit
 * const { commit } = await repo.commits.create({
 *   message: "Add new feature",
 *   branch: "main",
 *   files: [
 *     { path: "src/feature.ts", content: "..." }
 *   ]
 * });
 * ```
 */
declare class GitRepoCommitsNamespace {
    private repoId;
    private apiClient;
    constructor({ repoId, apiClient }: {
        repoId: string;
        apiClient: ApiClient;
    });
    /**
     * Get a specific commit by SHA.
     */
    get({ sha, }: {
        sha: string;
    }): Promise<ResponseGetGitV1RepoRepoGitCommitsHash200>;
    /**
     * List commits in this repository with optional filtering.
     */
    list({ branch, limit, order, since, until, offset, }?: {
        /**
         * List commits from a specific branch.
         */
        branch?: string;
        /**
         * Maximum number of commits to return (default 50, max 500).
         */
        limit?: number;
        /**
         * Sort order: "desc" (newest first, default) or "asc" (oldest first)
         */
        order?: "asc" | "desc";
        /**
         * Start point (older commit) for filtering/pagination (commit SHA)
         * - When used alone with order=desc: Returns commits newer than this (exclusive). Use for "what's new since X?"
         * - When used alone with order=asc: Starts from this commit (inclusive). Use with next_commit for pagination.
         * - When used with `until`: Defines the base of a range (like git's A..B where this is A)
         */
        since?: string;
        /**
         * End point (newer commit) for filtering/pagination (commit SHA)
         * - When used alone with order=desc: Starts from this commit (inclusive). Use with next_commit for pagination.
         * - When used alone with order=asc: Returns commits up to and including this commit.
         * - When used with `since`: Defines the head of a range (like git's A..B where this is B)
         *
         * When both `since` and `until` are provided, `until` must be a descendant of `since`.
         */
        until?: string;
        /**
         * Number of commits to skip (default 0).
         *
         * @deprecated Use `since`/`until` to specify the starting point for commits.
         */
        offset?: number;
    }): Promise<ResponseGetGitV1RepoRepoGitCommits200>;
    /**
     * Create a new commit with files.
     *
     * Supports text files (UTF-8) and binary files (base64-encoded).
     * Files can be added, modified, or deleted.
     * Includes optimistic concurrency control via `expectedSha` to prevent race conditions.
     *
     * @example
     * ```ts
     * // Create a commit with text files
     * const { commit } = await repo.commits.create({
     *   message: "Initial commit",
     *   branch: "main",
     *   files: [
     *     { path: "README.md", content: "# My Project" },
     *     { path: "src/index.ts", content: "console.log('Hello!');" }
     *   ],
     *   author: { name: "John Doe", email: "john@example.com" }
     * });
     *
     * // Create a commit with a binary file (base64-encoded)
     * const imageBuffer = await fs.readFile("image.png");
     * const base64Image = imageBuffer.toString("base64");
     * await repo.commits.create({
     *   message: "Add logo",
     *   branch: "main",
     *   files: [
     *     { path: "assets/logo.png", content: base64Image, encoding: "base64" }
     *   ]
     * });
     *
     * // Delete a file
     * await repo.commits.create({
     *   message: "Remove deprecated file",
     *   branch: "main",
     *   files: [
     *     { path: "old/deprecated.ts", deleted: true }
     *   ]
     * });
     *
     * // Use optimistic concurrency control (CAS)
     * const branchInfo = await repo.branches.get({ name: "main" });
     * await repo.commits.create({
     *   message: "Update with CAS",
     *   branch: "main",
     *   files: [{ path: "version.txt", content: "2.0.0" }],
     *   expectedSha: branchInfo.commit.sha  // Will fail if branch tip changed
     * });
     * ```
     */
    create({ message, files, branch, author, expectedSha, }: {
        /**
         * The commit message
         */
        message: string;
        /**
         * Files to add, modify, or delete in this commit
         */
        files: Array<{
            /**
             * The file path (e.g., "src/index.ts")
             */
            path: string;
            /**
             * The file content (UTF-8 text or base64-encoded binary).
             */
            content: string;
            /**
             * The encoding of the content. Defaults to "utf8".
             * Use "base64" for binary files.
             */
            encoding?: "utf8" | "base64";
            /**
             * Must be undefined when content is provided
             */
            deleted?: never;
        } | {
            /**
             * The file path (e.g., "src/index.ts")
             */
            path: string;
            /**
             * Must be undefined when deleted is true
             */
            content?: never;
            /**
             * Must be undefined when deleted is true
             */
            encoding?: never;
            /**
             * Delete this file
             */
            deleted: true;
        }>;
        /**
         * The branch to commit to (e.g., "main").
         * If not provided, commits to the default branch.
         * If the branch does not exist, it is created as an orphan branch with this commit as its root.
         */
        branch?: string;
        /**
         * Optional author information
         */
        author?: {
            name: string;
            email: string;
        };
        /**
         * Optional expected SHA for optimistic concurrency control (CAS).
         * If provided, the commit will only be created if the current branch tip
         * matches this SHA. This prevents race conditions when multiple
         * commits are being created concurrently. Returns a 409 Conflict error if the check fails.
         */
        expectedSha?: string;
    }): Promise<ResponsePostGitV1RepoRepoCommits200>;
}
/**
 * Namespace for accessing tags in a Git repository.
 *
 * Provides methods to list tags, get tag references by name, and retrieve
 * annotated tag objects by their SHA.
 *
 * @example
 * ```ts
 * const repo = freestyle.git.repos.ref({ repoId: "your-repo-id" });
 *
 * // List all tags
 * const tags = await repo.tags.list();
 *
 * // Get a tag by name
 * const tag = await repo.tags.get({ tagName: "v1.0.0" });
 *
 * // Get an annotated tag object by SHA
 * const tagObject = await repo.tags.getByHash({ sha: "abc123..." });
 * ```
 */
declare class GitRepoTagsNamespace {
    private repoId;
    private apiClient;
    constructor({ repoId, apiClient }: {
        repoId: string;
        apiClient: ApiClient;
    });
    /**
     * List all tags in this repository.
     */
    list(): Promise<ResponseGetGitV1RepoRepoGitRefsTags200>;
    /**
     * Get a tag by name.
     */
    get({ tagName, }: {
        tagName: string;
    }): Promise<ResponseGetGitV1RepoRepoGitRefsTagsTag200>;
    /**
     * Get an annotated tag object by its SHA.
     */
    getByHash({ sha, }: {
        sha: string;
    }): Promise<ResponseGetGitV1RepoRepoGitTagsHash200>;
}
/**
 * Represents a Freestyle Git repository.
 *
 * Provides access to repository contents, branches, commits, tags, triggers,
 * and GitHub sync configuration through nested namespaces.
 *
 * @example
 * ```ts
 * // Get a reference to an existing repository
 * const repo = freestyle.git.repos.ref({ repoId: "your-repo-id" });
 *
 * // Access repository contents
 * const file = await repo.contents.get({ path: "src/index.ts", rev: "main" });
 * const content = atob(file.content);
 *
 * // Compare two commits
 * const diff = await repo.compare({ base: "main", head: "feature-branch" });
 *
 * // Access nested namespaces
 * const branches = await repo.branches.list();
 * const commits = await repo.commits.list();
 * ```
 */
declare class GitRepo {
    readonly repoId: string;
    /**
     * Manage branches in this repository.
     *
     * @example
     * ```ts
     * // List all branches
     * const branches = await repo.branches.list();
     *
     * // Get a specific branch
     * const main = await repo.branches.get({ branchName: "main" });
     *
     * // Get/set default branch
     * const { defaultBranch } = await repo.branches.getDefaultBranch();
     * await repo.branches.setDefaultBranch({ defaultBranch: "develop" });
     * ```
     */
    readonly branches: GitRepoBranchesNamespace;
    /**
     * Access repository contents (files and directories).
     *
     * @example
     * ```ts
     * // Get file contents
     * const file = await repo.contents.get({ path: "README.md" });
     * const content = atob(file.content);
     *
     * // Get contents at a specific commit/branch/tag
     * const file = await repo.contents.get({
     *   path: "src/index.ts",
     *   rev: "main"
     * });
     *
     * // Get directory listing
     * const dir = await repo.contents.get({ path: "src" });
     *
     * // Download repository as tarball or zip
     * const tarball = await repo.contents.downloadTarball({ rev: "main" });
     * const zip = await repo.contents.downloadZip({ rev: "main" });
     * ```
     */
    readonly contents: GitRepoContentsNamespace;
    /**
     * Access commits in this repository.
     *
     * @example
     * ```ts
     * // Get a specific commit by SHA
     * const commit = await repo.commits.get({ sha: "abc123..." });
     * console.log(commit.message);
     * console.log(commit.author.name);
     *
     * // List recent commits
     * const commits = await repo.commits.list();
     * ```
     */
    readonly commits: GitRepoCommitsNamespace;
    /**
     * Access tags in this repository.
     *
     * @example
     * ```ts
     * // List all tags
     * const tags = await repo.tags.list();
     *
     * // Get a tag by name
     * const tag = await repo.tags.get({ tagName: "v1.0.0" });
     *
     * // Get an annotated tag object by SHA
     * const tagObject = await repo.tags.getByHash({ sha: "abc123..." });
     * ```
     */
    readonly tags: GitRepoTagsNamespace;
    /**
     * Manage webhook triggers for this repository.
     *
     * Triggers send HTTP POST requests to your URL when events occur,
     * such as pushes to specific branches or changes to specific files.
     *
     * @example
     * ```ts
     * // Create a trigger for pushes to main
     * const { triggerId } = await repo.triggers.create({
     *   trigger: { event: "push", branch: ["main"] },
     *   action: { type: "webhook", url: "https://your-server.com/webhook" }
     * });
     *
     * // List all triggers
     * const triggers = await repo.triggers.list();
     *
     * // Delete a trigger
     * await repo.triggers.delete({ triggerId });
     * ```
     */
    readonly triggers: GitRepoTriggersNamespace;
    /**
     * Manage GitHub synchronization for this repository.
     *
     * When enabled, pushes to either your Freestyle repository or the linked
     * GitHub repository are automatically synced to the other.
     *
     * @example
     * ```ts
     * // Enable sync with a GitHub repository
     * await repo.githubSync.enable({ githubRepoName: "owner/repo" });
     *
     * // Check sync configuration
     * const config = await repo.githubSync.get();
     *
     * // Disable sync
     * await repo.githubSync.disable();
     * ```
     */
    readonly githubSync: GitRepoGitHubSyncNamespace;
    /**
     * Access blob objects in the Git object database.
     *
     * Blobs represent raw file contents. Content is returned base64-encoded
     * for binary safety.
     *
     * @example
     * ```ts
     * // Get a blob by its SHA hash
     * const blob = await repo.blobs.get({ sha: "abc123..." });
     *
     * // Decode the base64 content
     * const content = atob(blob.content);
     * console.log(content);
     * ```
     */
    readonly blobs: GitRepoOdbBlobsNamespace;
    /**
     * Access tree objects in the Git object database.
     *
     * Trees represent directories in Git. Each tree contains entries
     * pointing to blobs (files) or other trees (subdirectories).
     *
     * @example
     * ```ts
     * // Get the root tree from a commit
     * const commit = await repo.commits.get({ sha: "abc123..." });
     * const tree = await repo.trees.get({ sha: commit.tree.sha });
     *
     * // Iterate over entries
     * for (const entry of tree.tree) {
     *   if (entry.type === "blob") {
     *     console.log(`File: ${entry.path}`);
     *   } else {
     *     console.log(`Directory: ${entry.path}`);
     *   }
     * }
     * ```
     */
    readonly trees: GitRepoOdbTreesNamespace;
    private apiClient;
    constructor({ repoId, apiClient }: {
        repoId: string;
        apiClient: ApiClient;
    });
    /**
     * Compare two revs in this repository.
     *
     * Head and base can be branch names, tags, or commit SHAs.
     */
    compare({ base, head, }: {
        base: string;
        head: string;
    }): Promise<ResponseGetGitV1RepoRepoCompare200>;
    /**
     * Full-text search across all files in this repository.
     *
     * Walks the entire tree at the given revision and searches each text file
     * for the query string, returning matching lines with context.
     *
     * @param query - The text to search for in file contents
     * @param rev - The revision (branch, tag, or commit SHA) to search. Defaults to HEAD.
     * @param pathPattern - Optional glob pattern to filter file paths (e.g. "*.ts", "src/**")
     * @param maxResults - Maximum number of matching files to return (default 100, max 1000)
     * @param caseSensitive - Whether to perform a case-sensitive search (default false)
     *
     * @example
     * ```ts
     * // Search for a string across the whole repo
     * const results = await repo.search({ query: "TODO" });
     * console.log(`Found ${results.totalMatches} matches in ${results.totalFiles} files`);
     *
     * // Search only TypeScript files on a specific branch
     * const results = await repo.search({
     *   query: "handleRequest",
     *   rev: "main",
     *   pathPattern: "**\/*.ts",
     * });
     *
     * // Case-sensitive search
     * const results = await repo.search({
     *   query: "MyClass",
     *   caseSensitive: true,
     * });
     *
     * for (const file of results.files) {
     *   console.log(`${file.path}:`);
     *   for (const match of file.matches) {
     *     console.log(`  L${match.lineNumber}: ${match.line}`);
     *   }
     * }
     * ```
     */
    search({ query, rev, pathPattern, excludePattern, maxResults, caseSensitive, isRegex, wholeWord, offset, }: {
        /** The search query string. */
        query: string;
        /** Git ref to search (branch, tag, or commit SHA). Defaults to HEAD. */
        rev?: string;
        /** Glob pattern to filter file paths (e.g. "*.rs", "src/**"). */
        pathPattern?: string;
        /** Glob pattern to exclude file paths (e.g. "*.lock", "node_modules/**"). */
        excludePattern?: string;
        /** Maximum number of file results to return (default 50). */
        maxResults?: number;
        /** Whether the search is case-sensitive (default false). */
        caseSensitive?: boolean;
        /** Treat the query as a regular expression. */
        isRegex?: boolean;
        /** Match whole words only. */
        wholeWord?: boolean;
        /** Offset for pagination (number of file results to skip). */
        offset?: number;
    }): Promise<GitSearchResult>;
    /**
     * Search for files by name or path pattern.
     *
     * @example
     * ```ts
     * const result = await repo.searchFiles({ query: "main" });
     * for (const file of result.files) {
     *   console.log(`${file.path} (${file.size} bytes)`);
     * }
     * ```
     */
    searchFiles({ query, rev, pathPattern, excludePattern, maxResults, caseSensitive, isRegex, offset, }: {
        /** The filename/path query string. */
        query: string;
        /** Git ref to search (branch, tag, or commit SHA). Defaults to HEAD. */
        rev?: string;
        /** Glob pattern to filter file paths. */
        pathPattern?: string;
        /** Glob pattern to exclude file paths. */
        excludePattern?: string;
        /** Maximum number of results to return (default 100). */
        maxResults?: number;
        /** Whether the search is case-sensitive (default false). */
        caseSensitive?: boolean;
        /** Treat the query as a regular expression. */
        isRegex?: boolean;
        /** Offset for pagination. */
        offset?: number;
    }): Promise<GitFilenameSearchResult>;
    /**
     * Search commit messages.
     *
     * @example
     * ```ts
     * const result = await repo.searchCommits({ query: "fix bug" });
     * for (const commit of result.commits) {
     *   console.log(`${commit.sha.slice(0, 7)} ${commit.message}`);
     * }
     * ```
     */
    searchCommits({ query, rev, maxResults, caseSensitive, isRegex, offset, }: {
        /** The commit message query string. */
        query: string;
        /** Git ref to start searching from (default HEAD). */
        rev?: string;
        /** Maximum number of results to return (default 50). */
        maxResults?: number;
        /** Whether the search is case-sensitive (default false). */
        caseSensitive?: boolean;
        /** Treat the query as a regular expression. */
        isRegex?: boolean;
        /** Offset for pagination. */
        offset?: number;
    }): Promise<GitCommitSearchResult>;
    /**
     * Search file content changes across commits (git log -S/-G equivalent).
     *
     * Returns commits where matching content was added or removed, along with
     * the specific changed lines and which files they were in.
     *
     * @example
     * ```ts
     * const result = await repo.searchDiffs({ query: "TODO" });
     * for (const commit of result.commits) {
     *   console.log(`${commit.sha.slice(0, 7)} ${commit.message}`);
     *   for (const file of commit.files) {
     *     for (const match of file.matches) {
     *       const prefix = match.isAddition ? "+" : "-";
     *       console.log(`  ${file.path}:${match.lineNumber} ${prefix} ${match.line}`);
     *     }
     *   }
     * }
     * ```
     */
    searchDiffs({ query, rev, pathPattern, excludePattern, maxResults, caseSensitive, isRegex, wholeWord, offset, }: {
        /** The search query string. */
        query: string;
        /** Git ref to start searching from (default HEAD). */
        rev?: string;
        /** Glob pattern to filter file paths (e.g. "*.rs", "src/**"). */
        pathPattern?: string;
        /** Glob pattern to exclude file paths (e.g. "*.lock", "node_modules/**"). */
        excludePattern?: string;
        /** Maximum number of commit results to return (default 100). */
        maxResults?: number;
        /** Whether the search is case-sensitive (default false). */
        caseSensitive?: boolean;
        /** Treat the query as a regular expression. */
        isRegex?: boolean;
        /** Match whole words only. */
        wholeWord?: boolean;
        /** Offset for pagination (number of commit results to skip). */
        offset?: number;
    }): Promise<GitDiffSearchResult>;
}
/**
 * Namespace for managing Git repositories.
 *
 * Provides methods to create, list, delete, and get references to repositories.
 *
 * @example
 * ```ts
 * // Create a new empty repository
 * const { repoId, repo } = await freestyle.git.repos.create({});
 *
 * // Create a repository from a GitHub URL
 * const { repo } = await freestyle.git.repos.create({
 *   source: { url: "https://github.com/owner/repo" }
 * });
 *
 * // List repositories
 * const repos = await freestyle.git.repos.list({ limit: 10 });
 *
 * // Get a reference to an existing repository
 * const repo = freestyle.git.repos.ref({ repoId: "your-repo-id" });
 *
 * // Delete a repository
 * await freestyle.git.repos.delete({ repoId: "your-repo-id" });
 * ```
 */
declare class GitReposNamespace {
    private apiClient;
    constructor(apiClient: ApiClient);
    /**
     * Create a new git repository.
     */
    create({ ...body }: PostGitV1RepoRequestBody): Promise<{
        repoId: string;
        repo: GitRepo;
    }>;
    /**
     * List git repositories.
     */
    list({ limit, cursor, }?: {
        limit?: number;
        cursor?: string;
    }): Promise<ResponseGetGitV1Repo200>;
    /**
     * Get a repository instance by ID.
     */
    ref({ repoId }: {
        repoId: string;
    }): GitRepo;
    /**
     * Delete a git repository.
     */
    delete({ repoId, }: {
        repoId: string;
    }): Promise<ResponseDeleteGitV1RepoRepo200>;
}
/**
 * Root namespace for Freestyle Git operations.
 *
 * Freestyle Git provides multi-tenant Git repository hosting with a full API,
 * bidirectional GitHub sync, webhook triggers, and fine-grained access control.
 *
 * @example
 * ```ts
 * import { freestyle } from "freestyle";
 *
 * // Access the Git namespace
 * const git = freestyle.git;
 *
 * // Create a new repository
 * const { repoId, repo } = await git.repos.create({});
 *
 * // Clone from an existing Git URL
 * const { repo } = await git.repos.create({
 *   source: { url: "https://github.com/owner/repo" }
 * });
 *
 * // Work with an existing repository
 * const repo = git.repos.ref({ repoId: "your-repo-id" });
 * const contents = await repo.contents.get({ path: "README.md" });
 * ```
 */
declare class GitNamespace {
    private apiClient;
    private freestyle?;
    /**
     * Manage Git repositories.
     *
     * Create, list, delete, and get references to repositories.
     *
     * @example
     * ```ts
     * // Create a new empty repository
     * const { repoId, repo } = await freestyle.git.repos.create({});
     *
     * // Create from a GitHub URL
     * const { repo } = await freestyle.git.repos.create({
     *   source: { url: "https://github.com/owner/repo" }
     * });
     *
     * // List repositories
     * const repos = await freestyle.git.repos.list({ limit: 10 });
     *
     * // Get a reference to an existing repository
     * const repo = freestyle.git.repos.ref({ repoId: "your-repo-id" });
     *
     * // Delete a repository
     * await freestyle.git.repos.delete({ repoId: "your-repo-id" });
     * ```
     */
    readonly repos: GitReposNamespace;
    constructor(apiClient: ApiClient, freestyle?: any | undefined);
}

declare class Identity {
    readonly identityId: string;
    permissions: IdentityPermissions;
    tokens: IdentityTokens;
    private apiClient;
    constructor({ identityId, apiClient, }: {
        identityId: string;
        apiClient: ApiClient;
    });
}
declare class IdentityTokens {
    private identityId;
    private apiClient;
    constructor({ identityId, apiClient, }: {
        identityId: string;
        apiClient: ApiClient;
    });
    /**
     * Create a new access token for this identity.
     */
    create(): Promise<{
        tokenId: string;
        token: string;
    }>;
    /**
     * Revoke an access token.
     */
    revoke({ tokenId, }: {
        tokenId: string;
    }): Promise<ResponseDeleteIdentityV1IdentitiesIdentityTokensToken200>;
    /**
     * List access tokens for this identity.
     */
    list(): Promise<ResponseGetIdentityV1IdentitiesIdentityTokens200>;
}
declare class IdentityPermissions {
    git: GitPermissions;
    vms: VmPermissions;
    private identityId;
    private apiClient;
    constructor({ identityId, apiClient, }: {
        identityId: string;
        apiClient: ApiClient;
    });
}
declare class GitPermissions {
    private identityId;
    private apiClient;
    constructor({ identityId, apiClient, }: {
        identityId: string;
        apiClient: ApiClient;
    });
    /**
     * List all git repository access permissions for this identity.
     */
    list({ limit, cursor, }?: {
        limit?: number;
        cursor?: string;
    }): Promise<ResponseGetIdentityV1IdentitiesIdentityPermissionsGit200>;
    /**
     * Get this identity's permission level for a specific repository.
     */
    get({ repoId, }: {
        repoId: string;
    }): Promise<ResponseGetIdentityV1IdentitiesIdentityPermissionsGitRepo200>;
    /**
     * Update this identity's access to a repository.
     */
    update({ repoId, permission, }: {
        repoId: string;
        permission: PutIdentityV1IdentitiesIdentityPermissionsGitRepoRequestBody["permission"];
    }): Promise<ResponsePutIdentityV1IdentitiesIdentityPermissionsGitRepo200>;
    /**
     * Grant this identity access to a repository.
     */
    grant({ repoId, permission, }: {
        repoId: string;
        permission: PostIdentityV1IdentitiesIdentityPermissionsGitRepoRequestBody["permission"];
    }): Promise<ResponsePostIdentityV1IdentitiesIdentityPermissionsGitRepo200>;
    /**
     * Revoke this identity's access to a repository.
     */
    revoke({ repoId, }: {
        repoId: string;
    }): Promise<ResponseDeleteIdentityV1IdentitiesIdentityPermissionsGitRepo200>;
}
declare class VmPermissions {
    private identityId;
    private apiClient;
    constructor({ identityId, apiClient, }: {
        identityId: string;
        apiClient: ApiClient;
    });
    /**
     * List all VM access permissions for this identity.
     */
    list({ limit, cursor, }?: {
        limit?: number;
        cursor?: string;
    }): Promise<ResponseGetIdentityV1IdentitiesIdentityPermissionsVm200>;
    /**
     * Get this identity's permission level for a specific VM.
     */
    get({ vmId, }: {
        vmId: string;
    }): Promise<ResponseGetIdentityV1IdentitiesIdentityPermissionsVmVmId200>;
    /**
     * Update this identity's access to a VM.
     */
    update({ vmId, allowedUsers, }: {
        vmId: string;
        allowedUsers?: string[] | null;
    }): Promise<ResponsePutIdentityV1IdentitiesIdentityPermissionsVmVmId200>;
    /**
     * Grant this identity access to a VM.
     */
    grant({ vmId, allowedUsers, }: {
        vmId: string;
        allowedUsers?: string[] | null;
    }): Promise<ResponsePostIdentityV1IdentitiesIdentityPermissionsVmVmId200>;
    /**
     * Revoke this identity's access to a VM.
     */
    revoke({ vmId, }: {
        vmId: string;
    }): Promise<ResponseDeleteIdentityV1IdentitiesIdentityPermissionsVmVmId200>;
}
declare class IdentitiesNamespace {
    private apiClient;
    constructor(apiClient: ApiClient);
    /**
     * List all identities.
     */
    list({ limit, cursor, }?: {
        limit?: number;
        cursor?: string;
    }): Promise<ResponseGetIdentityV1Identities200>;
    /**
     * Create a new identity.
     * Identities are global entities that can be granted permissions to access git repositories and VMs.
     */
    create({}?: {}): Promise<{
        identityId: string;
        identity: Identity;
    }>;
    /**
     * Create an identity instance by ID without making an api call.
     */
    ref({ identityId }: {
        identityId: string;
    }): Identity;
    /**
     * Delete an identity.
     */
    delete({ identityId, }: {
        identityId: string;
    }): Promise<ResponseDeleteIdentityV1IdentitiesIdentity200>;
}

/**
 * DNS records namespace.
 */
declare class DnsRecordsNamespace {
    private apiClient;
    constructor(apiClient: ApiClient);
    /**
     * Create DNS records.
     */
    create({ ...body }: PostDnsV1RecordsRequestBody): Promise<ResponsePostDnsV1Records200>;
    /**
     * List DNS records.
     */
    list({ ...query }?: GetDnsV1RecordsQueryParams): Promise<ResponseGetDnsV1Records200>;
    /**
     * Delete DNS records.
     */
    delete({ ...query }?: DeleteDnsV1RecordsQueryParams): Promise<ResponseDeleteDnsV1Records200>;
}
/**
 * DNS namespace.
 */
declare class DnsNamespace {
    private apiClient;
    readonly records: DnsRecordsNamespace;
    constructor(apiClient: ApiClient);
}

type ObservabilityLogEntry = ResponseGetObservabilityV1Logs200["logs"][number];
type GetLogsOptions = GetObservabilityV1LogsQueryParams;
type StreamLogsOptions = GetLogsOptions & {
    intervalMs?: number;
    signal?: AbortSignal;
    includeExisting?: boolean;
};
declare class ObservabilityNamespace {
    private apiClient;
    constructor(apiClient: ApiClient);
    getLogs(options?: GetLogsOptions): Promise<ResponseGetObservabilityV1Logs200>;
    logs(options?: GetLogsOptions): Promise<ResponseGetObservabilityV1Logs200>;
    streamLogs({ intervalMs, signal, includeExisting, ...query }?: StreamLogsOptions): AsyncGenerator<ObservabilityLogEntry>;
}

type CreateWebDeploymentSource = {
    repo: string;
    branch?: string;
    rootPath?: string;
} | {
    code: string;
} | {
    files: Files;
} | {
    tarUrl: string;
};
type Files = {
    path: string;
    content: string;
    encoding?: "utf-8" | "base64";
}[];
type EgressTransform = {
    /** Headers to set on outgoing requests. */
    headers?: Record<string, string>;
};
type EgressDomainConfig = {
    /** Transformations to apply to requests matching this domain entry. */
    transform?: EgressTransform[];
};
type EgressIpConfig = {
    /** Transformations to apply to requests matching this IP/CIDR entry. */
    transform?: EgressTransform[];
};
type EgressAllowRules = {
    /** Domain allowlist. Use "*" for wildcard fallback. */
    domains?: Record<string, EgressDomainConfig[]>;
    /** IP/CIDR allowlist. */
    ips?: Record<string, EgressIpConfig[]>;
};
type EgressDenyRules = {
    /** IP/CIDR denylist that overrides allow rules. */
    ips?: Record<string, EgressIpConfig[]>;
};
type EgressConfig = {
    /** Allowed destinations and transformations. */
    allow?: EgressAllowRules;
    /** Denied destinations (override). */
    deny?: EgressDenyRules;
};
/**
 * Redirect configuration for permanent or temporary redirects (Vercel-compatible)
 */
type RedirectConfig = {
    /** Source pattern (can be exact path or regex) */
    source: string;
    /** Destination path or URL */
    destination: string;
    /** HTTP status code for redirect (301, 302, 307, 308). Takes precedence over `permanent`. */
    statusCode?: number;
    /** If true, uses 308 (permanent redirect). If false, uses 307 (temporary redirect). */
    permanent?: boolean;
};
/**
 * Rewrite configuration for URL rewrites (internal, not visible to client)
 */
type RewriteConfig = {
    /** Source pattern (regex pattern) */
    source: string;
    /** Destination path with optional capture group substitution ($1, $2, etc.) */
    destination: string;
};
/**
 * Dynamic route configuration for paths that should be handled by the worker
 */
type DynamicConfig = {
    /** Source pattern (regex or glob pattern like "/api/.*" or "/api/**") */
    source: string;
    /** HTTP methods this route applies to (if undefined, applies to all methods) */
    methods?: string[];
};
/**
 * Header configuration for setting custom headers on matching paths
 */
type HeaderConfig = {
    /** Source pattern (regex pattern) */
    source: string;
    /** Headers to set (array of key-value pairs) */
    headers: {
        key: string;
        value: string;
    }[];
};
type ExperimentalServerlessConfig = {
    /**
     * Experimental Next.js optimization. When enabled, deploy auto-detects
     * Next.js manifest metadata (redirects/rewrites/dynamic/headers) and
     * inferred directories/entrypoint when available.
     */
    nextjsOptimization?: boolean;
};
type ServerlessConfig = {
    /**
     * Network permissions for the serverless environment.
     */
    networkPermissions?: {
        action: "allow" | "deny";
        domain: string;
        behavior: "exact" | "regex";
    }[];
    /**
     * Environment variables to set in the serverless environment.
     */
    envVars?: Record<string, string>;
    /**
     * NPM packages to include in the serverless runtime.
     *
     * Packages are cached globally for performance. Cache misses may result in longer cold starts,
     * but sunsequent invocations using the same package are instant. In reality, most popular packages are
     * already cached so you shouldn't need to worry about this much.
     *
     * Format: { "package-name": "version" }
     */
    nodeModules?: Record<string, string>;
    /**
     * Optional timeout in milliseconds.
     */
    timeoutMs?: number;
    /**
     * Fine-grained outbound egress controls and per-destination header transforms.
     */
    egress?: EgressConfig;
};
type CreateDeployment = CreateWebDeploymentSource & ServerlessConfig & {
    name?: string;
    build?: boolean | {
        command: string;
        outDir?: string | null;
        envVars?: {
            [k: string]: string;
        } | null;
    };
    /** Wait for the deployment to be fully rolled out before returning. */
    waitForRollout?: boolean;
    domains?: string[];
    /**
     * Directory containing public files to be served at the root of the domain (e.g., "public").
     * These files are served without any path prefix - a file at public/favicon.ico is served at /favicon.ico.
     */
    publicDir?: string;
    /**
     * Directory containing static files to be served directly (e.g., ".next/static").
     * Files are served at the URL path specified by staticPathPrefix (defaults to root "/").
     */
    staticDir?: string;
    /**
     * URL path prefix where static files are served (e.g., "/_next/static"). Defaults to "/" (root).
     * When set, only requests matching this prefix will be served from staticDir.
     */
    staticPathPrefix?: string;
    /**
     * Directory containing prerendered HTML files (e.g., ".next/standalone/.next/server/app" for Next.js).
     * Files are served as: ${prerenderDir}/${path}.html or ${prerenderDir}/index.html for root.
     */
    prerenderDir?: string;
    /** Set to true for static-only deployments (no dynamic server/entrypoint required) */
    staticOnly?: boolean;
    /**
     * Redirects (permanent or temporary). Source patterns are regex.
     * @example [{ source: "^/old-page$", destination: "/new-page", permanent: true }]
     */
    redirects?: RedirectConfig[];
    /**
     * URL rewrites (internal, not visible to client). Source patterns are regex.
     * @example [{ source: "^/api/(.*)$", destination: "/backend/$1" }]
     */
    rewrites?: RewriteConfig[];
    /**
     * Dynamic routes that should be handled by the worker (not served statically).
     * Source patterns are regex.
     * @example [{ source: "^/api/.*$" }, { source: "^/blog/[^/]+$" }]
     */
    dynamic?: DynamicConfig[];
    /**
     * Custom headers for matching paths. Source patterns are regex.
     * @example [{ source: "^/assets/.*$", headers: [{ key: "Cache-Control", value: "max-age=31536000" }] }]
     */
    headers?: HeaderConfig[];
    /**
     * When true, all HTML files will have their extension removed.
     * Visiting a path with .html will redirect to extensionless path (308).
     * For example, a static file named about.html will be served when visiting /about.
     */
    cleanUrls?: boolean;
    /**
     * When false, visiting a path with a trailing slash will redirect (308) to path without trailing slash.
     * When true, opposite behavior occurs. When undefined (default), no automatic redirects based on trailing slash.
     */
    trailingSlash?: boolean;
    /**
     * Experimental feature flags.
     */
    experimental?: ExperimentalServerlessConfig;
};
/**
 * Represents a deployment on the serverless platform (web or execute).
 */
declare class Deployment {
    readonly deploymentId: string;
    private apiClient;
    constructor({ deploymentId, apiClient, }: {
        deploymentId: string;
        apiClient: ApiClient;
    });
    /**
     * Get details of this deployment (execute type).
     */
    getDetails(): Promise<{
        info: {
            deploymentId: string;
            accountId: string;
            envVars: Record<string, string>;
            timeout: number;
            state: string;
            deployedAt?: string;
            domains: string[];
        };
        events: any[];
    }>;
    /**
     * Get logs for this deployment.
     */
    getLogs(options?: Omit<GetLogsOptions, "deploymentId">): Promise<ResponseGetObservabilityV1Logs200>;
    /**
     * Fetch content from this deployment.
     * Makes a request directly to nginx-web with the deployment ID header.
     *
     * @param url - The URL path to fetch (e.g., "/api/hello" or "https://example.com/path")
     * @param init - Fetch options (headers, method, body, etc.)
     * @returns The response from the deployment
     *
     * @example
     * // Relative path
     * await deployment.fetch("/api/hello")
     *
     * @example
     * // Absolute URL (domain is ignored, only path is used)
     * await deployment.fetch("https://example.com/api/hello")
     *
     * @example
     * // With custom headers and method
     * await deployment.fetch("/api/data", {
     *   method: "POST",
     *   headers: { "Content-Type": "application/json" },
     *   body: JSON.stringify({ key: "value" })
     * })
     */
    fetch(url: string, init?: RequestInit): Promise<Response>;
}
/**
 * Deployments namespace for serverless web deployments.
 */
declare class DeploymentsNamespace {
    private apiClient;
    constructor(apiClient: ApiClient);
    /**
     * Create a serverless web deployment
     */
    create({ ...body }: CreateDeployment & {
        /**
         * Optional entrypoint path.
         */
        entrypointPath?: string;
    }): Promise<{
        deploymentId: string;
        deployment: Deployment;
        domains: string[];
    }>;
    /**
     * List web deployments.
     */
    list({ limit, cursor, search, }?: {
        limit?: number;
        cursor?: string;
        search?: string;
    }): Promise<ResponseGetWebV1Deployments200>;
    /**
     * Get a deployment instance by ID.
     */
    ref({ deploymentId }: {
        deploymentId: string;
    }): Deployment;
}
/**
 * Runs namespace for serverless script execution.
 */
declare class RunsNamespace {
    private apiClient;
    constructor(apiClient: ApiClient);
    /**
     * Create and execute a script run.
     */
    create<T = any>({ code, ...config }: {
        code: string;
    } & PostExecuteV3ScriptRequestBody["config"] & {
        egress?: EgressConfig;
    }): Promise<ResponsePostExecuteV3Script200 & {
        result: T;
    }>;
    /**
     * Get observability logs for a script run.
     */
    getLogs({ runId, ...options }: {
        runId: string;
    } & Omit<GetLogsOptions, "runId">): Promise<ResponseGetObservabilityV1Logs200>;
    /**
     * List execution runs.
     */
    list({ limit, cursor, }?: {
        limit?: number;
        cursor?: string;
    }): Promise<{
        runs: {
            runId: string;
            createdAt: string;
            startedAt?: string;
            status: "starting" | "running" | "complete";
        }[];
        nextCursor?: string;
        totalCount?: number;
    }>;
}
/**
 * Serverless namespace for serverless compute operations.
 */
declare class ServerlessNamespace {
    private apiClient;
    readonly deployments: DeploymentsNamespace;
    readonly runs: RunsNamespace;
    constructor(apiClient: ApiClient);
}

interface CreateSnapshotRequest {
    name?: string | null;
    spec?: null | SnapshotSpec;
    template?: null | {
        snapshotId?: null | string;
        baseImage?: null | {
            /**
             * The text content of a Dockerfile (e.g., `"FROM debian:trixie-slim"`).
             */
            dockerfileContent: string;
        };
        rootfsSizeGb?: number | null;
        memSizeGb?: number | null;
        vcpuCount?: number | null;
        /**
         * Optional working directory for the VM. If not provided, the default to '/'
         */
        workdir?: string | null;
        /**
         * Idle timeout in seconds. If set, the VM will be automatically suspended
         * after this many seconds of no network activity. Defaults to 300 seconds
         * (5 minutes) if not provided or the last used timeout for the forked VM.
         */
        idleTimeoutSeconds?: number | null;
        waitForReadySignal?: boolean | null;
        readySignalTimeoutSeconds?: number | null;
        persistence?: null | ({
            /**
             * Priority for eviction when storage quota is reached. Higher values
             * mean the VM is less likely to be evicted. Range is 0-10, default is
             * 5.
             */
            priority?: number | null;
            type: "sticky";
        } | {
            deleteEvent?: null | ("OnStop" | "OnSuspend");
            type: "ephemeral";
        } | {
            type: "persistent";
        });
        /**
         * Optional list of ports to expose externally. If not provided, port 3000
         * will be exposed on port 443 by default. Pass an empty array to disable
         * external ports. Only ports 8081 and 443 can be configured externally for
         * now. Any target port is allowed.
         */
        ports?: {
            port: number;
            targetPort: number;
        }[] | null;
        systemd?: null | {
            services?: {
                /**
                 * Unique slug; becomes unit name "<name>.service".
                 */
                name: string;
                /**
                 * "oneshot" (run and exit) or "service" (long-running/healing).
                 */
                mode: "oneshot" | "service";
                /**
                 * Executable to run (can specify multiple commands that run sequentially).
                 */
                exec: string[];
                /**
                 * Environment variables.
                 */
                env?: {
                    [k: string]: string;
                } | null;
                /**
                 * Linux user to run the service as.
                 */
                user?: string | null;
                /**
                 * Linux group to run the service in.
                 */
                group?: string | null;
                /**
                 * Working directory.
                 */
                workdir?: string | null;
                /**
                 * Establishes an ordering dependency. The current unit will start only
                 * after the units listed in After= have started. This is useful for
                 * ensuring that certain services are up and running before the current
                 * service begins its operation.
                 */
                after?: string[] | null;
                /**
                 * Establishes a strong dependency. If the required unit fails to
                 * start or stops unexpectedly, the current unit will also be stopped. This
                 * ensures that a service critical to the functioning of the current unit
                 * is running and stable. Units listed in Requires= are activated along
                 * with the current unit. If the required unit is not active, systemd will
                 * attempt to start it. This directive signifies a tight coupling between
                 * services, where the current service cannot function without the required
                 * service.
                 */
                requires?: string[] | null;
                /**
                 * Units to activate when this unit enters a failed state. This is useful
                 * for triggering recovery actions, notifications, or cleanup services when
                 * the current service fails.
                 */
                onFailure?: string[] | null;
                /**
                 * Target used when enabling (default: multi-user.target).
                 */
                wantedBy?: string[] | null;
                /**
                 * Whether to enable this service (calls `systemctl enable <service>`).
                 * When enabled, the service will start automatically at boot.
                 */
                enable?: boolean | null;
                /**
                 * Overall start/stop timeout.
                 */
                timeoutSec?: number | null;
                /**
                 * For oneshot: remove unit on success.
                 */
                deleteAfterSuccess?: boolean | null;
                /**
                 * For oneshot: remain active after exit (default: true).
                 * When false, the service can be started again even if it already ran.
                 */
                remainAfterExit?: boolean | null;
                /**
                 * Use sd_notify; maps to Type=notify.
                 */
                readySignal?: boolean | null;
                /**
                 * Enable systemd watchdog (seconds).
                 */
                watchdogSec?: number | null;
                restartPolicy?: null | {
                    /**
                     * "no" | "on-failure" | "always" | "on-abnormal"
                     */
                    policy: "no" | "on-failure" | "always" | "on-abnormal";
                    restartSec?: number | null;
                    startLimitBurst?: number | null;
                    startLimitIntervalSec?: number | null;
                };
            }[] | null;
            patchedServices?: {
                /**
                 * Unique slug; becomes unit name "<name>.service".
                 */
                name: string;
                mode?: null | ("oneshot" | "service");
                /**
                 * Executable to run (can specify multiple commands that run sequentially).
                 */
                exec?: string[] | null;
                /**
                 * Environment variables.
                 */
                env?: {
                    [k: string]: string;
                } | null;
                /**
                 * Linux user to run the service as.
                 */
                user?: string | null;
                /**
                 * Linux group to run the service in.
                 */
                group?: string | null;
                /**
                 * Working directory.
                 */
                workdir?: string | null;
                /**
                 * Establishes an ordering dependency. The current unit will start only
                 * after the units listed in After= have started. This is useful for
                 * ensuring that certain services are up and running before the current
                 * service begins its operation.
                 */
                after?: string[] | null;
                /**
                 * Establishes a strong dependency. If the required unit fails to
                 * start or stops unexpectedly, the current unit will also be stopped. This
                 * ensures that a service critical to the functioning of the current unit
                 * is running and stable. Units listed in Requires= are activated along
                 * with the current unit. If the required unit is not active, systemd will
                 * attempt to start it. This directive signifies a tight coupling between
                 * services, where the current service cannot function without the required
                 * service.
                 */
                requires?: string[] | null;
                /**
                 * Units to activate when this unit enters a failed state. This is useful
                 * for triggering recovery actions, notifications, or cleanup services when
                 * the current service fails.
                 */
                onFailure?: string[] | null;
                /**
                 * Target used when enabling (default: multi-user.target).
                 */
                wantedBy?: string[] | null;
                /**
                 * Whether to enable this service (calls `systemctl enable <service>`).
                 * When enabled, the service will start automatically at boot.
                 */
                enable?: boolean | null;
                /**
                 * Overall start/stop timeout.
                 */
                timeoutSec?: number | null;
                /**
                 * For oneshot: remove unit on success.
                 */
                deleteAfterSuccess?: boolean | null;
                /**
                 * Use sd_notify; maps to Type=notify.
                 */
                readySignal?: boolean | null;
                /**
                 * Enable systemd watchdog (seconds).
                 */
                watchdogSec?: number | null;
                restartPolicy?: null | {
                    /**
                     * "no" | "on-failure" | "always" | "on-abnormal"
                     */
                    policy: "no" | "on-failure" | "always" | "on-abnormal";
                    restartSec?: number | null;
                    startLimitBurst?: number | null;
                    startLimitIntervalSec?: number | null;
                };
            }[] | null;
        };
        /**
         * Linux users to create on VM startup
         */
        users?: {
            /**
             * Unique username
             */
            name: string;
            /**
             * Optional fixed UID; if None, allocate
             */
            uid?: number | null;
            /**
             * GECOS field (descriptive string, e.g., full name)
             */
            gecos?: string | null;
            /**
             * Groups to add user to (all groups use 'm' membership lines)
             */
            groups?: string[];
            /**
             * Home directory path (optional, defaults to /home/{username} for regular users, / for system users)
             */
            home?: string | null;
            /**
             * Login shell (optional, defaults to /bin/bash for regular users, /usr/sbin/nologin for system users)
             */
            shell?: string | null;
            /**
             * System user (allocator uses system range)
             */
            system?: boolean | null;
        }[] | null;
        /**
         * Linux groups to create on VM startup
         */
        groups?: {
            /**
             * Unique group name
             */
            name: string;
            /**
             * Optional fixed GID; if None, allocate
             */
            gid?: number | null;
            /**
             * System group (allocator uses system range)
             */
            system?: boolean | null;
        }[] | null;
        additionalFiles?: {
            [k: string]: {
                /**
                 * The content of the file
                 */
                content: string;
                /**
                 * The encoding of the file. Either **utf-8** or **base64**
                 */
                encoding?: string;
                /**
                 * Whether the file should be marked executable after being written
                 */
                executable?: boolean;
            };
        } | null;
        /**
         * @deprecated
         */
        gitRepos?: {
            /**
             * url or id of the git repository
             */
            repo: string;
            /**
             * path to place the repo on
             */
            path: string;
            /**
             * optional rev (branch, tag, commit)
             */
            rev?: string | null;
        }[] | null;
        git?: null | {
            config: {
                user?: null | {
                    name?: string | null;
                    email?: string | null;
                    signingkey?: string | null;
                };
            };
            repos?: {
                /**
                 * url or id of the git repository
                 */
                repo: string;
                /**
                 * path to place the repo on
                 */
                path: string;
                /**
                 * optional rev (branch, tag, commit)
                 */
                rev?: string | null;
            }[] | null;
        };
        /**
         * Optional discriminator to differentiate snapshots with otherwise identical configurations
         */
        discriminator?: string | null;
        /**
         * Optional list of apt packages to install when setting up the VM.
         * These packages will be installed using `apt-get install` on VM startup.
         */
        aptDeps?: string[] | null;
        /**
         * When true, bypasses the snapshot cache and always creates a new snapshot.
         * The new snapshot still stores the template hash, so it becomes the updated cache entry
         * for future requests that do not set skip_cache.
         */
        skipCache?: boolean | null;
    };
    persistence?: null | ({
        priority?: number | null;
        type: "sticky";
    } | {
        type: "persistent";
    });
    dockerCredentials?: null | {
        /**
         * Docker registry URL (e.g., "ghcr.io", "docker.io")
         */
        registry: string;
        /**
         * Username for the registry
         */
        username: string;
        /**
         * Password or token for the registry
         */
        password: string;
    };
}
/**
 * A cacheable snapshot layer. Recursive via `snapshot` — an optional inner
 * layer that is materialized into a snapshot before this layer builds. The
 * resulting `snapshot_id` becomes the base for this layer. `snapshot`,
 * `snapshot_id`, and `base_image` are mutually exclusive.
 */
interface SnapshotSpec {
    snapshot?: null | SnapshotSpec;
    snapshotId?: null | string;
    baseImage?: null | {
        /**
         * The text content of a Dockerfile (e.g., `"FROM debian:trixie-slim"`).
         */
        dockerfileContent: string;
    };
    rootfsSizeGb?: number | null;
    memSizeGb?: number | null;
    vcpuCount?: number | null;
    /**
     * Optional working directory for the VM. Defaults to '/'.
     */
    workdir?: string | null;
    /**
     * Idle timeout in seconds. If set, the VM will be automatically
     * suspended after this many seconds of no network activity.
     */
    idleTimeoutSeconds?: number | null;
    waitForReadySignal?: boolean | null;
    readySignalTimeoutSeconds?: number | null;
    /**
     * Optional list of ports to expose externally.
     */
    ports?: {
        port: number;
        targetPort: number;
    }[] | null;
    systemd?: null | {
        services?: {
            /**
             * Unique slug; becomes unit name "<name>.service".
             */
            name: string;
            /**
             * "oneshot" (run and exit) or "service" (long-running/healing).
             */
            mode: "oneshot" | "service";
            /**
             * Executable to run (can specify multiple commands that run sequentially).
             */
            exec: string[];
            /**
             * Environment variables.
             */
            env?: {
                [k: string]: string;
            } | null;
            /**
             * Linux user to run the service as.
             */
            user?: string | null;
            /**
             * Linux group to run the service in.
             */
            group?: string | null;
            /**
             * Working directory.
             */
            workdir?: string | null;
            /**
             * Establishes an ordering dependency. The current unit will start only
             * after the units listed in After= have started. This is useful for
             * ensuring that certain services are up and running before the current
             * service begins its operation.
             */
            after?: string[] | null;
            /**
             * Establishes a strong dependency. If the required unit fails to
             * start or stops unexpectedly, the current unit will also be stopped. This
             * ensures that a service critical to the functioning of the current unit
             * is running and stable. Units listed in Requires= are activated along
             * with the current unit. If the required unit is not active, systemd will
             * attempt to start it. This directive signifies a tight coupling between
             * services, where the current service cannot function without the required
             * service.
             */
            requires?: string[] | null;
            /**
             * Units to activate when this unit enters a failed state. This is useful
             * for triggering recovery actions, notifications, or cleanup services when
             * the current service fails.
             */
            onFailure?: string[] | null;
            /**
             * Target used when enabling (default: multi-user.target).
             */
            wantedBy?: string[] | null;
            /**
             * Whether to enable this service (calls `systemctl enable <service>`).
             * When enabled, the service will start automatically at boot.
             */
            enable?: boolean | null;
            /**
             * Overall start/stop timeout.
             */
            timeoutSec?: number | null;
            /**
             * For oneshot: remove unit on success.
             */
            deleteAfterSuccess?: boolean | null;
            /**
             * For oneshot: remain active after exit (default: true).
             * When false, the service can be started again even if it already ran.
             */
            remainAfterExit?: boolean | null;
            /**
             * Use sd_notify; maps to Type=notify.
             */
            readySignal?: boolean | null;
            /**
             * Enable systemd watchdog (seconds).
             */
            watchdogSec?: number | null;
            restartPolicy?: null | {
                /**
                 * "no" | "on-failure" | "always" | "on-abnormal"
                 */
                policy: "no" | "on-failure" | "always" | "on-abnormal";
                restartSec?: number | null;
                startLimitBurst?: number | null;
                startLimitIntervalSec?: number | null;
            };
        }[] | null;
        patchedServices?: {
            /**
             * Unique slug; becomes unit name "<name>.service".
             */
            name: string;
            mode?: null | ("oneshot" | "service");
            /**
             * Executable to run (can specify multiple commands that run sequentially).
             */
            exec?: string[] | null;
            /**
             * Environment variables.
             */
            env?: {
                [k: string]: string;
            } | null;
            /**
             * Linux user to run the service as.
             */
            user?: string | null;
            /**
             * Linux group to run the service in.
             */
            group?: string | null;
            /**
             * Working directory.
             */
            workdir?: string | null;
            /**
             * Establishes an ordering dependency. The current unit will start only
             * after the units listed in After= have started. This is useful for
             * ensuring that certain services are up and running before the current
             * service begins its operation.
             */
            after?: string[] | null;
            /**
             * Establishes a strong dependency. If the required unit fails to
             * start or stops unexpectedly, the current unit will also be stopped. This
             * ensures that a service critical to the functioning of the current unit
             * is running and stable. Units listed in Requires= are activated along
             * with the current unit. If the required unit is not active, systemd will
             * attempt to start it. This directive signifies a tight coupling between
             * services, where the current service cannot function without the required
             * service.
             */
            requires?: string[] | null;
            /**
             * Units to activate when this unit enters a failed state. This is useful
             * for triggering recovery actions, notifications, or cleanup services when
             * the current service fails.
             */
            onFailure?: string[] | null;
            /**
             * Target used when enabling (default: multi-user.target).
             */
            wantedBy?: string[] | null;
            /**
             * Whether to enable this service (calls `systemctl enable <service>`).
             * When enabled, the service will start automatically at boot.
             */
            enable?: boolean | null;
            /**
             * Overall start/stop timeout.
             */
            timeoutSec?: number | null;
            /**
             * For oneshot: remove unit on success.
             */
            deleteAfterSuccess?: boolean | null;
            /**
             * Use sd_notify; maps to Type=notify.
             */
            readySignal?: boolean | null;
            /**
             * Enable systemd watchdog (seconds).
             */
            watchdogSec?: number | null;
            restartPolicy?: null | {
                /**
                 * "no" | "on-failure" | "always" | "on-abnormal"
                 */
                policy: "no" | "on-failure" | "always" | "on-abnormal";
                restartSec?: number | null;
                startLimitBurst?: number | null;
                startLimitIntervalSec?: number | null;
            };
        }[] | null;
    };
    /**
     * Linux users to create on VM startup.
     */
    users?: {
        /**
         * Unique username
         */
        name: string;
        /**
         * Optional fixed UID; if None, allocate
         */
        uid?: number | null;
        /**
         * GECOS field (descriptive string, e.g., full name)
         */
        gecos?: string | null;
        /**
         * Groups to add user to (all groups use 'm' membership lines)
         */
        groups?: string[];
        /**
         * Home directory path (optional, defaults to /home/{username} for regular users, / for system users)
         */
        home?: string | null;
        /**
         * Login shell (optional, defaults to /bin/bash for regular users, /usr/sbin/nologin for system users)
         */
        shell?: string | null;
        /**
         * System user (allocator uses system range)
         */
        system?: boolean | null;
    }[] | null;
    /**
     * Linux groups to create on VM startup.
     */
    groups?: {
        /**
         * Unique group name
         */
        name: string;
        /**
         * Optional fixed GID; if None, allocate
         */
        gid?: number | null;
        /**
         * System group (allocator uses system range)
         */
        system?: boolean | null;
    }[] | null;
    additionalFiles?: {
        [k: string]: {
            /**
             * The content of the file
             */
            content: string;
            /**
             * The encoding of the file. Either **utf-8** or **base64**
             */
            encoding?: string;
            /**
             * Whether the file should be marked executable after being written
             */
            executable?: boolean;
        };
    } | null;
    git?: null | {
        config: {
            user?: null | {
                name?: string | null;
                email?: string | null;
                signingkey?: string | null;
            };
        };
        repos?: {
            /**
             * url or id of the git repository
             */
            repo: string;
            /**
             * path to place the repo on
             */
            path: string;
            /**
             * optional rev (branch, tag, commit)
             */
            rev?: string | null;
        }[] | null;
    };
    /**
     * apt packages to install on VM startup.
     */
    aptDeps?: string[] | null;
    /**
     * Optional discriminator to differentiate snapshots with otherwise
     * identical configurations.
     */
    discriminator?: string | null;
    /**
     * When true, bypasses the snapshot cache and always creates a new
     * snapshot. The new snapshot still stores the template hash, so it
     * becomes the updated cache entry for future requests that do not set
     * skip_cache.
     */
    skipCache?: boolean | null;
}

/**
 * File system operations for a VM.
 */
declare class FileSystem {
    private vm;
    private vmId;
    private client;
    constructor({ vmId, client }: {
        vmId: string;
        client: ApiClient;
    });
    /**
     * Read a file from the VM as a buffer.
     * @param filepath The path to the file in the VM
     * @returns Buffer containing the file content
     */
    readFile(filepath: string): Promise<Buffer>;
    /**
     * Write a file to the VM from a buffer.
     * @param filepath The path to the file in the VM
     * @param content Buffer containing the content to write
     */
    writeFile(filepath: string, content: Buffer): Promise<void>;
    /**
     * Read a text file from the VM.
     * @param filepath The path to the file in the VM
     * @param encoding The text encoding to use (default: utf-8)
     * @returns The file content as a string
     */
    readTextFile(filepath: string, encoding?: BufferEncoding): Promise<string>;
    /**
     * Write a text file to the VM.
     * @param filepath The path to the file in the VM
     * @param content The text content to write
     * @param encoding The text encoding to use (default: utf-8)
     */
    writeTextFile(filepath: string, content: string, encoding?: BufferEncoding): Promise<void>;
    /**
     * Read a directory from the VM.
     * @param path The path to the directory in the VM
     * @returns Array of file/directory names
     */
    readDir(path: string): Promise<{
        name: string;
        kind: string;
    }[]>;
    /**
     * Create a directory in the VM.
     * @param path The path to create
     * @param recursive Create parent directories if needed (default: false)
     */
    mkdir(path: string, recursive?: boolean): Promise<void>;
    /**
     * Remove a file or directory from the VM.
     * @param path The path to remove
     * @param recursive Remove directories and their contents recursively (default: false)
     */
    remove(path: string, recursive?: boolean): Promise<void>;
    /**
     * Check if a file or directory exists in the VM.
     * @param path The path to check
     * @returns True if exists, false otherwise
     */
    exists(path: string): Promise<boolean>;
    /**
     * Get file/directory stats.
     * @param path The path to stat
     * @returns File/directory stats
     */
    stat(path: string): Promise<{
        size: number;
        isFile: boolean;
        isDirectory: boolean;
        isSymlink: boolean;
        permissions: string;
        owner: string;
        group: string;
        modified: string;
    }>;
    /**
     * Watch for file changes in the VM.
     * @returns An async generator that yields file change events
     */
    watchFiles(): AsyncGenerator<{
        eventType: string;
        filename: string;
    }>;
}

/**
 * Represents a single systemd service with convenience methods.
 */
declare class SystemdService {
    private serviceId;
    private systemd;
    constructor({ serviceId, systemd }: {
        serviceId: string;
        systemd: Systemd;
    });
    /**
     * Get the status of this service.
     * @returns Service status information
     */
    status(): Promise<ResponseGetV1VmsVmIdSystemdServicesServiceIdStatus200>;
    /**
     * Get logs from this service.
     * @param options Optional parameters for log retrieval
     * @returns Service logs
     */
    logs(options?: {
        lines?: number;
        since?: string;
    }): Promise<ResponseGetV1VmsVmIdSystemdServicesServiceIdLogs200>;
    /**
     * Start this service.
     * @returns Start operation result
     */
    start(): Promise<ResponsePostV1VmsVmIdSystemdStart200>;
    /**
     * Stop this service.
     * @returns Stop operation result
     */
    stop(): Promise<ResponsePostV1VmsVmIdSystemdStop200>;
    /**
     * Restart this service.
     * @returns Restart operation result
     */
    restart(): Promise<ResponsePostV1VmsVmIdSystemdRestart200>;
    /**
     * Delete this service.
     * @returns Delete operation result
     */
    delete(): Promise<ResponseDeleteV1VmsVmIdSystemdServicesServiceId200>;
}
/**
 * Systemd service management operations for a VM.
 */
declare class Systemd {
    private vm;
    private vmId;
    private client;
    constructor({ vmId, client }: {
        vmId: string;
        client: ApiClient;
    });
    /**
     * List all systemd services in the VM.
     * @returns Array of service information
     */
    list(): Promise<ResponseGetV1VmsVmIdSystemdServices200>;
    /**
     * Create a new systemd service in the VM.
     * @param spec Service specification
     * @returns Service creation result
     */
    create(spec: PostV1VmsVmIdSystemdServicesRequestBody): Promise<ResponsePostV1VmsVmIdSystemdServices200>;
    /**
     * Delete a systemd service from the VM.
     * @param options Service ID to delete
     * @returns Delete operation result
     */
    delete({ serviceId, }: {
        serviceId: string;
    }): Promise<ResponseDeleteV1VmsVmIdSystemdServicesServiceId200>;
    /**
     * Get the status of a systemd service.
     * @param options Service ID to get status for
     * @returns Service status information
     */
    getStatus({ serviceId, }: {
        serviceId: string;
    }): Promise<ResponseGetV1VmsVmIdSystemdServicesServiceIdStatus200>;
    /**
     * Get logs from a systemd service.
     * @param options Service ID and optional log parameters
     * @returns Service logs
     */
    getLogs({ serviceId, lines, since, }: {
        serviceId: string;
        lines?: number;
        since?: string;
    }): Promise<ResponseGetV1VmsVmIdSystemdServicesServiceIdLogs200>;
    /**
     * Start one or more systemd services.
     * @param options Services to start
     * @returns Start operation results
     */
    start({ services, }: {
        services: {
            id: string;
        }[];
    }): Promise<ResponsePostV1VmsVmIdSystemdStart200>;
    /**
     * Stop one or more systemd services.
     * @param options Services to stop
     * @returns Stop operation results
     */
    stop({ services, }: {
        services: {
            id: string;
        }[];
    }): Promise<ResponsePostV1VmsVmIdSystemdStop200>;
    /**
     * Restart one or more systemd services.
     * @param options Services to restart
     * @returns Restart operation results
     */
    restart({ services, }: {
        services: {
            id: string;
        }[];
    }): Promise<ResponsePostV1VmsVmIdSystemdRestart200>;
    /**
     * Get a reference to a single service for convenience methods.
     * @param serviceId The service ID
     * @returns A SystemdService instance
     */
    service(serviceId: string): SystemdService;
}

/**
 * Base class for VM instance extensions that provide interaction methods.
 * This is the instance attached to the VM after creation.
 */
declare class VmWithInstance {
    vm: Vm;
    private _init;
}
interface VmWithLike<TInstance = unknown, TAddedFields extends Record<string, VmWithLike<any, any, any>> = {}, TDefaultField extends string = string> {
    instance: TInstance;
    readonly defaultField?: TDefaultField;
    configure?(existingConfig: any): any;
    configureSpec?(spec: any): any;
    configureSnapshotSpec?(spec: any): any;
    configureBaseImage?(image: any): any;
    configureTemplate?(template: any): any;
    configureNestedTemplate?(template: any): any;
    createInstance(): TInstance;
}
type VmWithDefaultField<B extends VmWithLike> = B extends {
    defaultField?: infer TDefaultField;
} ? Extract<TDefaultField, string> extends never ? string : Extract<TDefaultField, string> : string;
type VmWithDefaultFieldRecord<B extends VmWithLike> = Record<VmWithDefaultField<B>, B>;
type VmWithAddedFields<B extends VmWithLike> = B extends VmWith<any, infer TAddedFields, any> ? TAddedFields : {};
/**
 * Base class for VM configuration builders that act as middleware.
 * Extend this class to create reusable VM components like DevServer, Database, etc.
 *
 * The builder pattern works like middleware:
 * 1. Takes in existing VM configuration
 * 2. Applies its own configuration
 * 3. Returns merged configuration
 */
declare abstract class VmWith<TInstance = VmWithInstance, TAddedFields extends Record<string, VmWithLike<any, any, any>> = {}, TDefaultField extends string = string> {
    instance: TInstance;
    readonly defaultField?: TDefaultField;
    protected readonly _addedFields?: TAddedFields;
    /**
     * @deprecated Use configureSpec instead.
     * Transform the VM configuration by applying this component's config.
     * Acts as middleware - receives existing config, returns transformed config.
     *
     * @param existingConfig - The current VM configuration
     * @returns The transformed VM configuration with this component's changes applied
     */
    configure?(existingConfig: CreateVmOptions): CreateVmOptions | Promise<CreateVmOptions>;
    /**
     * Configure the spec that this VmWith is directly attached to.
     * Override this to modify the parent spec's configuration.
     *
     * @param spec - The VmSpec this VmWith is attached to
     * @returns The transformed VmSpec with this component's changes applied
     */
    configureSpec?(spec: VmSpec): VmSpec | Promise<VmSpec>;
    /**
     * Configure the snapshot spec inside the current spec.
     * If no snapshot spec exists, one will be created.
     * Override this to modify the inner snapshot layer's configuration.
     *
     * @param spec - The snapshot VmSpec (created if it doesn't exist)
     * @returns The transformed snapshot VmSpec with this component's changes applied
     */
    configureSnapshotSpec?(spec: VmSpec): VmSpec | Promise<VmSpec>;
    /**
     * Configure the base image for the layer this VmWith is attached to.
     * Override this to add packages, files, or other image-level setup.
     *
     * @param image - The VmBaseImage for this layer
     * @returns The transformed base image for this layer
     */
    configureBaseImage?(image: VmBaseImage): VmBaseImage | Promise<VmBaseImage>;
    /**
     * @deprecated Use configureSpec instead
     * Configure the template that this VmWith is directly attached to.
     * Override this to modify the parent template's configuration.
     *
     * @param template - The VmTemplate this VmWith is attached to
     * @returns The transformed VmTemplate with this component's changes applied
     */
    configureTemplate?(template: VmTemplate): VmTemplate | Promise<VmTemplate>;
    /**
     * @deprecated Use configureSnapshotSpec instead
     * Configure the nested template inside the current template.
     * If no nested template exists, one will be created.
     * Override this to modify the inner template layer's configuration.
     *
     * @param template - The nested VmTemplate (created if it doesn't exist)
     * @returns The transformed nested VmTemplate with this component's changes applied
     */
    configureNestedTemplate?(template: VmTemplate): VmTemplate | Promise<VmTemplate>;
    /**
     * Create an instance of this component that will be attached to the VM.
     * Override this to provide custom interaction methods for your component.
     *
     * @returns A new instance that will be attached to the VM
     */
    abstract createInstance(): TInstance;
    /**
     * Helper method to compose multiple configurations together.
     * Uses the same merging strategy as the main compose function.
     */
    protected compose(...configs: CreateVmOptions[]): CreateVmOptions;
    /**
     * Helper method to compose multiple VmSpecs together.
     * Uses the same merging strategy as the main compose function.
     * Useful in configureSpec and configureSnapshotSpec methods.
     */
    protected composeSpecs(...specs: VmSpec[]): VmSpec;
    /**
     * @deprecated Use composeSpecs instead
     * Helper method to compose multiple VmTemplates together.
     * Uses the same merging strategy as the main compose function.
     * Useful in configureTemplate and configureNestedTemplate methods.
     */
    protected composeTemplates(...templates: VmTemplate[]): VmTemplate;
    /**
     * @deprecated This method is no longer needed. Use vms.get with allowedSpecs instead.
     */
    configureReturnedVm(vm: Vm, template: VmTemplate): Promise<void>;
}
declare const VmService: typeof VmWith;
declare const VmBuilder: typeof VmWith;

type BuildState = "pending" | "running" | "succeeded" | "failed";
interface BuildRecord {
    buildId: string;
    accountId: string;
    requestId?: string | null;
    state: BuildState;
    templateHash?: string | null;
    failureReason?: string | null;
    plannedPhases: string[];
    startedAt: string;
    finishedAt?: string | null;
    updatedAt: string;
}
interface BuildPhase {
    phaseId: string;
    buildId: string;
    name: string;
    snapshotId?: string | null;
    startedAt: string;
}
/**
 * A handle to a build record, reachable via `vm.getBuild()` or
 * `snapshot.getBuild()`. There is no top-level `freestyle.builds` namespace
 * because builds always belong to a VM or a snapshot — start there.
 */
declare class Build {
    readonly buildId: string;
    /** Fetch the latest build record. */
    get(): Promise<BuildRecord>;
    /** List the phases that have run so far for this build. */
    phases(): Promise<BuildPhase[]>;
    /**
     * Poll until the build reaches a terminal state.
     * @param opts.intervalMs poll interval (default 2000)
     * @param opts.timeoutMs absolute timeout (default 10 minutes)
     */
    wait(opts?: {
        intervalMs?: number;
        timeoutMs?: number;
    }): Promise<BuildRecord>;
    /**
     * Find the phase whose snapshot is the failed/debug snapshot, if the build
     * has failed. Returns the phase + its snapshotId, or null when the build
     * either succeeded or has no failed-state snapshot pinned to a phase.
     */
    failedPhase(): Promise<(BuildPhase & {
        snapshotId: string;
    }) | null>;
}

type RawBaseImage = {
    dockerfileContent: string;
};
/**
 * Docker registry credentials for pulling private images.
 */
type DockerCredentials = NonNullable<PostV1VmsRequestBody["dockerCredentials"]>;
/**
 * The raw systemd service type from the generated API
 */
type RawSystemdService = NonNullable<NonNullable<PostV1VmsRequestBody["systemd"]>["services"]>[number];
/**
 * Extended systemd service input type that supports bash scripts and defaults mode to "service".
 *
 * When using `bash`, the script content will be written to a file and executed.
 * The `exec` field is optional when `bash` is provided.
 */
type SystemdServiceInput = Omit<RawSystemdService, "mode" | "exec"> & {
    /**
     * "oneshot" (run and exit) or "service" (long-running/healing).
     * Defaults to "service" if not specified.
     */
    mode?: "oneshot" | "service";
    /**
     * Executable to run (can specify multiple commands that run sequentially).
     * Optional when `bash` is provided.
     */
    exec?: string[];
    /**
     * Bash script content. When provided, the script will be written to a file
     * (at /opt/freestyle/scripts/<name>.sh) and executed. This is a convenience
     * alternative to using `exec` with `additionalFiles`.
     */
    bash?: string;
};
type VmWaitForConfig = Partial<Omit<SystemdServiceInput, "mode" | "exec" | "bash" | "deleteAfterSuccess"> & {
    intervalSeconds?: number;
}>;
type BackgroundRequestLogger = (message: string) => void;
type SnapshotCreateOptions<T extends Record<string, VmWithLike> = {}> = Omit<PostV1VmsSnapshotsRequestBody, "template" | "spec" | "snapshot"> & {
    template?: VmTemplate<T> | PostV1VmsSnapshotsRequestBody["template"];
    spec?: VmSpec<T>;
    snapshot?: VmSpec<T>;
    logger?: BackgroundRequestLogger;
};
type SnapshotDeleteResponse = {
    snapshotId: string;
};
/**
 * Terminal management operations for a VM.
 */
declare class VmTerminals {
    private vm;
    private vmId;
    private client;
    constructor({ vmId, client }: {
        vmId: string;
        client: ApiClient;
    });
    /**
     * List all terminals in the VM.
     * @returns Array of terminal information
     */
    list(): Promise<ResponseGetV1VmsVmIdTerminals200>;
    /**
     * Get logs from a specific terminal.
     * @param terminalId The ID of the terminal
     * @returns Terminal log entries
     */
    getLogs({ terminalId }: {
        terminalId: string;
    }): Promise<ResponseGetV1VmsVmIdTerminalsTerminalIdLogs200>;
    /**
     * Get xterm-256color output from a specific terminal.
     * @param terminalId The ID of the terminal
     * @returns Terminal output
     */
    getOutput({ terminalId }: {
        terminalId: string;
    }): Promise<ResponseGetV1VmsVmIdTerminalsTerminalIdXterm_256Color200>;
}
/**
 * Represents a Freestyle VM instance.
 */
declare class Vm {
    private get apiClient();
    readonly vmId: string;
    readonly fs: FileSystem;
    readonly terminals: VmTerminals;
    readonly systemd: Systemd;
    private readonly _withInstances;
    constructor({ vmId, freestyle }: {
        vmId: string;
        freestyle: Freestyle;
    });
    /**
     * Get the current state and metadata of the VM.
     * @returns VM state information
     */
    getInfo(): Promise<ResponseGetV1VmsVmId200>;
    /**
     * Get observability logs for this VM.
     */
    getLogs(options?: Omit<GetLogsOptions, "vmId">): Promise<ResponseGetObservabilityV1Logs200>;
    /**
     * Fetch the build record that produced this VM. Returns a `Build` handle —
     * call `.get()` for the record, `.phases()` for the per-phase breakdown.
     */
    getBuild(): Promise<Build>;
    user({ username }: {
        username: string;
    }): Vm;
    with<T = unknown>(name: string): T;
    /**
     * Start the VM.
     * @param options Optional startup configuration
     * @returns Start response with VM information
     */
    start({ ...options }?: PostV1VmsVmIdStartRequestBody): Promise<ResponsePostV1VmsVmIdStart200>;
    /**
     * Stop the VM gracefully.
     * @returns Stop response
     */
    stop(): Promise<ResponsePostV1VmsVmIdStop200>;
    /**
     * Suspend the VM to disk.
     * @returns Suspend response
     */
    suspend(): Promise<ResponsePostV1VmsVmIdSuspend200>;
    /**
     * Kill the VM immediately.
     * @returns Kill response
     */
    kill(): Promise<ResponsePostV1VmsVmIdKill200>;
    /**
     * Wait for the VM to exit.
     * @returns Await response with exit information
     */
    waitForExit(): Promise<ResponsePostV1VmsVmIdAwait200>;
    /**
     * Create a snapshot of the VM.
     *
     * @param body Optional snapshot configuration
     * @returns Snapshot ID and Source VM ID
     */
    snapshot(body?: PostV1VmsVmIdSnapshotRequestBody): Promise<ResponsePostV1VmsVmIdSnapshot200>;
    /**
     * Execute a command in the VM and wait for it to complete.
     * @param command The command to execute
     * @param terminal Optional terminal ID
     * @param timeoutMs Optional timeout in milliseconds
     * @returns Execution result with stdout/stderr
     */
    exec(options: {
        command: string;
        terminal?: string;
        timeoutMs?: number;
    } | string): Promise<ResponsePostV1VmsVmIdExecAwait200>;
    /**
     * Fork (clone) the VM.
     * @param options Optional fork configuration
     * @returns A new VM instance representing the forked VM
     */
    fork({ ...options }?: PostV1VmsVmIdForkRequestBody): Promise<{
        forks: {
            vmId: string;
            vm: Vm;
        }[];
    }>;
    /**
     * Optimize the VM (compact memory/disk).
     * @returns Optimization response
     */
    optimize(): Promise<ResponsePostV1VmsVmIdOptimize200>;
    /**
     * Resize the VM's CPU, memory, and root filesystem.
     * @returns Resize response
     */
    resize(options: {
        cpu?: number;
        memory?: number;
        storage?: number;
    }): Promise<ResponsePostV1VmsIdResize200>;
    /**
     * Create a VM instance by ID without making an api call.
     */
    ref({ vmId }: {
        vmId: string;
    }): Vm;
    delete(): Promise<ResponseDeleteV1VmsVmId200>;
}
/**
 * Git configuration with optional config (defaults to {})
 */
type GitOptions = Omit<NonNullable<NonNullable<CreateSnapshotRequest["template"]>["git"]>, "config"> & {
    config?: NonNullable<NonNullable<CreateSnapshotRequest["template"]>["git"]>["config"];
};
/**
 * Template options with SystemdServiceInput support and optional git.config.
 *
 * `CreateSnapshotRequest["template"]` is `null | undefined | { ... }`; piping
 * a nullable union through `Omit` collapses `keyof` to `never` and strips
 * every property, so we `NonNullable` first to keep field types intact.
 */
type TemplateOptions = Omit<NonNullable<CreateSnapshotRequest["template"]>, "systemd" | "git" | "baseImage"> & {
    template?: VmTemplate<Record<string, VmWithLike>>;
    baseImage?: VmBaseImage | RawBaseImage | null;
    systemd?: null | {
        services?: SystemdServiceInput[] | null;
        patchedServices?: NonNullable<NonNullable<CreateSnapshotRequest["template"]>["systemd"]>["patchedServices"];
    };
    git?: null | GitOptions;
};
declare class VmBaseImage {
    private layers;
    constructor(base?: string | RawBaseImage);
    from(baseImage: VmBaseImage | RawBaseImage | string): this;
    runCommands(...commands: string[]): this;
    appendDockerfile(dockerfile: string): this;
    hasFromInstruction(): boolean;
    toRaw(): RawBaseImage;
}
declare class VmTemplate<T extends Record<string, VmWithLike> = {}> {
    raw: TemplateOptions;
    readonly with: Partial<T>;
    constructor(template: TemplateOptions & {
        with?: Partial<T>;
    });
}
type VmSpecOptions = TemplateOptions & {
    snapshot?: VmSpec;
};
type VmSpecWithFn<T extends Record<string, VmWithLike>> = {
    <K extends string, B extends VmWithLike>(name: K, builder: B): VmSpec<T & Record<K, B> & VmWithAddedFields<B>>;
    <B extends VmWithLike>(builder: B): VmSpec<T & Record<VmWithDefaultField<B>, B> & VmWithAddedFields<B>>;
} & Partial<T>;
declare class VmSpec<T extends Record<string, VmWithLike> = {}> {
    raw: VmSpecOptions;
    readonly with: VmSpecWithFn<T>;
    private withDiscriminators;
    get builders(): Partial<T>;
    constructor(spec?: never);
    getBuilderDiscriminator(key: string): string | undefined;
    getBuilderDiscriminators(): Record<string, string | undefined>;
    private mergeRaw;
    private clearBuilders;
    snapshot(): this;
    ensureSnapshot(): VmSpec;
    baseImage(baseImage: VmBaseImage | RawBaseImage): this;
    snapshotId(value: NonNullable<CreateVmOptions["snapshotId"]>): this;
    rootfsSizeGb(value: number): this;
    memSizeGb(value: number): this;
    vcpuCount(value: number): this;
    idleTimeoutSeconds(value: number): this;
    readySignalTimeoutSeconds(value: number): this;
    waitForReadySignal(value: boolean): this;
    discriminator(value: string): this;
    skipCache(): this;
    workdir(path: string): this;
    aptDeps(...deps: string[]): this;
    users(users: NonNullable<CreateVmOptions["users"]>): this;
    groups(groups: NonNullable<CreateVmOptions["groups"]>): this;
    additionalFiles(files: NonNullable<CreateVmOptions["additionalFiles"]>): this;
    runCommands(...commands: string[]): this;
    waitFor(command: string, config?: VmWaitForConfig): this;
    repo(repo: string, path: string): this;
    systemdService(service: SystemdServiceInput): this;
}
declare const SPEC_BACKED_CREATE_OPTION_KEYS: readonly ["template", "snapshot", "workdir", "ports", "systemd", "aptDeps", "discriminator", "skipCache"];
type SpecBackedCreateOptionKey = (typeof SPEC_BACKED_CREATE_OPTION_KEYS)[number];
type VmsCreateOptions = Omit<CreateVmOptions, SpecBackedCreateOptionKey | "spec">;
declare class VmsNamespace {
    private freestyle;
    readonly snapshots: VmSnapshotsNamespace;
    constructor(freestyle: Freestyle);
    /**
     * Create a new VM.
     * @param options Optional VM configuration
     * @returns A VM instance representing the created VM
     */
    create(): Promise<Omit<ResponsePostV1Vms200, "consoleUrl"> & {
        vmId: string;
        vm: Vm;
        domains: string[];
    }>;
    create<T extends Record<string, VmWithLike>>(spec: VmSpec<T>): Promise<Omit<ResponsePostV1Vms200, "consoleUrl"> & {
        vmId: string;
        vm: Vm & {
            [K in keyof T]: ReturnType<T[K]["createInstance"]>;
        };
        domains: string[];
    }>;
    create<T extends Record<string, VmWithLike>>(options: VmsCreateOptions & {
        with?: T;
        spec?: VmSpec<T>;
        logger?: BackgroundRequestLogger;
    }): Promise<Omit<ResponsePostV1Vms200, "consoleUrl"> & {
        vmId: string;
        vm: Vm & {
            [K in keyof T]: ReturnType<T[K]["createInstance"]>;
        };
        domains: string[];
    }>;
    /**
     * List all VMs.
     * @returns List of VMs with their states and metadata
     */
    list(): Promise<ResponseGetV1Vms200>;
    /**
     * Get VM by ID.
     * @param vmId The ID of the VM
     * @param spec Optional spec to attach builders to the returned VM
     * @returns The VM instance configured with builders from the spec
     */
    get<T extends Record<string, VmWithLike>>({ vmId, spec, }: {
        vmId: string;
        spec?: VmSpec<T>;
    }): Promise<{
        vm: Vm & {
            [K in keyof T]: ReturnType<T[K]["createInstance"]>;
        };
        spec?: VmSpec<T>;
    }>;
    /**
     * Create a VM instance by ID without making an api call.
     */
    ref<T extends Record<string, VmWithLike>>({ vmId, spec, }: {
        vmId: string;
        spec?: VmSpec<T>;
    }): Vm & {
        [K in keyof T]: ReturnType<T[K]["createInstance"]>;
    };
    delete({ vmId }: {
        vmId: string;
    }): Promise<ResponseDeleteV1VmsVmId200>;
}
declare class VmSnapshotsNamespace {
    private apiClient;
    constructor(apiClient: ApiClient);
    ensure<T extends Record<string, VmWithLike>>(options: SnapshotCreateOptions<T>): Promise<ResponsePostV1VmsSnapshots200>;
    create<T extends Record<string, VmWithLike>>(options: SnapshotCreateOptions<T>): Promise<ResponsePostV1VmsSnapshots200>;
    delete({ snapshotId }: {
        snapshotId: string;
    }): Promise<SnapshotDeleteResponse>;
    /**
     * List snapshots. By default omits deleted, includes failed/building.
     */
    list(opts?: {
        includeDeleted?: boolean;
        includeFailed?: boolean;
        includeBuilding?: boolean;
        includeCancelled?: boolean;
        includeLost?: boolean;
    }): Promise<ResponseGetV1VmsSnapshots200>;
    /** Construct a `Snapshot` handle from a known snapshot ID. */
    ref({ snapshotId }: {
        snapshotId: string;
    }): Snapshot;
    /** Convenience: fetch the snapshot record. Equivalent to `ref(...).get()`. */
    get({ snapshotId }: {
        snapshotId: string;
    }): Promise<{
        snapshotId: string;
        sourceVmId: string;
        accountId?: null | string;
        createdAt: string;
        name?: string | null;
        failed: boolean;
        failureReason?: string | null;
        deleted: boolean;
        snapshotPersistence: {
            priority?: number | null;
            type: "sticky";
        } | {
            type: "persistent";
        };
        vcpuCount?: number | null;
        memSizeMib?: number | null;
        rootfsSizeMb?: number | null;
    }>;
}
/**
 * A handle to a single snapshot. Construct via
 * `freestyle.vms.snapshots.ref({ snapshotId })` or get one back from
 * `freestyle.vms.snapshots.list()`.
 */
declare class Snapshot {
    readonly snapshotId: string;
    /** Fetch the latest snapshot record. */
    get(): Promise<{
        snapshotId: string;
        sourceVmId: string;
        accountId?: null | string;
        createdAt: string;
        name?: string | null;
        failed: boolean;
        failureReason?: string | null;
        deleted: boolean;
        snapshotPersistence: {
            priority?: number | null;
            type: "sticky";
        } | {
            type: "persistent";
        };
        vcpuCount?: number | null;
        memSizeMib?: number | null;
        rootfsSizeMb?: number | null;
    }>;
    /** Rename the snapshot. */
    update({ name }: {
        name: string;
    }): Promise<void>;
    /** Delete the snapshot. */
    delete(): Promise<SnapshotDeleteResponse>;
    /**
     * Fetch the build record that produced this snapshot. Returns a `Build`
     * handle. Throws if the snapshot has no `buildId` (legacy rows or
     * snapshots that pre-date the build-tracking feature).
     */
    getBuild(): Promise<Build>;
}
type CreateVmOptions = Omit<PostV1VmsRequestBody, "template" | "systemd" | "git"> & {
    nics?: VmNetworkInterface[] | null;
    rootfsSizeGb?: number | null;
    memSizeGb?: number | null;
    vcpuCount?: number | null;
    baseImage?: VmBaseImage | RawBaseImage | null;
    template?: VmTemplate | (PostV1VmsRequestBody["template"] & {
        baseImage?: VmBaseImage | RawBaseImage | null;
    });
    systemd?: null | {
        services?: SystemdServiceInput[] | null;
        patchedServices?: NonNullable<NonNullable<PostV1VmsRequestBody["systemd"]>["patchedServices"]>;
    };
    git?: null | GitOptions;
    discriminator?: NonNullable<CreateSnapshotRequest["template"]>["discriminator"];
    skipCache?: NonNullable<CreateSnapshotRequest["template"]>["skipCache"];
    logger?: BackgroundRequestLogger;
};
type VmNetworkInterface = {
    default?: boolean;
    vpc: string;
    mode: "routed";
    ipv4: string | true;
};

type CronSchedule = {
    id: string;
    accountId: string;
    deploymentId?: string | null;
    runConfig?: CronRunConfig | null;
    name?: string | null;
    path?: string | null;
    cron: string;
    timezone: string;
    retries: number;
    payload: unknown;
    active: boolean;
    createdAt: string;
    updatedAt: string;
};
type CronExecutionStatus = "queued" | "running" | "succeeded" | "failed" | "retry";
type CronExecution = {
    id: string;
    scheduleId: string;
    deploymentId?: string | null;
    runAt: string;
    status: CronExecutionStatus;
    attempts: number;
    maxAttempts: number;
    lockedAt?: string | null;
    lockOwner?: string | null;
    lastError?: string | null;
    instanceId?: string | null;
    createdAt: string;
    updatedAt: string;
};
type CronRunConfig = {
    code: string;
} & PostExecuteV3ScriptRequestBody["config"] & {
    egress?: EgressConfig;
};
type CreateCronJobParams = {
    deploymentId?: string;
    run?: CronRunConfig;
    name?: string;
    cron: string;
    timezone?: string;
    retries?: number;
    payload?: unknown;
    path?: string;
};
declare class CronNamespace {
    private apiClient;
    constructor(apiClient: ApiClient);
    /**
     * Create a cron schedule.
     */
    schedule({ deploymentId, run, name, cron, timezone, retries, payload, path, }: CreateCronJobParams): Promise<{
        job: CronJob;
    }>;
    /**
     * List cron schedules.
     */
    list({ deploymentId, }?: {
        deploymentId?: string;
    }): Promise<{
        jobs: CronJob[];
    }>;
}
declare class CronJob {
    #private;
    readonly schedule: CronSchedule;
    constructor({ apiClient, schedule, }: {
        apiClient: ApiClient;
        schedule: CronSchedule;
    });
    /**
     * Update this cron schedule.
     */
    update(params: {
        deploymentId?: string;
        run?: CronRunConfig;
        name?: string;
        cron?: string;
        timezone?: string;
        retries?: number;
        payload?: unknown;
        path?: string;
        active?: boolean;
    }): Promise<void>;
    /**
     * Enable this cron schedule.
     */
    enable(): Promise<void>;
    /**
     * Disable this cron schedule.
     */
    disable(): Promise<void>;
    /**
     * List executions for this cron schedule.
     */
    executions({ limit, cursor, }?: {
        limit?: number;
        cursor?: string;
    }): Promise<{
        executions: CronExecution[];
        nextCursor?: string;
        totalCount?: number;
    }>;
    /**
     * Get execution success rate for this schedule within a time range.
     */
    successRate({ start, end, }: {
        start: string | Date;
        end: string | Date;
    }): Promise<{
        total: number;
        succeeded: number;
        failed: number;
        successRate: number;
        start: string;
        end: string;
    }>;
}

type CreateVpcOptions = {
    cidr?: string;
    name?: string;
};
type CreateVpcResponse = {
    vpcId: string;
    vpc: VpcHandle;
};
type ConfigureVpcWireGuardPeerOptions = {
    gatewayVmId: string;
    clientPublicKey: string;
};
type ConfigureVpcWireGuardPeerResponse = {
    vpcId: string;
    gatewayVmId: string;
    endpointHost?: string;
    endpointPort: number;
    listenPort: number;
    interfaceName: string;
    serverPublicKey: string;
    serverTunnelIp: string;
    clientTunnelIp: string;
    vpcCidr: string;
    clientConfig: string;
};
type CreateVpcWireGuardEphemeralOptions = Record<string, never>;
type CreateVpcWireGuardEphemeralResponse = {
    vpcId: string;
    sessionId: string;
    endpointHost?: string;
    endpointPort: number;
    listenPort: number;
    interfaceName: string;
    serverPublicKey: string;
    clientPublicKey: string;
    clientPrivateKey?: string;
    serverTunnelIp: string;
    clientTunnelIp: string;
    vpcIp: string;
    clientAllowedIps: string[];
    vpcCidr: string;
    clientConfig: string;
};
type VpcWireGuardEphemeralConnection = CreateVpcWireGuardEphemeralResponse & {
    close(): Promise<void>;
};
type DeleteVpcWireGuardEphemeralOptions = {
    sessionId: string;
};
declare class VpcWireGuardNamespace {
    private apiClient;
    private vpcId;
    constructor(apiClient: ApiClient, vpcId: string);
    createEphemeral(options?: CreateVpcWireGuardEphemeralOptions): Promise<VpcWireGuardEphemeralConnection>;
    deleteEphemeral(options: DeleteVpcWireGuardEphemeralOptions): Promise<void>;
}
declare class VpcHandle {
    private apiClient;
    readonly vpcId: string;
    readonly wireguard: VpcWireGuardNamespace;
    constructor(apiClient: ApiClient, vpcId: string);
}
declare class VpcNamespace {
    private apiClient;
    constructor(apiClient: ApiClient);
    create(options?: CreateVpcOptions): Promise<CreateVpcResponse>;
    configureWireGuardPeer(vpcId: string, options: ConfigureVpcWireGuardPeerOptions): Promise<ConfigureVpcWireGuardPeerResponse>;
}

declare function readFiles(directory: string): Promise<{
    content: string;
    path: string;
    encoding: string;
}[]>;

type DebugCreateApiRequest = {
    path: "/v1/vms/snapshots" | "/v1/vms";
    body: unknown;
};
/**
 * Simulate what the SDK would POST during `freestyle.vms.create(...)` and
 * return all request bodies in execution order without network calls.
 */
declare function debugCreateRequests<T extends Record<string, VmWith>>(freestyle: Freestyle, spec: VmSpec<T>): Promise<DebugCreateApiRequest[]>;
declare function debugCreateRequests<T extends Record<string, VmWith>>(freestyle: Freestyle, options: VmsCreateOptions & {
    with?: T;
    spec?: VmSpec<T>;
}): Promise<DebugCreateApiRequest[]>;

type FreestyleOptions = ApiClientConfig;
declare class Freestyle {
    readonly domains: DomainsNamespace;
    readonly git: GitNamespace;
    readonly identities: IdentitiesNamespace;
    readonly dns: DnsNamespace;
    readonly serverless: ServerlessNamespace;
    readonly vms: VmsNamespace;
    readonly cron: CronNamespace;
    readonly observability: ObservabilityNamespace;
    readonly vpc: VpcNamespace;
    constructor(options?: FreestyleOptions);
    /**
     * Returns information about the currently authenticated user or identity.
     */
    whoami(): Promise<{
        accountId: string;
        identityId?: string;
    }>;
    /**
     * Helper method to make raw fetch requests to the API.
     */
    fetch(path: string, init?: RequestInit): Promise<Response>;
}
/**
 * Default lazy-initialized Freestyle client that uses environment variables.
 * This will only throw an error if you try to use it without setting FREESTYLE_API_KEY.
 */
declare const freestyle: Freestyle;

export { Build, CronNamespace, Deployment, errors as Errors, FileSystem, Freestyle, GitRepo, Identity, ObservabilityNamespace, requests as Requests, responses as Responses, Snapshot, Systemd, SystemdService, Vm, VmBaseImage, VmBuilder, VmService, VmSpec, VmTemplate, VmWith, VmWithInstance, VpcNamespace, debugCreateRequests, freestyle, readFiles };
export type { BackgroundRequestLogger, BuildPhase, BuildRecord, BuildState, CreateVmOptions, CreateVpcOptions, CronSchedule, DockerCredentials, EgressAllowRules, EgressConfig, EgressDenyRules, EgressDomainConfig, EgressIpConfig, EgressTransform, FreestyleOptions, GetLogsOptions, GitCommitSearchEntry, GitCommitSearchResult, GitDiffFileMatch, GitDiffLineMatch, GitDiffSearchCommit, GitDiffSearchResult, GitFilenameEntry, GitFilenameSearchResult, GitSearchFileResult, GitSearchLineMatch, GitSearchResult, ObservabilityLogEntry, StreamLogsOptions, SystemdServiceInput, VmWaitForConfig, VmWithDefaultFieldRecord, VmsCreateOptions };
