/**
 * Cloudflare ACM API
 *
 * Generated from Cloudflare TypeScript SDK.
 * DO NOT EDIT - regenerate with: bun scripts/generate.ts --service acm
 */
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";
declare const AdvancedCertificateManagerRequired_base: Schema.Class<AdvancedCertificateManagerRequired, Schema.TaggedStruct<"AdvancedCertificateManagerRequired", {
    readonly code: Schema.Number;
    readonly message: Schema.String;
}>, import("effect/Cause").YieldableError>;
export declare class AdvancedCertificateManagerRequired extends AdvancedCertificateManagerRequired_base {
}
declare const InvalidObjectIdentifier_base: Schema.Class<InvalidObjectIdentifier, Schema.TaggedStruct<"InvalidObjectIdentifier", {
    readonly code: Schema.Number;
    readonly message: Schema.String;
}>, import("effect/Cause").YieldableError>;
export declare class InvalidObjectIdentifier extends InvalidObjectIdentifier_base {
}
declare const NoStateChange_base: Schema.Class<NoStateChange, Schema.TaggedStruct<"NoStateChange", {
    readonly code: Schema.Number;
    readonly message: Schema.String;
}>, import("effect/Cause").YieldableError>;
export declare class NoStateChange extends NoStateChange_base {
}
declare const PreviousJobInProgress_base: Schema.Class<PreviousJobInProgress, Schema.TaggedStruct<"PreviousJobInProgress", {
    readonly code: Schema.Number;
    readonly message: Schema.String;
}>, import("effect/Cause").YieldableError>;
export declare class PreviousJobInProgress extends PreviousJobInProgress_base {
}
export interface GetTotalTlRequest {
    /** Identifier. */
    zoneId: string;
}
export declare const GetTotalTlRequest: Schema.Schema<GetTotalTlRequest>;
export interface GetTotalTlResponse {
    /** The Certificate Authority that Total TLS certificates will be issued through. */
    certificateAuthority?: "google" | "lets_encrypt" | "ssl_com" | null;
    /** If enabled, Total TLS will order a hostname specific TLS certificate for any proxied A, AAAA, or CNAME record in your zone. */
    enabled?: boolean | null;
    /** The validity period in days for the certificates ordered via Total TLS. */
    validityPeriod?: number | null;
}
export declare const GetTotalTlResponse: Schema.Schema<GetTotalTlResponse>;
export type GetTotalTlError = DefaultErrors | InvalidObjectIdentifier | AdvancedCertificateManagerRequired;
export declare const getTotalTl: API.OperationMethod<GetTotalTlRequest, GetTotalTlResponse, GetTotalTlError, Credentials | HttpClient.HttpClient>;
export interface CreateTotalTlRequest {
    /** Path param: Identifier. */
    zoneId: string;
    /** Body param: If enabled, Total TLS will order a hostname specific TLS certificate for any proxied A, AAAA, or CNAME record in your zone. */
    enabled: boolean;
    /** Body param: The Certificate Authority that Total TLS certificates will be issued through. */
    certificateAuthority?: "google" | "lets_encrypt" | "ssl_com";
}
export declare const CreateTotalTlRequest: Schema.Schema<CreateTotalTlRequest>;
export interface CreateTotalTlResponse {
    /** The Certificate Authority that Total TLS certificates will be issued through. */
    certificateAuthority?: "google" | "lets_encrypt" | "ssl_com" | null;
    /** If enabled, Total TLS will order a hostname specific TLS certificate for any proxied A, AAAA, or CNAME record in your zone. */
    enabled?: boolean | null;
    /** The validity period in days for the certificates ordered via Total TLS. */
    validityPeriod?: number | null;
}
export declare const CreateTotalTlResponse: Schema.Schema<CreateTotalTlResponse>;
export type CreateTotalTlError = DefaultErrors | InvalidObjectIdentifier | AdvancedCertificateManagerRequired | NoStateChange | PreviousJobInProgress;
export declare const createTotalTl: API.OperationMethod<CreateTotalTlRequest, CreateTotalTlResponse, CreateTotalTlError, Credentials | HttpClient.HttpClient>;
export {};
//# sourceMappingURL=acm.d.ts.map