import { CloudinaryConfigCore } from "../core.js";
import { RequestOptions } from "../lib/sdks.js";
import * as components from "../models/components/index.js";
import { CloudinaryConfigError } from "../models/errors/cloudinaryconfigerror.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";
/**
 * Updates an existing upload preset's configuration settings
 */
export declare function uploadPresetsUpdateUploadPreset(client: CloudinaryConfigCore, name: string, uploadPreset: components.UploadPreset, options?: RequestOptions): APIPromise<Result<operations.UpdateUploadPresetResponse, errors.ApiError | CloudinaryConfigError | ResponseValidationError | ConnectionError | RequestAbortedError | RequestTimeoutError | InvalidRequestError | UnexpectedClientError | SDKValidationError>>;
//# sourceMappingURL=uploadPresetsUpdateUploadPreset.d.ts.map