import { CloudinarySMDCore } from "../core.js";
import { RequestOptions } from "../lib/sdks.js";
import { DatasourceSearchInFieldRequest } from "../models/datasourcesearchinfieldrequest.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 { 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$: CloudinarySMDCore, external_id: string, datasource_search_in_field_request: DatasourceSearchInFieldRequest, max_results?: number | undefined, term?: string | undefined, exact_match?: boolean | undefined, options?: RequestOptions): APIPromise<Result<Response, APIError | SDKValidationError | UnexpectedClientError | InvalidRequestError | RequestAbortedError | RequestTimeoutError | ConnectionError>>;
//# sourceMappingURL=metadataFieldsSearchDatasourceInMDField.d.ts.map