/**
 * Cloudflare LEAKED-CREDENTIAL-CHECKS API
 *
 * Generated from Cloudflare TypeScript SDK.
 * DO NOT EDIT - regenerate with: bun scripts/generate.ts --service leaked-credential-checks
 */
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 GetDetectionRequest {
    detectionId: string;
    /** Defines an identifier. */
    zoneId: string;
}
export declare const GetDetectionRequest: Schema.Schema<GetDetectionRequest>;
export interface GetDetectionResponse {
    /** Defines the unique ID for this custom detection. */
    id?: string | null;
    /** Defines ehe ruleset expression to use in matching the password in a request. */
    password?: string | null;
    /** Defines the ruleset expression to use in matching the username in a request. */
    username?: string | null;
}
export declare const GetDetectionResponse: Schema.Schema<GetDetectionResponse>;
export type GetDetectionError = DefaultErrors;
export declare const getDetection: API.OperationMethod<GetDetectionRequest, GetDetectionResponse, GetDetectionError, Credentials | HttpClient.HttpClient>;
export interface ListDetectionsRequest {
    /** Defines an identifier. */
    zoneId: string;
}
export declare const ListDetectionsRequest: Schema.Schema<ListDetectionsRequest>;
export interface ListDetectionsResponse {
    result: {
        id?: string | null;
        password?: string | null;
        username?: string | null;
    }[];
}
export declare const ListDetectionsResponse: Schema.Schema<ListDetectionsResponse>;
export type ListDetectionsError = DefaultErrors;
export declare const listDetections: API.PaginatedOperationMethod<ListDetectionsRequest, ListDetectionsResponse, ListDetectionsError, Credentials | HttpClient.HttpClient>;
export interface CreateDetectionRequest {
    /** Path param: Defines an identifier. */
    zoneId: string;
    /** Body param: Defines ehe ruleset expression to use in matching the password in a request. */
    password?: string;
    /** Body param: Defines the ruleset expression to use in matching the username in a request. */
    username?: string;
}
export declare const CreateDetectionRequest: Schema.Schema<CreateDetectionRequest>;
export interface CreateDetectionResponse {
    /** Defines the unique ID for this custom detection. */
    id?: string | null;
    /** Defines ehe ruleset expression to use in matching the password in a request. */
    password?: string | null;
    /** Defines the ruleset expression to use in matching the username in a request. */
    username?: string | null;
}
export declare const CreateDetectionResponse: Schema.Schema<CreateDetectionResponse>;
export type CreateDetectionError = DefaultErrors;
export declare const createDetection: API.OperationMethod<CreateDetectionRequest, CreateDetectionResponse, CreateDetectionError, Credentials | HttpClient.HttpClient>;
export interface UpdateDetectionRequest {
    detectionId: string;
    /** Path param: Defines an identifier. */
    zoneId: string;
    /** Body param: Defines ehe ruleset expression to use in matching the password in a request. */
    password?: string;
    /** Body param: Defines the ruleset expression to use in matching the username in a request. */
    username?: string;
}
export declare const UpdateDetectionRequest: Schema.Schema<UpdateDetectionRequest>;
export interface UpdateDetectionResponse {
    /** Defines the unique ID for this custom detection. */
    id?: string | null;
    /** Defines ehe ruleset expression to use in matching the password in a request. */
    password?: string | null;
    /** Defines the ruleset expression to use in matching the username in a request. */
    username?: string | null;
}
export declare const UpdateDetectionResponse: Schema.Schema<UpdateDetectionResponse>;
export type UpdateDetectionError = DefaultErrors;
export declare const updateDetection: API.OperationMethod<UpdateDetectionRequest, UpdateDetectionResponse, UpdateDetectionError, Credentials | HttpClient.HttpClient>;
export interface DeleteDetectionRequest {
    detectionId: string;
    /** Defines an identifier. */
    zoneId: string;
}
export declare const DeleteDetectionRequest: Schema.Schema<DeleteDetectionRequest>;
export type DeleteDetectionResponse = unknown;
export declare const DeleteDetectionResponse: Schema.Schema<DeleteDetectionResponse>;
export type DeleteDetectionError = DefaultErrors;
export declare const deleteDetection: API.OperationMethod<DeleteDetectionRequest, DeleteDetectionResponse, DeleteDetectionError, Credentials | HttpClient.HttpClient>;
export interface GetLeakedCredentialCheckRequest {
    /** Defines an identifier. */
    zoneId: string;
}
export declare const GetLeakedCredentialCheckRequest: Schema.Schema<GetLeakedCredentialCheckRequest>;
export interface GetLeakedCredentialCheckResponse {
    /** Determines whether or not Leaked Credential Checks are enabled. */
    enabled?: boolean | null;
}
export declare const GetLeakedCredentialCheckResponse: Schema.Schema<GetLeakedCredentialCheckResponse>;
export type GetLeakedCredentialCheckError = DefaultErrors;
export declare const getLeakedCredentialCheck: API.OperationMethod<GetLeakedCredentialCheckRequest, GetLeakedCredentialCheckResponse, GetLeakedCredentialCheckError, Credentials | HttpClient.HttpClient>;
export interface CreateLeakedCredentialCheckRequest {
    /** Path param: Defines an identifier. */
    zoneId: string;
    /** Body param: Determines whether or not Leaked Credential Checks are enabled. */
    enabled?: boolean;
}
export declare const CreateLeakedCredentialCheckRequest: Schema.Schema<CreateLeakedCredentialCheckRequest>;
export interface CreateLeakedCredentialCheckResponse {
    /** Determines whether or not Leaked Credential Checks are enabled. */
    enabled?: boolean | null;
}
export declare const CreateLeakedCredentialCheckResponse: Schema.Schema<CreateLeakedCredentialCheckResponse>;
export type CreateLeakedCredentialCheckError = DefaultErrors;
export declare const createLeakedCredentialCheck: API.OperationMethod<CreateLeakedCredentialCheckRequest, CreateLeakedCredentialCheckResponse, CreateLeakedCredentialCheckError, Credentials | HttpClient.HttpClient>;
//# sourceMappingURL=leaked-credential-checks.d.ts.map