/**
 * Cloudflare PAGES API
 *
 * Generated from Cloudflare TypeScript SDK.
 * DO NOT EDIT - regenerate with: bun scripts/generate.ts --service pages
 */
import * as Schema from "effect/Schema";
import type * as HttpClient from "effect/unstable/http/HttpClient";
import * as API from "../client/api.ts";
import type { Credentials } from "../credentials.ts";
import { type DefaultErrors } from "../errors.ts";
export interface PurgeBuildCacheProjectRequest {
    projectName: string;
    /** Identifier. */
    accountId: string;
}
export declare const PurgeBuildCacheProjectRequest: Schema.Schema<PurgeBuildCacheProjectRequest>;
export type PurgeBuildCacheProjectResponse = unknown;
export declare const PurgeBuildCacheProjectResponse: Schema.Schema<PurgeBuildCacheProjectResponse>;
export type PurgeBuildCacheProjectError = DefaultErrors;
export declare const purgeBuildCacheProject: API.OperationMethod<PurgeBuildCacheProjectRequest, PurgeBuildCacheProjectResponse, PurgeBuildCacheProjectError, Credentials | HttpClient.HttpClient>;
export interface GetProjectRequest {
    projectName: string;
    /** Identifier. */
    accountId: string;
}
export declare const GetProjectRequest: Schema.Schema<GetProjectRequest>;
export interface GetProjectResponse {
    /** ID of the project. */
    id: string;
    /** Most recent production deployment of the project. */
    canonicalDeployment: {
        id: string;
        aliases: string[] | null;
        buildConfig: {
            webAnalyticsTag: string | null;
            webAnalyticsToken: string | null;
            buildCaching?: boolean | null;
            buildCommand?: string | null;
            destinationDir?: string | null;
            rootDir?: string | null;
        };
        createdOn: string;
        deploymentTrigger: {
            metadata: {
                branch: string;
                commitDirty: boolean;
                commitHash: string;
                commitMessage: string;
            };
            type: "github:push" | "ad_hoc" | "deploy_hook";
        };
        envVars: Record<string, unknown> | null;
        environment: "preview" | "production";
        isSkipped: boolean;
        latestStage: {
            endedOn: string | null;
            name: "queued" | "initialize" | "clone_repo" | "build" | "deploy";
            startedOn: string | null;
            status: "success" | "idle" | "active" | "failure" | "canceled";
        };
        modifiedOn: string;
        projectId: string;
        projectName: string;
        shortId: string;
        source: {
            config: {
                deploymentsEnabled: boolean;
                owner: string;
                ownerId: string;
                pathExcludes: string[];
                pathIncludes: string[];
                prCommentsEnabled: boolean;
                previewBranchExcludes: string[];
                previewBranchIncludes: string[];
                previewDeploymentSetting: "all" | "none" | "custom";
                productionBranch: string;
                productionDeploymentsEnabled: boolean;
                repoId: string;
                repoName: string;
            };
            type: "github" | "gitlab";
        };
        stages: {
            endedOn: string | null;
            name: "queued" | "initialize" | "clone_repo" | "build" | "deploy";
            startedOn: string | null;
            status: "success" | "idle" | "active" | "failure" | "canceled";
        }[];
        url: string;
        usesFunctions?: boolean | null;
    } | null;
    /** When the project was created. */
    createdOn: string;
    /** Configs for deployments in a project. */
    deploymentConfigs: {
        preview: {
            alwaysUseLatestCompatibilityDate: boolean;
            buildImageMajorVersion: number;
            compatibilityDate: string;
            compatibilityFlags: string[];
            envVars: Record<string, unknown> | null;
            failOpen: boolean;
            usageModel: "standard" | "bundled" | "unbound";
            aiBindings?: Record<string, unknown> | null;
            analyticsEngineDatasets?: Record<string, unknown> | null;
            browsers?: Record<string, unknown> | null;
            d1Databases?: Record<string, unknown> | null;
            durableObjectNamespaces?: Record<string, unknown> | null;
            hyperdriveBindings?: Record<string, unknown> | null;
            kvNamespaces?: Record<string, unknown> | null;
            limits?: {
                cpuMs: number;
            } | null;
            mtlsCertificates?: Record<string, unknown> | null;
            placement?: {
                mode: string;
            } | null;
            queueProducers?: Record<string, unknown> | null;
            r2Buckets?: Record<string, unknown> | null;
            services?: Record<string, unknown> | null;
            vectorizeBindings?: Record<string, unknown> | null;
            wranglerConfigHash?: string | null;
        };
        production: {
            alwaysUseLatestCompatibilityDate: boolean;
            buildImageMajorVersion: number;
            compatibilityDate: string;
            compatibilityFlags: string[];
            envVars: Record<string, unknown> | null;
            failOpen: boolean;
            usageModel: "standard" | "bundled" | "unbound";
            aiBindings?: Record<string, unknown> | null;
            analyticsEngineDatasets?: Record<string, unknown> | null;
            browsers?: Record<string, unknown> | null;
            d1Databases?: Record<string, unknown> | null;
            durableObjectNamespaces?: Record<string, unknown> | null;
            hyperdriveBindings?: Record<string, unknown> | null;
            kvNamespaces?: Record<string, unknown> | null;
            limits?: {
                cpuMs: number;
            } | null;
            mtlsCertificates?: Record<string, unknown> | null;
            placement?: {
                mode: string;
            } | null;
            queueProducers?: Record<string, unknown> | null;
            r2Buckets?: Record<string, unknown> | null;
            services?: Record<string, unknown> | null;
            vectorizeBindings?: Record<string, unknown> | null;
            wranglerConfigHash?: string | null;
        };
    };
    /** Framework the project is using. */
    framework: string;
    /** Version of the framework the project is using. */
    frameworkVersion: string;
    /** Most recent deployment of the project. */
    latestDeployment: {
        id: string;
        aliases: string[] | null;
        buildConfig: {
            webAnalyticsTag: string | null;
            webAnalyticsToken: string | null;
            buildCaching?: boolean | null;
            buildCommand?: string | null;
            destinationDir?: string | null;
            rootDir?: string | null;
        };
        createdOn: string;
        deploymentTrigger: {
            metadata: {
                branch: string;
                commitDirty: boolean;
                commitHash: string;
                commitMessage: string;
            };
            type: "github:push" | "ad_hoc" | "deploy_hook";
        };
        envVars: Record<string, unknown> | null;
        environment: "preview" | "production";
        isSkipped: boolean;
        latestStage: {
            endedOn: string | null;
            name: "queued" | "initialize" | "clone_repo" | "build" | "deploy";
            startedOn: string | null;
            status: "success" | "idle" | "active" | "failure" | "canceled";
        };
        modifiedOn: string;
        projectId: string;
        projectName: string;
        shortId: string;
        source: {
            config: {
                deploymentsEnabled: boolean;
                owner: string;
                ownerId: string;
                pathExcludes: string[];
                pathIncludes: string[];
                prCommentsEnabled: boolean;
                previewBranchExcludes: string[];
                previewBranchIncludes: string[];
                previewDeploymentSetting: "all" | "none" | "custom";
                productionBranch: string;
                productionDeploymentsEnabled: boolean;
                repoId: string;
                repoName: string;
            };
            type: "github" | "gitlab";
        };
        stages: {
            endedOn: string | null;
            name: "queued" | "initialize" | "clone_repo" | "build" | "deploy";
            startedOn: string | null;
            status: "success" | "idle" | "active" | "failure" | "canceled";
        }[];
        url: string;
        usesFunctions?: boolean | null;
    } | null;
    /** Name of the project. */
    name: string;
    /** Name of the preview script. */
    previewScriptName: string;
    /** Production branch of the project. Used to identify production deployments. */
    productionBranch: string;
    /** Name of the production script. */
    productionScriptName: string;
    /** Whether the project uses functions. */
    usesFunctions: boolean | null;
    /** Configs for the project build process. */
    buildConfig?: {
        webAnalyticsTag: string | null;
        webAnalyticsToken: string | null;
        buildCaching?: boolean | null;
        buildCommand?: string | null;
        destinationDir?: string | null;
        rootDir?: string | null;
    } | null;
    /** A list of associated custom domains for the project. */
    domains?: string[] | null;
    /** Configs for the project source control. */
    source?: {
        config: {
            deploymentsEnabled: boolean;
            owner: string;
            ownerId: string;
            pathExcludes: string[];
            pathIncludes: string[];
            prCommentsEnabled: boolean;
            previewBranchExcludes: string[];
            previewBranchIncludes: string[];
            previewDeploymentSetting: "all" | "none" | "custom";
            productionBranch: string;
            productionDeploymentsEnabled: boolean;
            repoId: string;
            repoName: string;
        };
        type: "github" | "gitlab";
    } | null;
    /** The Cloudflare subdomain associated with the project. */
    subdomain?: string | null;
}
export declare const GetProjectResponse: Schema.Schema<GetProjectResponse>;
export type GetProjectError = DefaultErrors;
export declare const getProject: API.OperationMethod<GetProjectRequest, GetProjectResponse, GetProjectError, Credentials | HttpClient.HttpClient>;
export interface ListProjectsRequest {
    /** Path param: Identifier. */
    accountId: string;
    page?: number;
    perPage?: number;
}
export declare const ListProjectsRequest: Schema.Schema<ListProjectsRequest>;
export interface ListProjectsResponse {
    result: {
        id: string;
        canonicalDeployment: {
            id: string;
            aliases: string[] | null;
            buildConfig: {
                webAnalyticsTag: string | null;
                webAnalyticsToken: string | null;
                buildCaching?: boolean | null;
                buildCommand?: string | null;
                destinationDir?: string | null;
                rootDir?: string | null;
            };
            createdOn: string;
            deploymentTrigger: {
                metadata: {
                    branch: string;
                    commitDirty: boolean;
                    commitHash: string;
                    commitMessage: string;
                };
                type: "github:push" | "ad_hoc" | "deploy_hook";
            };
            envVars: Record<string, unknown> | null;
            environment: "preview" | "production";
            isSkipped: boolean;
            latestStage: {
                endedOn: string | null;
                name: "queued" | "initialize" | "clone_repo" | "build" | "deploy";
                startedOn: string | null;
                status: "success" | "idle" | "active" | "failure" | "canceled";
            };
            modifiedOn: string;
            projectId: string;
            projectName: string;
            shortId: string;
            source: {
                config: {
                    deploymentsEnabled: boolean;
                    owner: string;
                    ownerId: string;
                    pathExcludes: string[];
                    pathIncludes: string[];
                    prCommentsEnabled: boolean;
                    previewBranchExcludes: string[];
                    previewBranchIncludes: string[];
                    previewDeploymentSetting: "all" | "none" | "custom";
                    productionBranch: string;
                    productionDeploymentsEnabled: boolean;
                    repoId: string;
                    repoName: string;
                };
                type: "github" | "gitlab";
            };
            stages: {
                endedOn: string | null;
                name: "queued" | "initialize" | "clone_repo" | "build" | "deploy";
                startedOn: string | null;
                status: "success" | "idle" | "active" | "failure" | "canceled";
            }[];
            url: string;
            usesFunctions?: boolean | null;
        } | null;
        createdOn: string;
        deploymentConfigs: {
            preview: {
                alwaysUseLatestCompatibilityDate: boolean;
                buildImageMajorVersion: number;
                compatibilityDate: string;
                compatibilityFlags: string[];
                envVars: Record<string, unknown> | null;
                failOpen: boolean;
                usageModel: "standard" | "bundled" | "unbound";
                aiBindings?: Record<string, unknown> | null;
                analyticsEngineDatasets?: Record<string, unknown> | null;
                browsers?: Record<string, unknown> | null;
                d1Databases?: Record<string, unknown> | null;
                durableObjectNamespaces?: Record<string, unknown> | null;
                hyperdriveBindings?: Record<string, unknown> | null;
                kvNamespaces?: Record<string, unknown> | null;
                limits?: {
                    cpuMs: number;
                } | null;
                mtlsCertificates?: Record<string, unknown> | null;
                placement?: {
                    mode: string;
                } | null;
                queueProducers?: Record<string, unknown> | null;
                r2Buckets?: Record<string, unknown> | null;
                services?: Record<string, unknown> | null;
                vectorizeBindings?: Record<string, unknown> | null;
                wranglerConfigHash?: string | null;
            };
            production: {
                alwaysUseLatestCompatibilityDate: boolean;
                buildImageMajorVersion: number;
                compatibilityDate: string;
                compatibilityFlags: string[];
                envVars: Record<string, unknown> | null;
                failOpen: boolean;
                usageModel: "standard" | "bundled" | "unbound";
                aiBindings?: Record<string, unknown> | null;
                analyticsEngineDatasets?: Record<string, unknown> | null;
                browsers?: Record<string, unknown> | null;
                d1Databases?: Record<string, unknown> | null;
                durableObjectNamespaces?: Record<string, unknown> | null;
                hyperdriveBindings?: Record<string, unknown> | null;
                kvNamespaces?: Record<string, unknown> | null;
                limits?: {
                    cpuMs: number;
                } | null;
                mtlsCertificates?: Record<string, unknown> | null;
                placement?: {
                    mode: string;
                } | null;
                queueProducers?: Record<string, unknown> | null;
                r2Buckets?: Record<string, unknown> | null;
                services?: Record<string, unknown> | null;
                vectorizeBindings?: Record<string, unknown> | null;
                wranglerConfigHash?: string | null;
            };
        };
        framework: string;
        frameworkVersion: string;
        latestDeployment: {
            id: string;
            aliases: string[] | null;
            buildConfig: {
                webAnalyticsTag: string | null;
                webAnalyticsToken: string | null;
                buildCaching?: boolean | null;
                buildCommand?: string | null;
                destinationDir?: string | null;
                rootDir?: string | null;
            };
            createdOn: string;
            deploymentTrigger: {
                metadata: {
                    branch: string;
                    commitDirty: boolean;
                    commitHash: string;
                    commitMessage: string;
                };
                type: "github:push" | "ad_hoc" | "deploy_hook";
            };
            envVars: Record<string, unknown> | null;
            environment: "preview" | "production";
            isSkipped: boolean;
            latestStage: {
                endedOn: string | null;
                name: "queued" | "initialize" | "clone_repo" | "build" | "deploy";
                startedOn: string | null;
                status: "success" | "idle" | "active" | "failure" | "canceled";
            };
            modifiedOn: string;
            projectId: string;
            projectName: string;
            shortId: string;
            source: {
                config: {
                    deploymentsEnabled: boolean;
                    owner: string;
                    ownerId: string;
                    pathExcludes: string[];
                    pathIncludes: string[];
                    prCommentsEnabled: boolean;
                    previewBranchExcludes: string[];
                    previewBranchIncludes: string[];
                    previewDeploymentSetting: "all" | "none" | "custom";
                    productionBranch: string;
                    productionDeploymentsEnabled: boolean;
                    repoId: string;
                    repoName: string;
                };
                type: "github" | "gitlab";
            };
            stages: {
                endedOn: string | null;
                name: "queued" | "initialize" | "clone_repo" | "build" | "deploy";
                startedOn: string | null;
                status: "success" | "idle" | "active" | "failure" | "canceled";
            }[];
            url: string;
            usesFunctions?: boolean | null;
        } | null;
        name: string;
        previewScriptName: string;
        productionBranch: string;
        productionScriptName: string;
        usesFunctions: boolean | null;
        buildConfig?: {
            webAnalyticsTag: string | null;
            webAnalyticsToken: string | null;
            buildCaching?: boolean | null;
            buildCommand?: string | null;
            destinationDir?: string | null;
            rootDir?: string | null;
        } | null;
        domains?: string[] | null;
        source?: {
            config: {
                deploymentsEnabled: boolean;
                owner: string;
                ownerId: string;
                pathExcludes: string[];
                pathIncludes: string[];
                prCommentsEnabled: boolean;
                previewBranchExcludes: string[];
                previewBranchIncludes: string[];
                previewDeploymentSetting: "all" | "none" | "custom";
                productionBranch: string;
                productionDeploymentsEnabled: boolean;
                repoId: string;
                repoName: string;
            };
            type: "github" | "gitlab";
        } | null;
        subdomain?: string | null;
    }[];
    resultInfo?: {
        count?: number | null;
        page?: number | null;
        perPage?: number | null;
        totalCount?: number | null;
    } | null;
}
export declare const ListProjectsResponse: Schema.Schema<ListProjectsResponse>;
export type ListProjectsError = DefaultErrors;
export declare const listProjects: API.PaginatedOperationMethod<ListProjectsRequest, ListProjectsResponse, ListProjectsError, Credentials | HttpClient.HttpClient>;
export interface CreateProjectRequest {
    /** Path param: Identifier. */
    accountId: string;
    /** Body param: Name of the project. */
    name: string;
    /** Body param: Production branch of the project. Used to identify production deployments. */
    productionBranch: string;
    /** Body param: Configs for the project build process. */
    buildConfig?: {
        buildCaching?: boolean;
        buildCommand?: string;
        destinationDir?: string;
        rootDir?: string;
        webAnalyticsTag?: string | null;
        webAnalyticsToken?: string | null;
    };
    /** Body param: Configs for deployments in a project. */
    deploymentConfigs?: {
        preview?: {
            aiBindings?: Record<string, unknown>;
            alwaysUseLatestCompatibilityDate?: boolean;
            analyticsEngineDatasets?: Record<string, unknown>;
            browsers?: Record<string, unknown>;
            buildImageMajorVersion?: number;
            compatibilityDate?: string;
            compatibilityFlags?: string[];
            d1Databases?: Record<string, unknown>;
            durableObjectNamespaces?: Record<string, unknown>;
            envVars?: Record<string, unknown>;
            failOpen?: boolean;
            hyperdriveBindings?: Record<string, unknown>;
            kvNamespaces?: Record<string, unknown>;
            limits?: {
                cpuMs: number;
            };
            mtlsCertificates?: Record<string, unknown>;
            placement?: {
                mode: string;
            };
            queueProducers?: Record<string, unknown>;
            r2Buckets?: Record<string, unknown>;
            services?: Record<string, unknown>;
            usageModel?: "standard" | "bundled" | "unbound";
            vectorizeBindings?: Record<string, unknown>;
            wranglerConfigHash?: string;
        };
        production?: {
            aiBindings?: Record<string, unknown>;
            alwaysUseLatestCompatibilityDate?: boolean;
            analyticsEngineDatasets?: Record<string, unknown>;
            browsers?: Record<string, unknown>;
            buildImageMajorVersion?: number;
            compatibilityDate?: string;
            compatibilityFlags?: string[];
            d1Databases?: Record<string, unknown>;
            durableObjectNamespaces?: Record<string, unknown>;
            envVars?: Record<string, unknown>;
            failOpen?: boolean;
            hyperdriveBindings?: Record<string, unknown>;
            kvNamespaces?: Record<string, unknown>;
            limits?: {
                cpuMs: number;
            };
            mtlsCertificates?: Record<string, unknown>;
            placement?: {
                mode: string;
            };
            queueProducers?: Record<string, unknown>;
            r2Buckets?: Record<string, unknown>;
            services?: Record<string, unknown>;
            usageModel?: "standard" | "bundled" | "unbound";
            vectorizeBindings?: Record<string, unknown>;
            wranglerConfigHash?: string;
        };
    };
    /** Body param: Configs for the project source control. */
    source?: {
        config: {
            deploymentsEnabled?: boolean;
            owner?: string;
            ownerId?: string;
            pathExcludes?: string[];
            pathIncludes?: string[];
            prCommentsEnabled?: boolean;
            previewBranchExcludes?: string[];
            previewBranchIncludes?: string[];
            previewDeploymentSetting?: "all" | "none" | "custom";
            productionBranch?: string;
            productionDeploymentsEnabled?: boolean;
            repoId?: string;
            repoName?: string;
        };
        type: "github" | "gitlab";
    };
}
export declare const CreateProjectRequest: Schema.Schema<CreateProjectRequest>;
export interface CreateProjectResponse {
    /** ID of the project. */
    id: string;
    /** Most recent production deployment of the project. */
    canonicalDeployment: {
        id: string;
        aliases: string[] | null;
        buildConfig: {
            webAnalyticsTag: string | null;
            webAnalyticsToken: string | null;
            buildCaching?: boolean | null;
            buildCommand?: string | null;
            destinationDir?: string | null;
            rootDir?: string | null;
        };
        createdOn: string;
        deploymentTrigger: {
            metadata: {
                branch: string;
                commitDirty: boolean;
                commitHash: string;
                commitMessage: string;
            };
            type: "github:push" | "ad_hoc" | "deploy_hook";
        };
        envVars: Record<string, unknown> | null;
        environment: "preview" | "production";
        isSkipped: boolean;
        latestStage: {
            endedOn: string | null;
            name: "queued" | "initialize" | "clone_repo" | "build" | "deploy";
            startedOn: string | null;
            status: "success" | "idle" | "active" | "failure" | "canceled";
        };
        modifiedOn: string;
        projectId: string;
        projectName: string;
        shortId: string;
        source: {
            config: {
                deploymentsEnabled: boolean;
                owner: string;
                ownerId: string;
                pathExcludes: string[];
                pathIncludes: string[];
                prCommentsEnabled: boolean;
                previewBranchExcludes: string[];
                previewBranchIncludes: string[];
                previewDeploymentSetting: "all" | "none" | "custom";
                productionBranch: string;
                productionDeploymentsEnabled: boolean;
                repoId: string;
                repoName: string;
            };
            type: "github" | "gitlab";
        };
        stages: {
            endedOn: string | null;
            name: "queued" | "initialize" | "clone_repo" | "build" | "deploy";
            startedOn: string | null;
            status: "success" | "idle" | "active" | "failure" | "canceled";
        }[];
        url: string;
        usesFunctions?: boolean | null;
    } | null;
    /** When the project was created. */
    createdOn: string;
    /** Configs for deployments in a project. */
    deploymentConfigs: {
        preview: {
            alwaysUseLatestCompatibilityDate: boolean;
            buildImageMajorVersion: number;
            compatibilityDate: string;
            compatibilityFlags: string[];
            envVars: Record<string, unknown> | null;
            failOpen: boolean;
            usageModel: "standard" | "bundled" | "unbound";
            aiBindings?: Record<string, unknown> | null;
            analyticsEngineDatasets?: Record<string, unknown> | null;
            browsers?: Record<string, unknown> | null;
            d1Databases?: Record<string, unknown> | null;
            durableObjectNamespaces?: Record<string, unknown> | null;
            hyperdriveBindings?: Record<string, unknown> | null;
            kvNamespaces?: Record<string, unknown> | null;
            limits?: {
                cpuMs: number;
            } | null;
            mtlsCertificates?: Record<string, unknown> | null;
            placement?: {
                mode: string;
            } | null;
            queueProducers?: Record<string, unknown> | null;
            r2Buckets?: Record<string, unknown> | null;
            services?: Record<string, unknown> | null;
            vectorizeBindings?: Record<string, unknown> | null;
            wranglerConfigHash?: string | null;
        };
        production: {
            alwaysUseLatestCompatibilityDate: boolean;
            buildImageMajorVersion: number;
            compatibilityDate: string;
            compatibilityFlags: string[];
            envVars: Record<string, unknown> | null;
            failOpen: boolean;
            usageModel: "standard" | "bundled" | "unbound";
            aiBindings?: Record<string, unknown> | null;
            analyticsEngineDatasets?: Record<string, unknown> | null;
            browsers?: Record<string, unknown> | null;
            d1Databases?: Record<string, unknown> | null;
            durableObjectNamespaces?: Record<string, unknown> | null;
            hyperdriveBindings?: Record<string, unknown> | null;
            kvNamespaces?: Record<string, unknown> | null;
            limits?: {
                cpuMs: number;
            } | null;
            mtlsCertificates?: Record<string, unknown> | null;
            placement?: {
                mode: string;
            } | null;
            queueProducers?: Record<string, unknown> | null;
            r2Buckets?: Record<string, unknown> | null;
            services?: Record<string, unknown> | null;
            vectorizeBindings?: Record<string, unknown> | null;
            wranglerConfigHash?: string | null;
        };
    };
    /** Framework the project is using. */
    framework: string;
    /** Version of the framework the project is using. */
    frameworkVersion: string;
    /** Most recent deployment of the project. */
    latestDeployment: {
        id: string;
        aliases: string[] | null;
        buildConfig: {
            webAnalyticsTag: string | null;
            webAnalyticsToken: string | null;
            buildCaching?: boolean | null;
            buildCommand?: string | null;
            destinationDir?: string | null;
            rootDir?: string | null;
        };
        createdOn: string;
        deploymentTrigger: {
            metadata: {
                branch: string;
                commitDirty: boolean;
                commitHash: string;
                commitMessage: string;
            };
            type: "github:push" | "ad_hoc" | "deploy_hook";
        };
        envVars: Record<string, unknown> | null;
        environment: "preview" | "production";
        isSkipped: boolean;
        latestStage: {
            endedOn: string | null;
            name: "queued" | "initialize" | "clone_repo" | "build" | "deploy";
            startedOn: string | null;
            status: "success" | "idle" | "active" | "failure" | "canceled";
        };
        modifiedOn: string;
        projectId: string;
        projectName: string;
        shortId: string;
        source: {
            config: {
                deploymentsEnabled: boolean;
                owner: string;
                ownerId: string;
                pathExcludes: string[];
                pathIncludes: string[];
                prCommentsEnabled: boolean;
                previewBranchExcludes: string[];
                previewBranchIncludes: string[];
                previewDeploymentSetting: "all" | "none" | "custom";
                productionBranch: string;
                productionDeploymentsEnabled: boolean;
                repoId: string;
                repoName: string;
            };
            type: "github" | "gitlab";
        };
        stages: {
            endedOn: string | null;
            name: "queued" | "initialize" | "clone_repo" | "build" | "deploy";
            startedOn: string | null;
            status: "success" | "idle" | "active" | "failure" | "canceled";
        }[];
        url: string;
        usesFunctions?: boolean | null;
    } | null;
    /** Name of the project. */
    name: string;
    /** Name of the preview script. */
    previewScriptName: string;
    /** Production branch of the project. Used to identify production deployments. */
    productionBranch: string;
    /** Name of the production script. */
    productionScriptName: string;
    /** Whether the project uses functions. */
    usesFunctions: boolean | null;
    /** Configs for the project build process. */
    buildConfig?: {
        webAnalyticsTag: string | null;
        webAnalyticsToken: string | null;
        buildCaching?: boolean | null;
        buildCommand?: string | null;
        destinationDir?: string | null;
        rootDir?: string | null;
    } | null;
    /** A list of associated custom domains for the project. */
    domains?: string[] | null;
    /** Configs for the project source control. */
    source?: {
        config: {
            deploymentsEnabled: boolean;
            owner: string;
            ownerId: string;
            pathExcludes: string[];
            pathIncludes: string[];
            prCommentsEnabled: boolean;
            previewBranchExcludes: string[];
            previewBranchIncludes: string[];
            previewDeploymentSetting: "all" | "none" | "custom";
            productionBranch: string;
            productionDeploymentsEnabled: boolean;
            repoId: string;
            repoName: string;
        };
        type: "github" | "gitlab";
    } | null;
    /** The Cloudflare subdomain associated with the project. */
    subdomain?: string | null;
}
export declare const CreateProjectResponse: Schema.Schema<CreateProjectResponse>;
export type CreateProjectError = DefaultErrors;
export declare const createProject: API.OperationMethod<CreateProjectRequest, CreateProjectResponse, CreateProjectError, Credentials | HttpClient.HttpClient>;
export interface PatchProjectRequest {
    projectName: string;
    /** Path param: Identifier. */
    accountId: string;
    /** Body param: Configs for the project build process. */
    buildConfig?: {
        buildCaching?: boolean;
        buildCommand?: string;
        destinationDir?: string;
        rootDir?: string;
        webAnalyticsTag?: string | null;
        webAnalyticsToken?: string | null;
    };
    /** Body param: Configs for deployments in a project. */
    deploymentConfigs?: {
        preview?: {
            aiBindings?: Record<string, unknown>;
            alwaysUseLatestCompatibilityDate?: boolean;
            analyticsEngineDatasets?: Record<string, unknown>;
            browsers?: Record<string, unknown>;
            buildImageMajorVersion?: number;
            compatibilityDate?: string;
            compatibilityFlags?: string[];
            d1Databases?: Record<string, unknown>;
            durableObjectNamespaces?: Record<string, unknown>;
            envVars?: Record<string, unknown>;
            failOpen?: boolean;
            hyperdriveBindings?: Record<string, unknown>;
            kvNamespaces?: Record<string, unknown>;
            limits?: {
                cpuMs: number;
            };
            mtlsCertificates?: Record<string, unknown>;
            placement?: {
                mode: string;
            };
            queueProducers?: Record<string, unknown>;
            r2Buckets?: Record<string, unknown>;
            services?: Record<string, unknown>;
            usageModel?: "standard" | "bundled" | "unbound";
            vectorizeBindings?: Record<string, unknown>;
            wranglerConfigHash?: string;
        };
        production?: {
            aiBindings?: Record<string, unknown>;
            alwaysUseLatestCompatibilityDate?: boolean;
            analyticsEngineDatasets?: Record<string, unknown>;
            browsers?: Record<string, unknown>;
            buildImageMajorVersion?: number;
            compatibilityDate?: string;
            compatibilityFlags?: string[];
            d1Databases?: Record<string, unknown>;
            durableObjectNamespaces?: Record<string, unknown>;
            envVars?: Record<string, unknown>;
            failOpen?: boolean;
            hyperdriveBindings?: Record<string, unknown>;
            kvNamespaces?: Record<string, unknown>;
            limits?: {
                cpuMs: number;
            };
            mtlsCertificates?: Record<string, unknown>;
            placement?: {
                mode: string;
            };
            queueProducers?: Record<string, unknown>;
            r2Buckets?: Record<string, unknown>;
            services?: Record<string, unknown>;
            usageModel?: "standard" | "bundled" | "unbound";
            vectorizeBindings?: Record<string, unknown>;
            wranglerConfigHash?: string;
        };
    };
    /** Body param: Name of the project. */
    name?: string;
    /** Body param: Production branch of the project. Used to identify production deployments. */
    productionBranch?: string;
    /** Body param: Configs for the project source control. */
    source?: {
        config: {
            deploymentsEnabled?: boolean;
            owner?: string;
            ownerId?: string;
            pathExcludes?: string[];
            pathIncludes?: string[];
            prCommentsEnabled?: boolean;
            previewBranchExcludes?: string[];
            previewBranchIncludes?: string[];
            previewDeploymentSetting?: "all" | "none" | "custom";
            productionBranch?: string;
            productionDeploymentsEnabled?: boolean;
            repoId?: string;
            repoName?: string;
        };
        type: "github" | "gitlab";
    };
}
export declare const PatchProjectRequest: Schema.Schema<PatchProjectRequest>;
export interface PatchProjectResponse {
    /** ID of the project. */
    id: string;
    /** Most recent production deployment of the project. */
    canonicalDeployment: {
        id: string;
        aliases: string[] | null;
        buildConfig: {
            webAnalyticsTag: string | null;
            webAnalyticsToken: string | null;
            buildCaching?: boolean | null;
            buildCommand?: string | null;
            destinationDir?: string | null;
            rootDir?: string | null;
        };
        createdOn: string;
        deploymentTrigger: {
            metadata: {
                branch: string;
                commitDirty: boolean;
                commitHash: string;
                commitMessage: string;
            };
            type: "github:push" | "ad_hoc" | "deploy_hook";
        };
        envVars: Record<string, unknown> | null;
        environment: "preview" | "production";
        isSkipped: boolean;
        latestStage: {
            endedOn: string | null;
            name: "queued" | "initialize" | "clone_repo" | "build" | "deploy";
            startedOn: string | null;
            status: "success" | "idle" | "active" | "failure" | "canceled";
        };
        modifiedOn: string;
        projectId: string;
        projectName: string;
        shortId: string;
        source: {
            config: {
                deploymentsEnabled: boolean;
                owner: string;
                ownerId: string;
                pathExcludes: string[];
                pathIncludes: string[];
                prCommentsEnabled: boolean;
                previewBranchExcludes: string[];
                previewBranchIncludes: string[];
                previewDeploymentSetting: "all" | "none" | "custom";
                productionBranch: string;
                productionDeploymentsEnabled: boolean;
                repoId: string;
                repoName: string;
            };
            type: "github" | "gitlab";
        };
        stages: {
            endedOn: string | null;
            name: "queued" | "initialize" | "clone_repo" | "build" | "deploy";
            startedOn: string | null;
            status: "success" | "idle" | "active" | "failure" | "canceled";
        }[];
        url: string;
        usesFunctions?: boolean | null;
    } | null;
    /** When the project was created. */
    createdOn: string;
    /** Configs for deployments in a project. */
    deploymentConfigs: {
        preview: {
            alwaysUseLatestCompatibilityDate: boolean;
            buildImageMajorVersion: number;
            compatibilityDate: string;
            compatibilityFlags: string[];
            envVars: Record<string, unknown> | null;
            failOpen: boolean;
            usageModel: "standard" | "bundled" | "unbound";
            aiBindings?: Record<string, unknown> | null;
            analyticsEngineDatasets?: Record<string, unknown> | null;
            browsers?: Record<string, unknown> | null;
            d1Databases?: Record<string, unknown> | null;
            durableObjectNamespaces?: Record<string, unknown> | null;
            hyperdriveBindings?: Record<string, unknown> | null;
            kvNamespaces?: Record<string, unknown> | null;
            limits?: {
                cpuMs: number;
            } | null;
            mtlsCertificates?: Record<string, unknown> | null;
            placement?: {
                mode: string;
            } | null;
            queueProducers?: Record<string, unknown> | null;
            r2Buckets?: Record<string, unknown> | null;
            services?: Record<string, unknown> | null;
            vectorizeBindings?: Record<string, unknown> | null;
            wranglerConfigHash?: string | null;
        };
        production: {
            alwaysUseLatestCompatibilityDate: boolean;
            buildImageMajorVersion: number;
            compatibilityDate: string;
            compatibilityFlags: string[];
            envVars: Record<string, unknown> | null;
            failOpen: boolean;
            usageModel: "standard" | "bundled" | "unbound";
            aiBindings?: Record<string, unknown> | null;
            analyticsEngineDatasets?: Record<string, unknown> | null;
            browsers?: Record<string, unknown> | null;
            d1Databases?: Record<string, unknown> | null;
            durableObjectNamespaces?: Record<string, unknown> | null;
            hyperdriveBindings?: Record<string, unknown> | null;
            kvNamespaces?: Record<string, unknown> | null;
            limits?: {
                cpuMs: number;
            } | null;
            mtlsCertificates?: Record<string, unknown> | null;
            placement?: {
                mode: string;
            } | null;
            queueProducers?: Record<string, unknown> | null;
            r2Buckets?: Record<string, unknown> | null;
            services?: Record<string, unknown> | null;
            vectorizeBindings?: Record<string, unknown> | null;
            wranglerConfigHash?: string | null;
        };
    };
    /** Framework the project is using. */
    framework: string;
    /** Version of the framework the project is using. */
    frameworkVersion: string;
    /** Most recent deployment of the project. */
    latestDeployment: {
        id: string;
        aliases: string[] | null;
        buildConfig: {
            webAnalyticsTag: string | null;
            webAnalyticsToken: string | null;
            buildCaching?: boolean | null;
            buildCommand?: string | null;
            destinationDir?: string | null;
            rootDir?: string | null;
        };
        createdOn: string;
        deploymentTrigger: {
            metadata: {
                branch: string;
                commitDirty: boolean;
                commitHash: string;
                commitMessage: string;
            };
            type: "github:push" | "ad_hoc" | "deploy_hook";
        };
        envVars: Record<string, unknown> | null;
        environment: "preview" | "production";
        isSkipped: boolean;
        latestStage: {
            endedOn: string | null;
            name: "queued" | "initialize" | "clone_repo" | "build" | "deploy";
            startedOn: string | null;
            status: "success" | "idle" | "active" | "failure" | "canceled";
        };
        modifiedOn: string;
        projectId: string;
        projectName: string;
        shortId: string;
        source: {
            config: {
                deploymentsEnabled: boolean;
                owner: string;
                ownerId: string;
                pathExcludes: string[];
                pathIncludes: string[];
                prCommentsEnabled: boolean;
                previewBranchExcludes: string[];
                previewBranchIncludes: string[];
                previewDeploymentSetting: "all" | "none" | "custom";
                productionBranch: string;
                productionDeploymentsEnabled: boolean;
                repoId: string;
                repoName: string;
            };
            type: "github" | "gitlab";
        };
        stages: {
            endedOn: string | null;
            name: "queued" | "initialize" | "clone_repo" | "build" | "deploy";
            startedOn: string | null;
            status: "success" | "idle" | "active" | "failure" | "canceled";
        }[];
        url: string;
        usesFunctions?: boolean | null;
    } | null;
    /** Name of the project. */
    name: string;
    /** Name of the preview script. */
    previewScriptName: string;
    /** Production branch of the project. Used to identify production deployments. */
    productionBranch: string;
    /** Name of the production script. */
    productionScriptName: string;
    /** Whether the project uses functions. */
    usesFunctions: boolean | null;
    /** Configs for the project build process. */
    buildConfig?: {
        webAnalyticsTag: string | null;
        webAnalyticsToken: string | null;
        buildCaching?: boolean | null;
        buildCommand?: string | null;
        destinationDir?: string | null;
        rootDir?: string | null;
    } | null;
    /** A list of associated custom domains for the project. */
    domains?: string[] | null;
    /** Configs for the project source control. */
    source?: {
        config: {
            deploymentsEnabled: boolean;
            owner: string;
            ownerId: string;
            pathExcludes: string[];
            pathIncludes: string[];
            prCommentsEnabled: boolean;
            previewBranchExcludes: string[];
            previewBranchIncludes: string[];
            previewDeploymentSetting: "all" | "none" | "custom";
            productionBranch: string;
            productionDeploymentsEnabled: boolean;
            repoId: string;
            repoName: string;
        };
        type: "github" | "gitlab";
    } | null;
    /** The Cloudflare subdomain associated with the project. */
    subdomain?: string | null;
}
export declare const PatchProjectResponse: Schema.Schema<PatchProjectResponse>;
export type PatchProjectError = DefaultErrors;
export declare const patchProject: API.OperationMethod<PatchProjectRequest, PatchProjectResponse, PatchProjectError, Credentials | HttpClient.HttpClient>;
export interface DeleteProjectRequest {
    projectName: string;
    /** Identifier. */
    accountId: string;
}
export declare const DeleteProjectRequest: Schema.Schema<DeleteProjectRequest>;
export type DeleteProjectResponse = unknown;
export declare const DeleteProjectResponse: Schema.Schema<DeleteProjectResponse>;
export type DeleteProjectError = DefaultErrors;
export declare const deleteProject: API.OperationMethod<DeleteProjectRequest, DeleteProjectResponse, DeleteProjectError, Credentials | HttpClient.HttpClient>;
export interface GetProjectDeploymentRequest {
    projectName: string;
    deploymentId: string;
    /** Identifier. */
    accountId: string;
}
export declare const GetProjectDeploymentRequest: Schema.Schema<GetProjectDeploymentRequest>;
export interface GetProjectDeploymentResponse {
    /** Id of the deployment. */
    id: string;
    /** A list of alias URLs pointing to this deployment. */
    aliases: string[] | null;
    /** Configs for the project build process. */
    buildConfig: {
        webAnalyticsTag: string | null;
        webAnalyticsToken: string | null;
        buildCaching?: boolean | null;
        buildCommand?: string | null;
        destinationDir?: string | null;
        rootDir?: string | null;
    };
    /** When the deployment was created. */
    createdOn: string;
    /** Info about what caused the deployment. */
    deploymentTrigger: {
        metadata: {
            branch: string;
            commitDirty: boolean;
            commitHash: string;
            commitMessage: string;
        };
        type: "github:push" | "ad_hoc" | "deploy_hook";
    };
    /** Environment variables used for builds and Pages Functions. */
    envVars: Record<string, unknown> | null;
    /** Type of deploy. */
    environment: "preview" | "production";
    /** If the deployment has been skipped. */
    isSkipped: boolean;
    /** The status of the deployment. */
    latestStage: {
        endedOn: string | null;
        name: "queued" | "initialize" | "clone_repo" | "build" | "deploy";
        startedOn: string | null;
        status: "success" | "idle" | "active" | "failure" | "canceled";
    };
    /** When the deployment was last modified. */
    modifiedOn: string;
    /** Id of the project. */
    projectId: string;
    /** Name of the project. */
    projectName: string;
    /** Short Id (8 character) of the deployment. */
    shortId: string;
    /** Configs for the project source control. */
    source: {
        config: {
            deploymentsEnabled: boolean;
            owner: string;
            ownerId: string;
            pathExcludes: string[];
            pathIncludes: string[];
            prCommentsEnabled: boolean;
            previewBranchExcludes: string[];
            previewBranchIncludes: string[];
            previewDeploymentSetting: "all" | "none" | "custom";
            productionBranch: string;
            productionDeploymentsEnabled: boolean;
            repoId: string;
            repoName: string;
        };
        type: "github" | "gitlab";
    };
    /** List of past stages. */
    stages: {
        endedOn: string | null;
        name: "queued" | "initialize" | "clone_repo" | "build" | "deploy";
        startedOn: string | null;
        status: "success" | "idle" | "active" | "failure" | "canceled";
    }[];
    /** The live URL to view this deployment. */
    url: string;
    /** Whether the deployment uses functions. */
    usesFunctions?: boolean | null;
}
export declare const GetProjectDeploymentResponse: Schema.Schema<GetProjectDeploymentResponse>;
export type GetProjectDeploymentError = DefaultErrors;
export declare const getProjectDeployment: API.OperationMethod<GetProjectDeploymentRequest, GetProjectDeploymentResponse, GetProjectDeploymentError, Credentials | HttpClient.HttpClient>;
export interface ListProjectDeploymentsRequest {
    projectName: string;
    /** Path param: Identifier. */
    accountId: string;
    page?: number;
    perPage?: number;
    /** Query param: What type of deployments to fetch. */
    env?: "production" | "preview";
}
export declare const ListProjectDeploymentsRequest: Schema.Schema<ListProjectDeploymentsRequest>;
export interface ListProjectDeploymentsResponse {
    result: {
        id: string;
        aliases: string[] | null;
        buildConfig: {
            webAnalyticsTag: string | null;
            webAnalyticsToken: string | null;
            buildCaching?: boolean | null;
            buildCommand?: string | null;
            destinationDir?: string | null;
            rootDir?: string | null;
        };
        createdOn: string;
        deploymentTrigger: {
            metadata: {
                branch: string;
                commitDirty: boolean;
                commitHash: string;
                commitMessage: string;
            };
            type: "github:push" | "ad_hoc" | "deploy_hook";
        };
        envVars: Record<string, unknown> | null;
        environment: "preview" | "production";
        isSkipped: boolean;
        latestStage: {
            endedOn: string | null;
            name: "queued" | "initialize" | "clone_repo" | "build" | "deploy";
            startedOn: string | null;
            status: "success" | "idle" | "active" | "failure" | "canceled";
        };
        modifiedOn: string;
        projectId: string;
        projectName: string;
        shortId: string;
        source: {
            config: {
                deploymentsEnabled: boolean;
                owner: string;
                ownerId: string;
                pathExcludes: string[];
                pathIncludes: string[];
                prCommentsEnabled: boolean;
                previewBranchExcludes: string[];
                previewBranchIncludes: string[];
                previewDeploymentSetting: "all" | "none" | "custom";
                productionBranch: string;
                productionDeploymentsEnabled: boolean;
                repoId: string;
                repoName: string;
            };
            type: "github" | "gitlab";
        };
        stages: {
            endedOn: string | null;
            name: "queued" | "initialize" | "clone_repo" | "build" | "deploy";
            startedOn: string | null;
            status: "success" | "idle" | "active" | "failure" | "canceled";
        }[];
        url: string;
        usesFunctions?: boolean | null;
    }[];
    resultInfo?: {
        count?: number | null;
        page?: number | null;
        perPage?: number | null;
        totalCount?: number | null;
    } | null;
}
export declare const ListProjectDeploymentsResponse: Schema.Schema<ListProjectDeploymentsResponse>;
export type ListProjectDeploymentsError = DefaultErrors;
export declare const listProjectDeployments: API.PaginatedOperationMethod<ListProjectDeploymentsRequest, ListProjectDeploymentsResponse, ListProjectDeploymentsError, Credentials | HttpClient.HttpClient>;
export interface CreateProjectDeploymentRequest {
    projectName: string;
    /** Path param: Identifier. */
    accountId: string;
    /** Body param: Headers configuration file for the deployment. */
    headers?: File | Blob;
    /** Body param: Redirects configuration file for the deployment. */
    redirects?: File | Blob;
    /** Body param: Routes configuration file defining routing rules. */
    routesJson?: File | Blob;
    /** Body param: Worker bundle file in multipart/form-data format. Mutually exclusive with `_worker.js`. Cannot specify both `_worker.js` and `_worker.bundle` in the same request. Maximum size: 25 MiB. */
    workerBundle?: File | Blob;
    /** Body param: Worker JavaScript file. Mutually exclusive with `_worker.bundle`. Cannot specify both `_worker.js` and `_worker.bundle` in the same request. */
    workerJs?: File | Blob;
    /** Body param: The branch to build the new deployment from. The `HEAD` of the branch will be used. If omitted, the production branch will be used by default. */
    branch?: string;
    /** Body param: Boolean string indicating if the working directory has uncommitted changes. */
    commitDirty?: true | false;
    /** Body param: Git commit SHA associated with this deployment. */
    commitHash?: string;
    /** Body param: Git commit message associated with this deployment. */
    commitMessage?: string;
    /** Body param: Functions routing configuration file. */
    functionsFilepathRoutingConfigJson?: File | Blob;
    /** Body param: JSON string containing a manifest of files to deploy. Maps file paths to their content hashes. Required for direct upload deployments. Maximum 20,000 entries. */
    manifest?: string;
    /** Body param: The build output directory path. */
    pagesBuildOutputDir?: string;
    /** Body param: Hash of the Wrangler configuration file used for this deployment. */
    wranglerConfigHash?: string;
}
export declare const CreateProjectDeploymentRequest: Schema.Schema<CreateProjectDeploymentRequest>;
export interface CreateProjectDeploymentResponse {
    /** Id of the deployment. */
    id: string;
    /** A list of alias URLs pointing to this deployment. */
    aliases: string[] | null;
    /** Configs for the project build process. */
    buildConfig: {
        webAnalyticsTag: string | null;
        webAnalyticsToken: string | null;
        buildCaching?: boolean | null;
        buildCommand?: string | null;
        destinationDir?: string | null;
        rootDir?: string | null;
    };
    /** When the deployment was created. */
    createdOn: string;
    /** Info about what caused the deployment. */
    deploymentTrigger: {
        metadata: {
            branch: string;
            commitDirty: boolean;
            commitHash: string;
            commitMessage: string;
        };
        type: "github:push" | "ad_hoc" | "deploy_hook";
    };
    /** Environment variables used for builds and Pages Functions. */
    envVars: Record<string, unknown> | null;
    /** Type of deploy. */
    environment: "preview" | "production";
    /** If the deployment has been skipped. */
    isSkipped: boolean;
    /** The status of the deployment. */
    latestStage: {
        endedOn: string | null;
        name: "queued" | "initialize" | "clone_repo" | "build" | "deploy";
        startedOn: string | null;
        status: "success" | "idle" | "active" | "failure" | "canceled";
    };
    /** When the deployment was last modified. */
    modifiedOn: string;
    /** Id of the project. */
    projectId: string;
    /** Name of the project. */
    projectName: string;
    /** Short Id (8 character) of the deployment. */
    shortId: string;
    /** Configs for the project source control. */
    source: {
        config: {
            deploymentsEnabled: boolean;
            owner: string;
            ownerId: string;
            pathExcludes: string[];
            pathIncludes: string[];
            prCommentsEnabled: boolean;
            previewBranchExcludes: string[];
            previewBranchIncludes: string[];
            previewDeploymentSetting: "all" | "none" | "custom";
            productionBranch: string;
            productionDeploymentsEnabled: boolean;
            repoId: string;
            repoName: string;
        };
        type: "github" | "gitlab";
    };
    /** List of past stages. */
    stages: {
        endedOn: string | null;
        name: "queued" | "initialize" | "clone_repo" | "build" | "deploy";
        startedOn: string | null;
        status: "success" | "idle" | "active" | "failure" | "canceled";
    }[];
    /** The live URL to view this deployment. */
    url: string;
    /** Whether the deployment uses functions. */
    usesFunctions?: boolean | null;
}
export declare const CreateProjectDeploymentResponse: Schema.Schema<CreateProjectDeploymentResponse>;
export type CreateProjectDeploymentError = DefaultErrors;
export declare const createProjectDeployment: API.OperationMethod<CreateProjectDeploymentRequest, CreateProjectDeploymentResponse, CreateProjectDeploymentError, Credentials | HttpClient.HttpClient>;
export interface DeleteProjectDeploymentRequest {
    projectName: string;
    deploymentId: string;
    /** Identifier. */
    accountId: string;
}
export declare const DeleteProjectDeploymentRequest: Schema.Schema<DeleteProjectDeploymentRequest>;
export type DeleteProjectDeploymentResponse = unknown;
export declare const DeleteProjectDeploymentResponse: Schema.Schema<DeleteProjectDeploymentResponse>;
export type DeleteProjectDeploymentError = DefaultErrors;
export declare const deleteProjectDeployment: API.OperationMethod<DeleteProjectDeploymentRequest, DeleteProjectDeploymentResponse, DeleteProjectDeploymentError, Credentials | HttpClient.HttpClient>;
export interface RetryProjectDeploymentRequest {
    projectName: string;
    deploymentId: string;
    /** Identifier. */
    accountId: string;
}
export declare const RetryProjectDeploymentRequest: Schema.Schema<RetryProjectDeploymentRequest>;
export interface RetryProjectDeploymentResponse {
    /** Id of the deployment. */
    id: string;
    /** A list of alias URLs pointing to this deployment. */
    aliases: string[] | null;
    /** Configs for the project build process. */
    buildConfig: {
        webAnalyticsTag: string | null;
        webAnalyticsToken: string | null;
        buildCaching?: boolean | null;
        buildCommand?: string | null;
        destinationDir?: string | null;
        rootDir?: string | null;
    };
    /** When the deployment was created. */
    createdOn: string;
    /** Info about what caused the deployment. */
    deploymentTrigger: {
        metadata: {
            branch: string;
            commitDirty: boolean;
            commitHash: string;
            commitMessage: string;
        };
        type: "github:push" | "ad_hoc" | "deploy_hook";
    };
    /** Environment variables used for builds and Pages Functions. */
    envVars: Record<string, unknown> | null;
    /** Type of deploy. */
    environment: "preview" | "production";
    /** If the deployment has been skipped. */
    isSkipped: boolean;
    /** The status of the deployment. */
    latestStage: {
        endedOn: string | null;
        name: "queued" | "initialize" | "clone_repo" | "build" | "deploy";
        startedOn: string | null;
        status: "success" | "idle" | "active" | "failure" | "canceled";
    };
    /** When the deployment was last modified. */
    modifiedOn: string;
    /** Id of the project. */
    projectId: string;
    /** Name of the project. */
    projectName: string;
    /** Short Id (8 character) of the deployment. */
    shortId: string;
    /** Configs for the project source control. */
    source: {
        config: {
            deploymentsEnabled: boolean;
            owner: string;
            ownerId: string;
            pathExcludes: string[];
            pathIncludes: string[];
            prCommentsEnabled: boolean;
            previewBranchExcludes: string[];
            previewBranchIncludes: string[];
            previewDeploymentSetting: "all" | "none" | "custom";
            productionBranch: string;
            productionDeploymentsEnabled: boolean;
            repoId: string;
            repoName: string;
        };
        type: "github" | "gitlab";
    };
    /** List of past stages. */
    stages: {
        endedOn: string | null;
        name: "queued" | "initialize" | "clone_repo" | "build" | "deploy";
        startedOn: string | null;
        status: "success" | "idle" | "active" | "failure" | "canceled";
    }[];
    /** The live URL to view this deployment. */
    url: string;
    /** Whether the deployment uses functions. */
    usesFunctions?: boolean | null;
}
export declare const RetryProjectDeploymentResponse: Schema.Schema<RetryProjectDeploymentResponse>;
export type RetryProjectDeploymentError = DefaultErrors;
export declare const retryProjectDeployment: API.OperationMethod<RetryProjectDeploymentRequest, RetryProjectDeploymentResponse, RetryProjectDeploymentError, Credentials | HttpClient.HttpClient>;
export interface RollbackProjectDeploymentRequest {
    projectName: string;
    deploymentId: string;
    /** Identifier. */
    accountId: string;
}
export declare const RollbackProjectDeploymentRequest: Schema.Schema<RollbackProjectDeploymentRequest>;
export interface RollbackProjectDeploymentResponse {
    /** Id of the deployment. */
    id: string;
    /** A list of alias URLs pointing to this deployment. */
    aliases: string[] | null;
    /** Configs for the project build process. */
    buildConfig: {
        webAnalyticsTag: string | null;
        webAnalyticsToken: string | null;
        buildCaching?: boolean | null;
        buildCommand?: string | null;
        destinationDir?: string | null;
        rootDir?: string | null;
    };
    /** When the deployment was created. */
    createdOn: string;
    /** Info about what caused the deployment. */
    deploymentTrigger: {
        metadata: {
            branch: string;
            commitDirty: boolean;
            commitHash: string;
            commitMessage: string;
        };
        type: "github:push" | "ad_hoc" | "deploy_hook";
    };
    /** Environment variables used for builds and Pages Functions. */
    envVars: Record<string, unknown> | null;
    /** Type of deploy. */
    environment: "preview" | "production";
    /** If the deployment has been skipped. */
    isSkipped: boolean;
    /** The status of the deployment. */
    latestStage: {
        endedOn: string | null;
        name: "queued" | "initialize" | "clone_repo" | "build" | "deploy";
        startedOn: string | null;
        status: "success" | "idle" | "active" | "failure" | "canceled";
    };
    /** When the deployment was last modified. */
    modifiedOn: string;
    /** Id of the project. */
    projectId: string;
    /** Name of the project. */
    projectName: string;
    /** Short Id (8 character) of the deployment. */
    shortId: string;
    /** Configs for the project source control. */
    source: {
        config: {
            deploymentsEnabled: boolean;
            owner: string;
            ownerId: string;
            pathExcludes: string[];
            pathIncludes: string[];
            prCommentsEnabled: boolean;
            previewBranchExcludes: string[];
            previewBranchIncludes: string[];
            previewDeploymentSetting: "all" | "none" | "custom";
            productionBranch: string;
            productionDeploymentsEnabled: boolean;
            repoId: string;
            repoName: string;
        };
        type: "github" | "gitlab";
    };
    /** List of past stages. */
    stages: {
        endedOn: string | null;
        name: "queued" | "initialize" | "clone_repo" | "build" | "deploy";
        startedOn: string | null;
        status: "success" | "idle" | "active" | "failure" | "canceled";
    }[];
    /** The live URL to view this deployment. */
    url: string;
    /** Whether the deployment uses functions. */
    usesFunctions?: boolean | null;
}
export declare const RollbackProjectDeploymentResponse: Schema.Schema<RollbackProjectDeploymentResponse>;
export type RollbackProjectDeploymentError = DefaultErrors;
export declare const rollbackProjectDeployment: API.OperationMethod<RollbackProjectDeploymentRequest, RollbackProjectDeploymentResponse, RollbackProjectDeploymentError, Credentials | HttpClient.HttpClient>;
export interface GetProjectDeploymentHistoryLogRequest {
    projectName: string;
    deploymentId: string;
    /** Identifier. */
    accountId: string;
}
export declare const GetProjectDeploymentHistoryLogRequest: Schema.Schema<GetProjectDeploymentHistoryLogRequest>;
export interface GetProjectDeploymentHistoryLogResponse {
    data: {
        line: string;
        ts: string;
    }[];
    includesContainerLogs: boolean;
    total: number;
}
export declare const GetProjectDeploymentHistoryLogResponse: Schema.Schema<GetProjectDeploymentHistoryLogResponse>;
export type GetProjectDeploymentHistoryLogError = DefaultErrors;
export declare const getProjectDeploymentHistoryLog: API.OperationMethod<GetProjectDeploymentHistoryLogRequest, GetProjectDeploymentHistoryLogResponse, GetProjectDeploymentHistoryLogError, Credentials | HttpClient.HttpClient>;
export interface GetProjectDomainRequest {
    projectName: string;
    domainName: string;
    /** Identifier. */
    accountId: string;
}
export declare const GetProjectDomainRequest: Schema.Schema<GetProjectDomainRequest>;
export interface GetProjectDomainResponse {
    id: string;
    certificateAuthority: "google" | "lets_encrypt";
    createdOn: string;
    domainId: string;
    /** The domain name. */
    name: string;
    status: "initializing" | "pending" | "active" | "deactivated" | "blocked" | "error";
    validationData: {
        method: "http" | "txt";
        status: "initializing" | "pending" | "active" | "deactivated" | "error";
        errorMessage?: string | null;
        txtName?: string | null;
        txtValue?: string | null;
    };
    verificationData: {
        status: "pending" | "active" | "deactivated" | "blocked" | "error";
        errorMessage?: string | null;
    };
    zoneTag: string;
}
export declare const GetProjectDomainResponse: Schema.Schema<GetProjectDomainResponse>;
export type GetProjectDomainError = DefaultErrors;
export declare const getProjectDomain: API.OperationMethod<GetProjectDomainRequest, GetProjectDomainResponse, GetProjectDomainError, Credentials | HttpClient.HttpClient>;
export interface ListProjectDomainsRequest {
    projectName: string;
    /** Identifier. */
    accountId: string;
}
export declare const ListProjectDomainsRequest: Schema.Schema<ListProjectDomainsRequest>;
export interface ListProjectDomainsResponse {
    result: {
        id: string;
        certificateAuthority: "google" | "lets_encrypt";
        createdOn: string;
        domainId: string;
        name: string;
        status: "initializing" | "pending" | "active" | "deactivated" | "blocked" | "error";
        validationData: {
            method: "http" | "txt";
            status: "initializing" | "pending" | "active" | "deactivated" | "error";
            errorMessage?: string | null;
            txtName?: string | null;
            txtValue?: string | null;
        };
        verificationData: {
            status: "pending" | "active" | "deactivated" | "blocked" | "error";
            errorMessage?: string | null;
        };
        zoneTag: string;
    }[];
}
export declare const ListProjectDomainsResponse: Schema.Schema<ListProjectDomainsResponse>;
export type ListProjectDomainsError = DefaultErrors;
export declare const listProjectDomains: API.PaginatedOperationMethod<ListProjectDomainsRequest, ListProjectDomainsResponse, ListProjectDomainsError, Credentials | HttpClient.HttpClient>;
export interface CreateProjectDomainRequest {
    projectName: string;
    /** Path param: Identifier. */
    accountId: string;
    /** Body param: The domain name. */
    name: string;
}
export declare const CreateProjectDomainRequest: Schema.Schema<CreateProjectDomainRequest>;
export interface CreateProjectDomainResponse {
    id: string;
    certificateAuthority: "google" | "lets_encrypt";
    createdOn: string;
    domainId: string;
    /** The domain name. */
    name: string;
    status: "initializing" | "pending" | "active" | "deactivated" | "blocked" | "error";
    validationData: {
        method: "http" | "txt";
        status: "initializing" | "pending" | "active" | "deactivated" | "error";
        errorMessage?: string | null;
        txtName?: string | null;
        txtValue?: string | null;
    };
    verificationData: {
        status: "pending" | "active" | "deactivated" | "blocked" | "error";
        errorMessage?: string | null;
    };
    zoneTag: string;
}
export declare const CreateProjectDomainResponse: Schema.Schema<CreateProjectDomainResponse>;
export type CreateProjectDomainError = DefaultErrors;
export declare const createProjectDomain: API.OperationMethod<CreateProjectDomainRequest, CreateProjectDomainResponse, CreateProjectDomainError, Credentials | HttpClient.HttpClient>;
export interface PatchProjectDomainRequest {
    projectName: string;
    domainName: string;
    /** Identifier. */
    accountId: string;
}
export declare const PatchProjectDomainRequest: Schema.Schema<PatchProjectDomainRequest>;
export interface PatchProjectDomainResponse {
    id: string;
    certificateAuthority: "google" | "lets_encrypt";
    createdOn: string;
    domainId: string;
    /** The domain name. */
    name: string;
    status: "initializing" | "pending" | "active" | "deactivated" | "blocked" | "error";
    validationData: {
        method: "http" | "txt";
        status: "initializing" | "pending" | "active" | "deactivated" | "error";
        errorMessage?: string | null;
        txtName?: string | null;
        txtValue?: string | null;
    };
    verificationData: {
        status: "pending" | "active" | "deactivated" | "blocked" | "error";
        errorMessage?: string | null;
    };
    zoneTag: string;
}
export declare const PatchProjectDomainResponse: Schema.Schema<PatchProjectDomainResponse>;
export type PatchProjectDomainError = DefaultErrors;
export declare const patchProjectDomain: API.OperationMethod<PatchProjectDomainRequest, PatchProjectDomainResponse, PatchProjectDomainError, Credentials | HttpClient.HttpClient>;
export interface DeleteProjectDomainRequest {
    projectName: string;
    domainName: string;
    /** Identifier. */
    accountId: string;
}
export declare const DeleteProjectDomainRequest: Schema.Schema<DeleteProjectDomainRequest>;
export type DeleteProjectDomainResponse = unknown;
export declare const DeleteProjectDomainResponse: Schema.Schema<DeleteProjectDomainResponse>;
export type DeleteProjectDomainError = DefaultErrors;
export declare const deleteProjectDomain: API.OperationMethod<DeleteProjectDomainRequest, DeleteProjectDomainResponse, DeleteProjectDomainError, Credentials | HttpClient.HttpClient>;
//# sourceMappingURL=pages.d.ts.map