import * as z from "zod";
import { Result as SafeParseResult } from "../../types/fp.js";
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
import { Source, Source$Outbound } from "./source.js";
export type AnalyzeAIVisionModerationRequest = {
    source: Source;
    /**
     * Whether to perform the analysis asynchronously.
     *
     * @remarks
     * If true, the response is returned immediately and analysis is done in the background.
     * Once complete, a webhook notification will be sent to the specified URL and/or to the URLs defined in the Webhook Notifications settings of your Cloudinary Console.
     */
    async?: boolean | undefined;
    /**
     * The webhook URL to notify when the analysis is complete. Only relevant when async is set to true.
     */
    notificationUrl?: string | undefined;
    /**
     * A list of yes/no questions
     */
    rejectionQuestions?: Array<string> | undefined;
};
/** @internal */
export declare const AnalyzeAIVisionModerationRequest$inboundSchema: z.ZodType<AnalyzeAIVisionModerationRequest, z.ZodTypeDef, unknown>;
/** @internal */
export type AnalyzeAIVisionModerationRequest$Outbound = {
    source: Source$Outbound;
    async?: boolean | undefined;
    notification_url?: string | undefined;
    rejection_questions?: Array<string> | undefined;
};
/** @internal */
export declare const AnalyzeAIVisionModerationRequest$outboundSchema: z.ZodType<AnalyzeAIVisionModerationRequest$Outbound, z.ZodTypeDef, AnalyzeAIVisionModerationRequest>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace AnalyzeAIVisionModerationRequest$ {
    /** @deprecated use `AnalyzeAIVisionModerationRequest$inboundSchema` instead. */
    const inboundSchema: z.ZodType<AnalyzeAIVisionModerationRequest, z.ZodTypeDef, unknown>;
    /** @deprecated use `AnalyzeAIVisionModerationRequest$outboundSchema` instead. */
    const outboundSchema: z.ZodType<AnalyzeAIVisionModerationRequest$Outbound, z.ZodTypeDef, AnalyzeAIVisionModerationRequest>;
    /** @deprecated use `AnalyzeAIVisionModerationRequest$Outbound` instead. */
    type Outbound = AnalyzeAIVisionModerationRequest$Outbound;
}
export declare function analyzeAIVisionModerationRequestToJSON(analyzeAIVisionModerationRequest: AnalyzeAIVisionModerationRequest): string;
export declare function analyzeAIVisionModerationRequestFromJSON(jsonString: string): SafeParseResult<AnalyzeAIVisionModerationRequest, SDKValidationError>;
//# sourceMappingURL=analyzeaivisionmoderationrequest.d.ts.map