import { ApiV3 } from '../lib/ApiV3'; import { RelationDefinition } from '../Types'; /** * Create a custom ODP relation between two objects * @param apiV3 the v3 API instance to use * @param object the object to create the foreign key on * @param relation the relation to create * @throws {ApiRelationExistsError} if the relation name is already in use by another field or relation * @throws {HttpError} if it receives any other non-2XX result */ export declare function createRelation(apiV3: ApiV3.API, object: string, relation: RelationDefinition): Promise>; //# sourceMappingURL=relations.d.ts.map