/**
 * Cloudflare CLOUD-CONNECTOR API
 *
 * Generated from Cloudflare TypeScript SDK.
 * DO NOT EDIT - regenerate with: bun scripts/generate.ts --service cloud-connector
 */
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 ListRulesRequest {
    /** Identifier. */
    zoneId: string;
}
export declare const ListRulesRequest: Schema.Schema<ListRulesRequest>;
export interface ListRulesResponse {
    result: {
        id?: string | null;
        description?: string | null;
        enabled?: boolean | null;
        expression?: string | null;
        parameters?: {
            host?: string | null;
        } | null;
        provider?: "aws_s3" | "cloudflare_r2" | "gcp_storage" | "azure_storage" | null;
    }[];
}
export declare const ListRulesResponse: Schema.Schema<ListRulesResponse>;
export type ListRulesError = DefaultErrors;
export declare const listRules: API.PaginatedOperationMethod<ListRulesRequest, ListRulesResponse, ListRulesError, Credentials | HttpClient.HttpClient>;
export interface PutRuleRequest {
    /** Path param: Identifier. */
    zoneId: string;
    /** Body param: */
    rules?: {
        id?: string;
        description?: string;
        enabled?: boolean;
        expression?: string;
        parameters?: {
            host?: string;
        };
        provider?: "aws_s3" | "cloudflare_r2" | "gcp_storage" | "azure_storage";
    }[];
}
export declare const PutRuleRequest: Schema.Schema<PutRuleRequest>;
export interface PutRuleResponse {
    result: {
        id?: string | null;
        description?: string | null;
        enabled?: boolean | null;
        expression?: string | null;
        parameters?: {
            host?: string | null;
        } | null;
        provider?: "aws_s3" | "cloudflare_r2" | "gcp_storage" | "azure_storage" | null;
    }[];
}
export declare const PutRuleResponse: Schema.Schema<PutRuleResponse>;
export type PutRuleError = DefaultErrors;
export declare const putRule: API.PaginatedOperationMethod<PutRuleRequest, PutRuleResponse, PutRuleError, Credentials | HttpClient.HttpClient>;
//# sourceMappingURL=cloud-connector.d.ts.map