import { CloudinarySMDCore } 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 { UpdateDatasourceRequest } from "../models/updatedatasourcerequest.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$: CloudinarySMDCore, external_id: string, update_datasource_request: UpdateDatasourceRequest, options?: RequestOptions): APIPromise<Result<Response, APIError | SDKValidationError | UnexpectedClientError | InvalidRequestError | RequestAbortedError | RequestTimeoutError | ConnectionError>>;
//# sourceMappingURL=metadataFieldsUpdateMetadataFieldDatasource.d.ts.map