/**
 * 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.
 */
/**
 * 用于懒加载 Form 区块中只用于展示的关联字段的值
 *
 * - 在表单区块中，有一个 Display association fields 的选项，这里面的字段，只是为了显示出相应的值，不可更改
 * - 这里就是加载这些字段值的地方
 */
declare const useLazyLoadDisplayAssociationFieldsOfForm: () => void;
export default useLazyLoadDisplayAssociationFieldsOfForm;
/**
 * Remove circular references from an object while preserving shared references.
 *
 * This function distinguishes between:
 * - Circular references: Objects that reference themselves in the recursion path (removed)
 * - Shared references: Objects that appear multiple times but aren't circular (preserved)
 *
 * @param value - The value to process
 * @param seen - WeakMap cache of processed objects
 * @param path - WeakSet tracking current recursion path
 * @returns The processed value with circular references removed
 *
 * @example
 * // Shared reference (preserved)
 * const shared = { name: "shared" };
 * removeCircularReferences({ a: shared, b: shared });
 * // Returns: { a: { name: "shared" }, b: { name: "shared" } }
 *
 * @example
 * // Circular reference (removed)
 * const circular = { name: "circular" };
 * circular.self = circular;
 * removeCircularReferences(circular);
 * // Returns: { name: "circular" }
 */
export declare function removeCircularReferences(value: any, seen?: WeakMap<object, any>, path?: WeakSet<object>): any;
