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 AnalyzeAIVisionGeneralRequest = {
    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;
    /**
     * One or more prompts of open questions or tasks with an open answer
     */
    prompts?: Array<string> | undefined;
};
/** @internal */
export declare const AnalyzeAIVisionGeneralRequest$inboundSchema: z.ZodType<AnalyzeAIVisionGeneralRequest, z.ZodTypeDef, unknown>;
/** @internal */
export type AnalyzeAIVisionGeneralRequest$Outbound = {
    source: Source$Outbound;
    async?: boolean | undefined;
    notification_url?: string | undefined;
    prompts?: Array<string> | undefined;
};
/** @internal */
export declare const AnalyzeAIVisionGeneralRequest$outboundSchema: z.ZodType<AnalyzeAIVisionGeneralRequest$Outbound, z.ZodTypeDef, AnalyzeAIVisionGeneralRequest>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace AnalyzeAIVisionGeneralRequest$ {
    /** @deprecated use `AnalyzeAIVisionGeneralRequest$inboundSchema` instead. */
    const inboundSchema: z.ZodType<AnalyzeAIVisionGeneralRequest, z.ZodTypeDef, unknown>;
    /** @deprecated use `AnalyzeAIVisionGeneralRequest$outboundSchema` instead. */
    const outboundSchema: z.ZodType<AnalyzeAIVisionGeneralRequest$Outbound, z.ZodTypeDef, AnalyzeAIVisionGeneralRequest>;
    /** @deprecated use `AnalyzeAIVisionGeneralRequest$Outbound` instead. */
    type Outbound = AnalyzeAIVisionGeneralRequest$Outbound;
}
export declare function analyzeAIVisionGeneralRequestToJSON(analyzeAIVisionGeneralRequest: AnalyzeAIVisionGeneralRequest): string;
export declare function analyzeAIVisionGeneralRequestFromJSON(jsonString: string): SafeParseResult<AnalyzeAIVisionGeneralRequest, SDKValidationError>;
//# sourceMappingURL=analyzeaivisiongeneralrequest.d.ts.map