import { CloudinaryAssetMgmtCore } from "../core.js";
import { RequestOptions } from "../lib/sdks.js";
import * as components from "../models/components/index.js";
import { CloudinaryAssetMgmtError } from "../models/errors/cloudinaryassetmgmterror.js";
import { ConnectionError, InvalidRequestError, RequestAbortedError, RequestTimeoutError, UnexpectedClientError } from "../models/errors/httpclienterrors.js";
import * as errors from "../models/errors/index.js";
import { ResponseValidationError } from "../models/errors/responsevalidationerror.js";
import { SDKValidationError } from "../models/errors/sdkvalidationerror.js";
import * as operations from "../models/operations/index.js";
import { APIPromise } from "../types/async.js";
import { Result } from "../types/fp.js";
export declare enum UploadAcceptEnum {
    applicationJson = "application/json",
    textHtml = "text/html"
}
/**
 * Uploads media assets (images, videos, raw files) to your Cloudinary product environment
 *
 * @remarks
 * Uploads media assets (images, videos, raw files) to your Cloudinary product environment. The file is securely stored
 * in the cloud with backup and revision history. Cloudinary automatically analyzes and saves important data about each
 * asset, such as format, size, resolution, and prominent colors, which is indexed to enable searching on those attributes.
 *
 * Supports uploading from:
 * - Local file paths (SDKs/MCP server only). For MCP server path MUST start with file://
 * - Remote HTTP/HTTPS URLs
 * - Base64 Data URIs (max ~60 MB)
 * - Private storage buckets (S3 or Google Storage)
 * - FTP addresses
 *
 * The uploaded asset is immediately available for transformation and delivery upon successful upload.
 */
export declare function uploadUpload(client: CloudinaryAssetMgmtCore, resourceType: components.UploadResourceType | undefined, uploadRequest: components.UploadRequest, options?: RequestOptions & {
    acceptHeaderOverride?: UploadAcceptEnum;
}): APIPromise<Result<operations.UploadResponse, errors.ApiError | CloudinaryAssetMgmtError | ResponseValidationError | ConnectionError | RequestAbortedError | RequestTimeoutError | InvalidRequestError | UnexpectedClientError | SDKValidationError>>;
//# sourceMappingURL=uploadUpload.d.ts.map