/**
 * This file is part of the NocoBase (R) project.
 * Copyright (c) 2020-2024 NocoBase Co., Ltd.
 * Authors: NocoBase Team.
 *
 * This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
 * For more information, please refer to: https://www.nocobase.com/agreement.
 */
export declare function isToManyAssociation(collectionField: any): boolean;
/**
 * 若目标字段为“对一”关联且传入值为数组，则取第一个元素
 * - 对多关联/非关联字段：不处理，原样返回
 * - 传入空数组：返回 undefined
 */
export declare function coerceForToOneField(collectionField: any, value: any): any;
