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 BaseAnalyzeRequest = {
    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;
};
/** @internal */
export declare const BaseAnalyzeRequest$inboundSchema: z.ZodType<BaseAnalyzeRequest, z.ZodTypeDef, unknown>;
/** @internal */
export type BaseAnalyzeRequest$Outbound = {
    source: Source$Outbound;
    async?: boolean | undefined;
    notification_url?: string | undefined;
};
/** @internal */
export declare const BaseAnalyzeRequest$outboundSchema: z.ZodType<BaseAnalyzeRequest$Outbound, z.ZodTypeDef, BaseAnalyzeRequest>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace BaseAnalyzeRequest$ {
    /** @deprecated use `BaseAnalyzeRequest$inboundSchema` instead. */
    const inboundSchema: z.ZodType<BaseAnalyzeRequest, z.ZodTypeDef, unknown>;
    /** @deprecated use `BaseAnalyzeRequest$outboundSchema` instead. */
    const outboundSchema: z.ZodType<BaseAnalyzeRequest$Outbound, z.ZodTypeDef, BaseAnalyzeRequest>;
    /** @deprecated use `BaseAnalyzeRequest$Outbound` instead. */
    type Outbound = BaseAnalyzeRequest$Outbound;
}
export declare function baseAnalyzeRequestToJSON(baseAnalyzeRequest: BaseAnalyzeRequest): string;
export declare function baseAnalyzeRequestFromJSON(jsonString: string): SafeParseResult<BaseAnalyzeRequest, SDKValidationError>;
//# sourceMappingURL=baseanalyzerequest.d.ts.map