import { CloudinaryAssetMgmtCore } from "../core.js";
import { RequestOptions } from "../lib/sdks.js";
import { DeliveryType } from "../models/deliverytype.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 { RelateAssetsByPublicIdRequest } from "../models/relateassetsbypublicidrequest.js";
import { ResourceType } from "../models/resourcetype.js";
import { APIPromise } from "../types/async.js";
import { Result } from "../types/fp.js";
/**
 * Create asset relations by public ID
 *
 * @remarks
 * Relates an asset to other assets by public IDs. This allows you to indicate that the asset is logically related to other assets in some way (e.g., similar content, or a peripheral asset like video/transcript, etc). This is a bidirectional process, meaning that the asset is also added as a related_asset to all the other assets specified. The relation is also a one to many relationship, where the asset is related to all the assets specified, but those assets aren't also related to each other.
 */
export declare function assetRelationsCreateAssetRelationsByPublicId(client$: CloudinaryAssetMgmtCore, resource_type: ResourceType, type: DeliveryType | undefined, public_id: string, relate_assets_by_public_id_request: RelateAssetsByPublicIdRequest, options?: RequestOptions): APIPromise<Result<Response, APIError | SDKValidationError | UnexpectedClientError | InvalidRequestError | RequestAbortedError | RequestTimeoutError | ConnectionError>>;
//# sourceMappingURL=assetRelationsCreateAssetRelationsByPublicId.d.ts.map