/**
 * Cloudflare LOGS API
 *
 * Generated from Cloudflare TypeScript SDK.
 * DO NOT EDIT - regenerate with: bun scripts/generate.ts --service logs
 */
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 GetControlCmbConfigRequest {
    /** Identifier. */
    accountId: string;
}
export declare const GetControlCmbConfigRequest: Schema.Schema<GetControlCmbConfigRequest>;
export interface GetControlCmbConfigResponse {
    /** Allow out of region access */
    allowOutOfRegionAccess?: boolean | null;
    /** Name of the region. */
    regions?: string | null;
}
export declare const GetControlCmbConfigResponse: Schema.Schema<GetControlCmbConfigResponse>;
export type GetControlCmbConfigError = DefaultErrors;
export declare const getControlCmbConfig: API.OperationMethod<GetControlCmbConfigRequest, GetControlCmbConfigResponse, GetControlCmbConfigError, Credentials | HttpClient.HttpClient>;
export interface CreateControlCmbConfigRequest {
    /** Path param: Identifier. */
    accountId: string;
    /** Body param: Allow out of region access */
    allowOutOfRegionAccess?: boolean;
    /** Body param: Name of the region. */
    regions?: string;
}
export declare const CreateControlCmbConfigRequest: Schema.Schema<CreateControlCmbConfigRequest>;
export interface CreateControlCmbConfigResponse {
    /** Allow out of region access */
    allowOutOfRegionAccess?: boolean | null;
    /** Name of the region. */
    regions?: string | null;
}
export declare const CreateControlCmbConfigResponse: Schema.Schema<CreateControlCmbConfigResponse>;
export type CreateControlCmbConfigError = DefaultErrors;
export declare const createControlCmbConfig: API.OperationMethod<CreateControlCmbConfigRequest, CreateControlCmbConfigResponse, CreateControlCmbConfigError, Credentials | HttpClient.HttpClient>;
export interface DeleteControlCmbConfigRequest {
    /** Identifier. */
    accountId: string;
}
export declare const DeleteControlCmbConfigRequest: Schema.Schema<DeleteControlCmbConfigRequest>;
export type DeleteControlCmbConfigResponse = unknown;
export declare const DeleteControlCmbConfigResponse: Schema.Schema<DeleteControlCmbConfigResponse>;
export type DeleteControlCmbConfigError = DefaultErrors;
export declare const deleteControlCmbConfig: API.OperationMethod<DeleteControlCmbConfigRequest, DeleteControlCmbConfigResponse, DeleteControlCmbConfigError, Credentials | HttpClient.HttpClient>;
export interface GetControlRetentionRequest {
    /** Identifier. */
    zoneId: string;
}
export declare const GetControlRetentionRequest: Schema.Schema<GetControlRetentionRequest>;
export interface GetControlRetentionResponse {
    /** The log retention flag for Logpull API. */
    flag?: boolean | null;
}
export declare const GetControlRetentionResponse: Schema.Schema<GetControlRetentionResponse>;
export type GetControlRetentionError = DefaultErrors;
export declare const getControlRetention: API.OperationMethod<GetControlRetentionRequest, GetControlRetentionResponse, GetControlRetentionError, Credentials | HttpClient.HttpClient>;
export interface CreateControlRetentionRequest {
    /** Path param: Identifier. */
    zoneId: string;
    /** Body param: The log retention flag for Logpull API. */
    flag?: boolean;
}
export declare const CreateControlRetentionRequest: Schema.Schema<CreateControlRetentionRequest>;
export interface CreateControlRetentionResponse {
    /** The log retention flag for Logpull API. */
    flag?: boolean | null;
}
export declare const CreateControlRetentionResponse: Schema.Schema<CreateControlRetentionResponse>;
export type CreateControlRetentionError = DefaultErrors;
export declare const createControlRetention: API.OperationMethod<CreateControlRetentionRequest, CreateControlRetentionResponse, CreateControlRetentionError, Credentials | HttpClient.HttpClient>;
export interface GetRayidRequest {
    rayID: string;
    /** Path param: Identifier. */
    zoneId: string;
    /** Query param: The `/received` route by default returns a limited set of fields, and allows customers to override the default field set by specifying individual fields. The reasons for this are: 1. Most */
    fields?: string;
    /** Query param: By default, timestamps in responses are returned as Unix nanosecond integers. The `?timestamps=` argument can be set to change the format in which response timestamps are returned. Possib */
    timestamps?: "unix" | "unixnano" | "rfc3339";
}
export declare const GetRayidRequest: Schema.Schema<GetRayidRequest>;
export type GetRayidResponse = string;
export declare const GetRayidResponse: Schema.Schema<GetRayidResponse>;
export type GetRayidError = DefaultErrors;
export declare const getRayid: API.OperationMethod<GetRayidRequest, GetRayidResponse, GetRayidError, Credentials | HttpClient.HttpClient>;
export interface GetReceivedRequest {
    /** Path param: Identifier. */
    zoneId: string;
    /** Query param: Sets the (exclusive) end of the requested time frame. This can be a unix timestamp (in seconds or nanoseconds), or an absolute timestamp that conforms to RFC 3339. `end` must be at least  */
    end: string | number;
    /** Query param: When `?count=` is provided, the response will contain up to `count` results. Since results are not sorted, you are likely to get different data for repeated requests. `count` must be an i */
    count?: number;
    /** Query param: The `/received` route by default returns a limited set of fields, and allows customers to override the default field set by specifying individual fields. The reasons for this are: 1. Most */
    fields?: string;
    /** Query param: When `?sample=` is provided, a sample of matching records is returned. If `sample=0.1` then 10% of records will be returned. Sampling is random: repeated calls will not only return differ */
    sample?: number;
    /** Query param: Sets the (inclusive) beginning of the requested time frame. This can be a unix timestamp (in seconds or nanoseconds), or an absolute timestamp that conforms to RFC 3339. At this point in  */
    start?: string | number;
    /** Query param: By default, timestamps in responses are returned as Unix nanosecond integers. The `?timestamps=` argument can be set to change the format in which response timestamps are returned. Possib */
    timestamps?: "unix" | "unixnano" | "rfc3339";
}
export declare const GetReceivedRequest: Schema.Schema<GetReceivedRequest>;
export type GetReceivedResponse = string;
export declare const GetReceivedResponse: Schema.Schema<GetReceivedResponse>;
export type GetReceivedError = DefaultErrors;
export declare const getReceived: API.OperationMethod<GetReceivedRequest, GetReceivedResponse, GetReceivedError, Credentials | HttpClient.HttpClient>;
export interface GetReceivedFieldRequest {
    /** Identifier. */
    zoneId: string;
}
export declare const GetReceivedFieldRequest: Schema.Schema<GetReceivedFieldRequest>;
export interface GetReceivedFieldResponse {
    key?: string | null;
}
export declare const GetReceivedFieldResponse: Schema.Schema<GetReceivedFieldResponse>;
export type GetReceivedFieldError = DefaultErrors;
export declare const getReceivedField: API.OperationMethod<GetReceivedFieldRequest, GetReceivedFieldResponse, GetReceivedFieldError, Credentials | HttpClient.HttpClient>;
//# sourceMappingURL=logs.d.ts.map