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";
/**
 * Search datasource values in a metadata field
 *
 * @remarks
 * Performs a search within a specific metadata field's datasource to find matching values, with support for exact or partial matches.
 */
export declare function metadataFieldsSearchDatasourceInMDField(client: CloudinaryConfigCore, externalId: string, requestBody: operations.SearchDatasourceInMDFieldRequestBody, maxResults?: number | undefined, term?: string | undefined, exactMatch?: boolean | undefined, options?: RequestOptions): APIPromise<Result<components.MetadataFieldDatasourceValuesArray, errors.ApiError | CloudinaryConfigError | ResponseValidationError | ConnectionError | RequestAbortedError | RequestTimeoutError | InvalidRequestError | UnexpectedClientError | SDKValidationError>>;
//# sourceMappingURL=metadataFieldsSearchDatasourceInMDField.d.ts.map