/**
 * Cloudflare SECURITY-CENTER API
 *
 * Generated from Cloudflare TypeScript SDK.
 * DO NOT EDIT - regenerate with: bun scripts/generate.ts --service security-center
 */
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 ListInsightsRequest {
}
export declare const ListInsightsRequest: Schema.Schema<ListInsightsRequest>;
export interface ListInsightsResponse {
    result: {
        items?: {
            count?: number | null;
            issues?: {
                id?: string | null;
                dismissed?: boolean | null;
                issueClass?: string | null;
                issueType?: "compliance_violation" | "email_security" | "exposed_infrastructure" | "insecure_configuration" | "weak_authentication" | "configuration_suggestion" | null;
                payload?: {
                    detectionMethod?: string | null;
                    zoneTag?: string | null;
                } | null;
                resolveLink?: string | null;
                resolveText?: string | null;
                severity?: "Low" | "Moderate" | "Critical" | null;
                since?: string | null;
                subject?: string | null;
                timestamp?: string | null;
            }[] | null;
            page?: number | null;
            perPage?: number | null;
        }[] | null;
    };
    resultInfo: {
        count?: number | null;
        page?: number | null;
        perPage?: number | null;
        totalCount?: number | null;
    };
}
export declare const ListInsightsResponse: Schema.Schema<ListInsightsResponse>;
export type ListInsightsError = DefaultErrors;
export declare const listInsights: API.PaginatedOperationMethod<ListInsightsRequest, ListInsightsResponse, ListInsightsError, Credentials | HttpClient.HttpClient>;
export interface DismissInsightRequest {
    issueId: string;
    /** Path param: The Account ID to use for this endpoint. Mutually exclusive with the Zone ID. */
    accountId?: string;
    /** Path param: The Zone ID to use for this endpoint. Mutually exclusive with the Account ID. */
    zoneId?: string;
    /** Body param: */
    dismiss?: boolean;
}
export declare const DismissInsightRequest: Schema.Schema<DismissInsightRequest>;
export interface DismissInsightResponse {
    errors: {
        code: number;
        message: string;
        documentationUrl?: string | null;
        source?: {
            pointer?: string | null;
        } | null;
    }[];
    messages: {
        code: number;
        message: string;
        documentationUrl?: string | null;
        source?: {
            pointer?: string | null;
        } | null;
    }[];
    /** Whether the API call was successful. */
    success: true;
}
export declare const DismissInsightResponse: Schema.Schema<DismissInsightResponse>;
export type DismissInsightError = DefaultErrors;
export declare const dismissInsight: API.OperationMethod<DismissInsightRequest, DismissInsightResponse, DismissInsightError, Credentials | HttpClient.HttpClient>;
export interface GetInsightClassRequest {
}
export declare const GetInsightClassRequest: Schema.Schema<GetInsightClassRequest>;
export type GetInsightClassResponse = {
    count?: number | null;
    value?: string | null;
}[];
export declare const GetInsightClassResponse: Schema.Schema<GetInsightClassResponse>;
export type GetInsightClassError = DefaultErrors;
export declare const getInsightClass: API.OperationMethod<GetInsightClassRequest, GetInsightClassResponse, GetInsightClassError, Credentials | HttpClient.HttpClient>;
export interface GetInsightSeverityRequest {
}
export declare const GetInsightSeverityRequest: Schema.Schema<GetInsightSeverityRequest>;
export type GetInsightSeverityResponse = {
    count?: number | null;
    value?: string | null;
}[];
export declare const GetInsightSeverityResponse: Schema.Schema<GetInsightSeverityResponse>;
export type GetInsightSeverityError = DefaultErrors;
export declare const getInsightSeverity: API.OperationMethod<GetInsightSeverityRequest, GetInsightSeverityResponse, GetInsightSeverityError, Credentials | HttpClient.HttpClient>;
export interface GetInsightTypeRequest {
}
export declare const GetInsightTypeRequest: Schema.Schema<GetInsightTypeRequest>;
export type GetInsightTypeResponse = {
    count?: number | null;
    value?: string | null;
}[];
export declare const GetInsightTypeResponse: Schema.Schema<GetInsightTypeResponse>;
export type GetInsightTypeError = DefaultErrors;
export declare const getInsightType: API.OperationMethod<GetInsightTypeRequest, GetInsightTypeResponse, GetInsightTypeError, Credentials | HttpClient.HttpClient>;
//# sourceMappingURL=security-center.d.ts.map