import * as z from "zod";
import { Result as SafeParseResult } from "../../types/fp.js";
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
export type Detections = {
    name: string;
    confidence: number;
};
export type WatermarkDetectionAnalysisData = {
    detections?: Array<Detections> | undefined;
    modelVersion?: number | undefined;
};
/** @internal */
export declare const Detections$inboundSchema: z.ZodType<Detections, z.ZodTypeDef, unknown>;
/** @internal */
export type Detections$Outbound = {
    name: string;
    confidence: number;
};
/** @internal */
export declare const Detections$outboundSchema: z.ZodType<Detections$Outbound, z.ZodTypeDef, Detections>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace Detections$ {
    /** @deprecated use `Detections$inboundSchema` instead. */
    const inboundSchema: z.ZodType<Detections, z.ZodTypeDef, unknown>;
    /** @deprecated use `Detections$outboundSchema` instead. */
    const outboundSchema: z.ZodType<Detections$Outbound, z.ZodTypeDef, Detections>;
    /** @deprecated use `Detections$Outbound` instead. */
    type Outbound = Detections$Outbound;
}
export declare function detectionsToJSON(detections: Detections): string;
export declare function detectionsFromJSON(jsonString: string): SafeParseResult<Detections, SDKValidationError>;
/** @internal */
export declare const WatermarkDetectionAnalysisData$inboundSchema: z.ZodType<WatermarkDetectionAnalysisData, z.ZodTypeDef, unknown>;
/** @internal */
export type WatermarkDetectionAnalysisData$Outbound = {
    detections?: Array<Detections$Outbound> | undefined;
    model_version?: number | undefined;
};
/** @internal */
export declare const WatermarkDetectionAnalysisData$outboundSchema: z.ZodType<WatermarkDetectionAnalysisData$Outbound, z.ZodTypeDef, WatermarkDetectionAnalysisData>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace WatermarkDetectionAnalysisData$ {
    /** @deprecated use `WatermarkDetectionAnalysisData$inboundSchema` instead. */
    const inboundSchema: z.ZodType<WatermarkDetectionAnalysisData, z.ZodTypeDef, unknown>;
    /** @deprecated use `WatermarkDetectionAnalysisData$outboundSchema` instead. */
    const outboundSchema: z.ZodType<WatermarkDetectionAnalysisData$Outbound, z.ZodTypeDef, WatermarkDetectionAnalysisData>;
    /** @deprecated use `WatermarkDetectionAnalysisData$Outbound` instead. */
    type Outbound = WatermarkDetectionAnalysisData$Outbound;
}
export declare function watermarkDetectionAnalysisDataToJSON(watermarkDetectionAnalysisData: WatermarkDetectionAnalysisData): string;
export declare function watermarkDetectionAnalysisDataFromJSON(jsonString: string): SafeParseResult<WatermarkDetectionAnalysisData, SDKValidationError>;
//# sourceMappingURL=watermarkdetectionanalysisdata.d.ts.map