import * as z from "zod";
import { Result as SafeParseResult } from "../../types/fp.js";
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
/**
 * The image metadata of the uploaded file.
 */
export type UploadResponseImageMetadata = {};
export type Eager = {
    transformation?: string | undefined;
    width?: number | undefined;
    height?: number | undefined;
    bytes?: number | undefined;
    format?: string | undefined;
    url?: string | undefined;
    secureUrl?: string | undefined;
};
export type UploadResponse = {
    /**
     * The URL of the uploaded file.
     */
    url?: string | undefined;
    /**
     * The secure URL of the uploaded file.
     */
    secureUrl?: string | undefined;
    /**
     * The public ID of the uploaded file.
     */
    publicId?: string | undefined;
    /**
     * The version of the uploaded file.
     */
    version?: number | undefined;
    /**
     * The version ID of the uploaded file.
     */
    versionId?: string | undefined;
    /**
     * The signature of the uploaded file.
     */
    signature?: string | undefined;
    /**
     * The width of the uploaded file.
     */
    width?: number | undefined;
    /**
     * The height of the uploaded file.
     */
    height?: number | undefined;
    /**
     * The asset ID of the uploaded file. This is the ID of the uploaded file in the Cloudinary database.
     */
    assetId?: string | undefined;
    /**
     * The format of the uploaded file.
     */
    format?: string | undefined;
    /**
     * The type of resource that was uploaded.
     */
    resourceType?: string | undefined;
    /**
     * The date and time the file was uploaded.
     */
    createdAt?: string | undefined;
    /**
     * The tags of the uploaded file.
     */
    tags?: Array<string> | undefined;
    /**
     * The number of pages in the uploaded file.
     */
    pages?: number | undefined;
    /**
     * The size of the uploaded file in bytes.
     */
    bytes?: number | undefined;
    /**
     * The type of the uploaded file.
     */
    type?: string | undefined;
    /**
     * The ETag of the uploaded file.
     */
    etag?: string | undefined;
    /**
     * Whether the uploaded file is a placeholder.
     */
    placeholder?: boolean | undefined;
    /**
     * The original filename of the uploaded file.
     */
    originalFilename?: string | undefined;
    /**
     * The image metadata of the uploaded file.
     */
    imageMetadata?: UploadResponseImageMetadata | undefined;
    /**
     * The illustration score of the uploaded file.
     */
    illustrationScore?: number | undefined;
    /**
     * Whether the uploaded file is semi-transparent.
     */
    semiTransparent?: boolean | undefined;
    /**
     * Whether the uploaded file is grayscale.
     */
    grayscale?: boolean | undefined;
    eager?: Array<Eager> | undefined;
    /**
     * The API key used to upload the file.
     */
    apiKey?: string | undefined;
};
/** @internal */
export declare const UploadResponseImageMetadata$inboundSchema: z.ZodType<UploadResponseImageMetadata, z.ZodTypeDef, unknown>;
/** @internal */
export type UploadResponseImageMetadata$Outbound = {};
/** @internal */
export declare const UploadResponseImageMetadata$outboundSchema: z.ZodType<UploadResponseImageMetadata$Outbound, z.ZodTypeDef, UploadResponseImageMetadata>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace UploadResponseImageMetadata$ {
    /** @deprecated use `UploadResponseImageMetadata$inboundSchema` instead. */
    const inboundSchema: z.ZodType<UploadResponseImageMetadata, z.ZodTypeDef, unknown>;
    /** @deprecated use `UploadResponseImageMetadata$outboundSchema` instead. */
    const outboundSchema: z.ZodType<UploadResponseImageMetadata$Outbound, z.ZodTypeDef, UploadResponseImageMetadata>;
    /** @deprecated use `UploadResponseImageMetadata$Outbound` instead. */
    type Outbound = UploadResponseImageMetadata$Outbound;
}
export declare function uploadResponseImageMetadataToJSON(uploadResponseImageMetadata: UploadResponseImageMetadata): string;
export declare function uploadResponseImageMetadataFromJSON(jsonString: string): SafeParseResult<UploadResponseImageMetadata, SDKValidationError>;
/** @internal */
export declare const Eager$inboundSchema: z.ZodType<Eager, z.ZodTypeDef, unknown>;
/** @internal */
export type Eager$Outbound = {
    transformation?: string | undefined;
    width?: number | undefined;
    height?: number | undefined;
    bytes?: number | undefined;
    format?: string | undefined;
    url?: string | undefined;
    secure_url?: string | undefined;
};
/** @internal */
export declare const Eager$outboundSchema: z.ZodType<Eager$Outbound, z.ZodTypeDef, Eager>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace Eager$ {
    /** @deprecated use `Eager$inboundSchema` instead. */
    const inboundSchema: z.ZodType<Eager, z.ZodTypeDef, unknown>;
    /** @deprecated use `Eager$outboundSchema` instead. */
    const outboundSchema: z.ZodType<Eager$Outbound, z.ZodTypeDef, Eager>;
    /** @deprecated use `Eager$Outbound` instead. */
    type Outbound = Eager$Outbound;
}
export declare function eagerToJSON(eager: Eager): string;
export declare function eagerFromJSON(jsonString: string): SafeParseResult<Eager, SDKValidationError>;
/** @internal */
export declare const UploadResponse$inboundSchema: z.ZodType<UploadResponse, z.ZodTypeDef, unknown>;
/** @internal */
export type UploadResponse$Outbound = {
    url?: string | undefined;
    secure_url?: string | undefined;
    public_id?: string | undefined;
    version?: number | undefined;
    version_id?: string | undefined;
    signature?: string | undefined;
    width?: number | undefined;
    height?: number | undefined;
    asset_id?: string | undefined;
    format?: string | undefined;
    resource_type?: string | undefined;
    created_at?: string | undefined;
    tags?: Array<string> | undefined;
    pages?: number | undefined;
    bytes?: number | undefined;
    type?: string | undefined;
    etag?: string | undefined;
    placeholder?: boolean | undefined;
    original_filename?: string | undefined;
    image_metadata?: UploadResponseImageMetadata$Outbound | undefined;
    illustration_score?: number | undefined;
    semi_transparent?: boolean | undefined;
    grayscale?: boolean | undefined;
    eager?: Array<Eager$Outbound> | undefined;
    api_key?: string | undefined;
};
/** @internal */
export declare const UploadResponse$outboundSchema: z.ZodType<UploadResponse$Outbound, z.ZodTypeDef, UploadResponse>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace UploadResponse$ {
    /** @deprecated use `UploadResponse$inboundSchema` instead. */
    const inboundSchema: z.ZodType<UploadResponse, z.ZodTypeDef, unknown>;
    /** @deprecated use `UploadResponse$outboundSchema` instead. */
    const outboundSchema: z.ZodType<UploadResponse$Outbound, z.ZodTypeDef, UploadResponse>;
    /** @deprecated use `UploadResponse$Outbound` instead. */
    type Outbound = UploadResponse$Outbound;
}
export declare function uploadResponseToJSON(uploadResponse: UploadResponse): string;
export declare function uploadResponseFromJSON(jsonString: string): SafeParseResult<UploadResponse, SDKValidationError>;
//# sourceMappingURL=uploadresponse.d.ts.map