/**
 * Cloudflare REQUEST-TRACERS API
 *
 * Generated from Cloudflare TypeScript SDK.
 * DO NOT EDIT - regenerate with: bun scripts/generate.ts --service request-tracers
 */
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 CreateTraceRequest {
    /** Path param: Identifier. */
    accountId: string;
    /** Body param: HTTP Method of tracing request */
    method: string;
    /** Body param: URL to which perform tracing request */
    url: string;
    /** Body param: */
    body?: {
        base64?: string;
        json?: unknown;
        plainText?: string;
    };
    /** Body param: Additional request parameters */
    context?: {
        botScore?: number;
        geoloc?: {
            city?: string;
            continent?: string;
            isEuCountry?: boolean;
            isoCode?: string;
            latitude?: number;
            longitude?: number;
            postalCode?: string;
            regionCode?: string;
            subdivision_2IsoCode?: string;
            timezone?: string;
        };
        skipChallenge?: boolean;
        threatScore?: number;
    };
    /** Body param: Cookies added to tracing request */
    cookies?: Record<string, unknown>;
    /** Body param: Headers added to tracing request */
    headers?: Record<string, unknown>;
    /** Body param: HTTP Protocol of tracing request */
    protocol?: string;
    /** Body param: Skip sending the request to the Origin server after all rules evaluation */
    skipResponse?: boolean;
}
export declare const CreateTraceRequest: Schema.Schema<CreateTraceRequest>;
export interface CreateTraceResponse {
    /** HTTP Status code of zone response */
    statusCode?: number | null;
    trace?: {
        action?: string | null;
        actionParameters?: unknown | null;
        description?: string | null;
        expression?: string | null;
        kind?: string | null;
        matched?: boolean | null;
        name?: string | null;
        stepName?: string | null;
        trace?: unknown | null;
        type?: string | null;
    }[] | null;
}
export declare const CreateTraceResponse: Schema.Schema<CreateTraceResponse>;
export type CreateTraceError = DefaultErrors;
export declare const createTrace: API.OperationMethod<CreateTraceRequest, CreateTraceResponse, CreateTraceError, Credentials | HttpClient.HttpClient>;
//# sourceMappingURL=request-tracers.d.ts.map