import { CloudinaryAssetMgmtCore } from "../core.js";
import { RequestOptions } from "../lib/sdks.js";
import { DirectionEnum } from "../models/directionenum.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 { Fields } from "../models/fields.js";
import { ResourceType } from "../models/resourcetype.js";
import { APIPromise } from "../types/async.js";
import { Result } from "../types/fp.js";
/**
 * Get resources by context
 *
 * @remarks
 * Retrieves resources matching specific context key/value pairs.
 */
export declare function assetsListResourcesByContext(client$: CloudinaryAssetMgmtCore, resource_type: ResourceType, key: string, value?: string | undefined, next_cursor?: string | undefined, max_results?: number | undefined, direction?: DirectionEnum | undefined, fields?: Fields | undefined, options?: RequestOptions): APIPromise<Result<Response, APIError | SDKValidationError | UnexpectedClientError | InvalidRequestError | RequestAbortedError | RequestTimeoutError | ConnectionError>>;
//# sourceMappingURL=assetsListResourcesByContext.d.ts.map