import * as z from "zod/v3";
import { Result as SafeParseResult } from "../types/fp.js";
import { SDKValidationError } from "./sdkvalidationerror.js";
export type GetActiveAttackStatusRequest = {
    projectId: string;
    since?: number | undefined;
    /**
     * The Team identifier to perform the request on behalf of.
     */
    teamId?: string | undefined;
    /**
     * The Team slug to perform the request on behalf of.
     */
    slug?: string | undefined;
};
export type AnomalyAlerts = {
    atMinute: string;
    zscore: number;
    totalRequestsMinute: number;
    avgRequests: number;
    stddevRequests: number;
};
export type DdosAlerts = {
    atMinute: string;
    totalReqs: number;
};
export type AffectedHostMap = {
    anomalyAlerts?: {
        [k: string]: AnomalyAlerts;
    } | undefined;
    ddosAlerts?: {
        [k: string]: DdosAlerts;
    } | undefined;
};
export type Anomalies = {
    projectId: string;
    ownerId: string;
    startTime: number;
    endTime: number | null;
    atMinute: number;
    state?: string | undefined;
    affectedHostMap: {
        [k: string]: AffectedHostMap;
    };
};
export type GetActiveAttackStatusResponseBody2 = {
    anomalies: Array<Anomalies>;
};
export type GetActiveAttackStatusResponseBody1 = {};
export type GetActiveAttackStatusResponseBody = GetActiveAttackStatusResponseBody2 | GetActiveAttackStatusResponseBody1;
/** @internal */
export type GetActiveAttackStatusRequest$Outbound = {
    projectId: string;
    since?: number | undefined;
    teamId?: string | undefined;
    slug?: string | undefined;
};
/** @internal */
export declare const GetActiveAttackStatusRequest$outboundSchema: z.ZodType<GetActiveAttackStatusRequest$Outbound, z.ZodTypeDef, GetActiveAttackStatusRequest>;
export declare function getActiveAttackStatusRequestToJSON(getActiveAttackStatusRequest: GetActiveAttackStatusRequest): string;
/** @internal */
export declare const AnomalyAlerts$inboundSchema: z.ZodType<AnomalyAlerts, z.ZodTypeDef, unknown>;
export declare function anomalyAlertsFromJSON(jsonString: string): SafeParseResult<AnomalyAlerts, SDKValidationError>;
/** @internal */
export declare const DdosAlerts$inboundSchema: z.ZodType<DdosAlerts, z.ZodTypeDef, unknown>;
export declare function ddosAlertsFromJSON(jsonString: string): SafeParseResult<DdosAlerts, SDKValidationError>;
/** @internal */
export declare const AffectedHostMap$inboundSchema: z.ZodType<AffectedHostMap, z.ZodTypeDef, unknown>;
export declare function affectedHostMapFromJSON(jsonString: string): SafeParseResult<AffectedHostMap, SDKValidationError>;
/** @internal */
export declare const Anomalies$inboundSchema: z.ZodType<Anomalies, z.ZodTypeDef, unknown>;
export declare function anomaliesFromJSON(jsonString: string): SafeParseResult<Anomalies, SDKValidationError>;
/** @internal */
export declare const GetActiveAttackStatusResponseBody2$inboundSchema: z.ZodType<GetActiveAttackStatusResponseBody2, z.ZodTypeDef, unknown>;
export declare function getActiveAttackStatusResponseBody2FromJSON(jsonString: string): SafeParseResult<GetActiveAttackStatusResponseBody2, SDKValidationError>;
/** @internal */
export declare const GetActiveAttackStatusResponseBody1$inboundSchema: z.ZodType<GetActiveAttackStatusResponseBody1, z.ZodTypeDef, unknown>;
export declare function getActiveAttackStatusResponseBody1FromJSON(jsonString: string): SafeParseResult<GetActiveAttackStatusResponseBody1, SDKValidationError>;
/** @internal */
export declare const GetActiveAttackStatusResponseBody$inboundSchema: z.ZodType<GetActiveAttackStatusResponseBody, z.ZodTypeDef, unknown>;
export declare function getActiveAttackStatusResponseBodyFromJSON(jsonString: string): SafeParseResult<GetActiveAttackStatusResponseBody, SDKValidationError>;
//# sourceMappingURL=getactiveattackstatusop.d.ts.map