/**
 * Cloudflare BOT-MANAGEMENT API
 *
 * Generated from Cloudflare TypeScript SDK.
 * DO NOT EDIT - regenerate with: bun scripts/generate.ts --service bot-management
 */
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 GetBotManagementRequest {
    /** Identifier. */
    zoneId: string;
}
export declare const GetBotManagementRequest: Schema.Schema<GetBotManagementRequest>;
export type GetBotManagementResponse = {
    aiBotsProtection?: "block" | "disabled" | "only_on_ad_pages" | null;
    cfRobotsVariant?: "off" | "policy_only" | null;
    crawlerProtection?: "enabled" | "disabled" | null;
    enableJs?: boolean | null;
    fightMode?: boolean | null;
    isRobotsTxtManaged?: boolean | null;
    staleZoneConfiguration?: {
        optimizeWordpress?: boolean | null;
        sbfmDefinitelyAutomated?: string | null;
        sbfmLikelyAutomated?: string | null;
        sbfmStaticResourceProtection?: string | null;
        sbfmVerifiedBots?: string | null;
        suppressSessionScore?: boolean | null;
    } | null;
    usingLatestModel?: boolean | null;
} | {
    aiBotsProtection?: "block" | "disabled" | "only_on_ad_pages" | null;
    cfRobotsVariant?: "off" | "policy_only" | null;
    crawlerProtection?: "enabled" | "disabled" | null;
    enableJs?: boolean | null;
    isRobotsTxtManaged?: boolean | null;
    optimizeWordpress?: boolean | null;
    sbfmDefinitelyAutomated?: "allow" | "block" | "managed_challenge" | null;
    sbfmStaticResourceProtection?: boolean | null;
    sbfmVerifiedBots?: "allow" | "block" | null;
    staleZoneConfiguration?: {
        fightMode?: boolean | null;
        sbfmLikelyAutomated?: string | null;
    } | null;
    usingLatestModel?: boolean | null;
} | {
    aiBotsProtection?: "block" | "disabled" | "only_on_ad_pages" | null;
    cfRobotsVariant?: "off" | "policy_only" | null;
    crawlerProtection?: "enabled" | "disabled" | null;
    enableJs?: boolean | null;
    isRobotsTxtManaged?: boolean | null;
    optimizeWordpress?: boolean | null;
    sbfmDefinitelyAutomated?: "allow" | "block" | "managed_challenge" | null;
    sbfmLikelyAutomated?: "allow" | "block" | "managed_challenge" | null;
    sbfmStaticResourceProtection?: boolean | null;
    sbfmVerifiedBots?: "allow" | "block" | null;
    staleZoneConfiguration?: {
        fightMode?: boolean | null;
    } | null;
    usingLatestModel?: boolean | null;
} | {
    aiBotsProtection?: "block" | "disabled" | "only_on_ad_pages" | null;
    autoUpdateModel?: boolean | null;
    bmCookieEnabled?: boolean | null;
    cfRobotsVariant?: "off" | "policy_only" | null;
    crawlerProtection?: "enabled" | "disabled" | null;
    enableJs?: boolean | null;
    isRobotsTxtManaged?: boolean | null;
    staleZoneConfiguration?: {
        fightMode?: boolean | null;
        optimizeWordpress?: boolean | null;
        sbfmDefinitelyAutomated?: string | null;
        sbfmLikelyAutomated?: string | null;
        sbfmStaticResourceProtection?: string | null;
        sbfmVerifiedBots?: string | null;
    } | null;
    suppressSessionScore?: boolean | null;
    usingLatestModel?: boolean | null;
};
export declare const GetBotManagementResponse: Schema.Schema<GetBotManagementResponse>;
export type GetBotManagementError = DefaultErrors;
export declare const getBotManagement: API.OperationMethod<GetBotManagementRequest, GetBotManagementResponse, GetBotManagementError, Credentials | HttpClient.HttpClient>;
export interface PutBotManagementRequest {
    /** Path param: Identifier. */
    zoneId: string;
    /** Body param: Enable rule to block AI Scrapers and Crawlers. Please note the value `only_on_ad_pages` is currently not available for Enterprise customers. */
    aiBotsProtection?: "block" | "disabled" | "only_on_ad_pages";
    /** Body param: Specifies the Robots Access Control License variant to use. */
    cfRobotsVariant?: "off" | "policy_only";
    /** Body param: Enable rule to punish AI Scrapers and Crawlers via a link maze. */
    crawlerProtection?: "enabled" | "disabled";
    /** Body param: Use lightweight, invisible JavaScript detections to improve Bot Management. [Learn more about JavaScript Detections](https://developers.cloudflare.com/bots/reference/javascript-detections/ */
    enableJs?: boolean;
    /** Body param: Whether to enable Bot Fight Mode. */
    fightMode?: boolean;
    /** Body param: Enable cloudflare managed robots.txt. If an existing robots.txt is detected, then managed robots.txt will be prepended to the existing robots.txt. */
    isRobotsTxtManaged?: boolean;
}
export declare const PutBotManagementRequest: Schema.Schema<PutBotManagementRequest>;
export type PutBotManagementResponse = {
    aiBotsProtection?: "block" | "disabled" | "only_on_ad_pages" | null;
    cfRobotsVariant?: "off" | "policy_only" | null;
    crawlerProtection?: "enabled" | "disabled" | null;
    enableJs?: boolean | null;
    fightMode?: boolean | null;
    isRobotsTxtManaged?: boolean | null;
    staleZoneConfiguration?: {
        optimizeWordpress?: boolean | null;
        sbfmDefinitelyAutomated?: string | null;
        sbfmLikelyAutomated?: string | null;
        sbfmStaticResourceProtection?: string | null;
        sbfmVerifiedBots?: string | null;
        suppressSessionScore?: boolean | null;
    } | null;
    usingLatestModel?: boolean | null;
} | {
    aiBotsProtection?: "block" | "disabled" | "only_on_ad_pages" | null;
    cfRobotsVariant?: "off" | "policy_only" | null;
    crawlerProtection?: "enabled" | "disabled" | null;
    enableJs?: boolean | null;
    isRobotsTxtManaged?: boolean | null;
    optimizeWordpress?: boolean | null;
    sbfmDefinitelyAutomated?: "allow" | "block" | "managed_challenge" | null;
    sbfmStaticResourceProtection?: boolean | null;
    sbfmVerifiedBots?: "allow" | "block" | null;
    staleZoneConfiguration?: {
        fightMode?: boolean | null;
        sbfmLikelyAutomated?: string | null;
    } | null;
    usingLatestModel?: boolean | null;
} | {
    aiBotsProtection?: "block" | "disabled" | "only_on_ad_pages" | null;
    cfRobotsVariant?: "off" | "policy_only" | null;
    crawlerProtection?: "enabled" | "disabled" | null;
    enableJs?: boolean | null;
    isRobotsTxtManaged?: boolean | null;
    optimizeWordpress?: boolean | null;
    sbfmDefinitelyAutomated?: "allow" | "block" | "managed_challenge" | null;
    sbfmLikelyAutomated?: "allow" | "block" | "managed_challenge" | null;
    sbfmStaticResourceProtection?: boolean | null;
    sbfmVerifiedBots?: "allow" | "block" | null;
    staleZoneConfiguration?: {
        fightMode?: boolean | null;
    } | null;
    usingLatestModel?: boolean | null;
} | {
    aiBotsProtection?: "block" | "disabled" | "only_on_ad_pages" | null;
    autoUpdateModel?: boolean | null;
    bmCookieEnabled?: boolean | null;
    cfRobotsVariant?: "off" | "policy_only" | null;
    crawlerProtection?: "enabled" | "disabled" | null;
    enableJs?: boolean | null;
    isRobotsTxtManaged?: boolean | null;
    staleZoneConfiguration?: {
        fightMode?: boolean | null;
        optimizeWordpress?: boolean | null;
        sbfmDefinitelyAutomated?: string | null;
        sbfmLikelyAutomated?: string | null;
        sbfmStaticResourceProtection?: string | null;
        sbfmVerifiedBots?: string | null;
    } | null;
    suppressSessionScore?: boolean | null;
    usingLatestModel?: boolean | null;
};
export declare const PutBotManagementResponse: Schema.Schema<PutBotManagementResponse>;
export type PutBotManagementError = DefaultErrors;
export declare const putBotManagement: API.OperationMethod<PutBotManagementRequest, PutBotManagementResponse, PutBotManagementError, Credentials | HttpClient.HttpClient>;
//# sourceMappingURL=bot-management.d.ts.map