import { CloudinaryConfigCore } from "../core.js";
import { RequestOptions } from "../lib/sdks.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 the allowed values (the datasource) for a specified metadata field
 *
 * @remarks
 * Updates the values in a metadata field's datasource, including adding, modifying, or changing the order of values.
 */
export declare function metadataFieldsUpdateMetadataFieldDatasource(client: CloudinaryConfigCore, externalId: string, requestBody: operations.UpdateMetadataFieldDatasourceRequestBody, options?: RequestOptions): APIPromise<Result<operations.UpdateMetadataFieldDatasourceResponse, errors.ApiError | CloudinaryConfigError | ResponseValidationError | ConnectionError | RequestAbortedError | RequestTimeoutError | InvalidRequestError | UnexpectedClientError | SDKValidationError>>;
//# sourceMappingURL=metadataFieldsUpdateMetadataFieldDatasource.d.ts.map