import { CloudinaryAssetMgmtCore } from "../core.js";
import { RequestOptions } from "../lib/sdks.js";
import { APIError } from "../models/errors/apierror.js";
import { ConnectionError, InvalidRequestError, RequestAbortedError, RequestTimeoutError, UnexpectedClientError } from "../models/errors/httpclienterrors.js";
import { SDKValidationError } from "../models/errors/sdkvalidationerror.js";
import { UploadRequest } from "../models/uploadrequest.js";
import { APIPromise } from "../types/async.js";
import { Result } from "../types/fp.js";
export declare enum UploadNoResourceTypeAcceptEnum {
    applicationJsonAccept = "application/json",
    textHtmlAccept = "text/html"
}
/**
 * Upload with automatic file type detection
 *
 * @remarks
 * Uploads a file to Cloudinary. The file type is automatically detected based on its content, so you don't need to specify the type manually.
 */
export declare function uploadUploadNoResourceType(client$: CloudinaryAssetMgmtCore, request: UploadRequest, options?: RequestOptions): APIPromise<Result<Response, APIError | SDKValidationError | UnexpectedClientError | InvalidRequestError | RequestAbortedError | RequestTimeoutError | ConnectionError>>;
//# sourceMappingURL=uploadUploadNoResourceType.d.ts.map