/**
 * 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.
 */
import { Schema } from '@formily/json-schema';
import { CollectionFieldOptions } from '../../../data-source/collection/Collection';
export declare const useParentObjectContext: () => {
    /** 是否显示变量 */
    shouldDisplayParentObject: boolean;
    /** 变量的值 */
    parentObjectCtx: any;
    collectionName: any;
    dataSource: any;
};
/**
 * 变量：`上级对象`
 * @param param0
 * @returns
 */
export declare const useParentObjectVariable: ({ collectionField, schema, noDisabled, targetFieldSchema, }?: {
    collectionField?: CollectionFieldOptions;
    schema?: any;
    noDisabled?: boolean;
    /** 消费变量值的字段 */
    targetFieldSchema?: Schema;
}) => {
    /** 变量的配置项 */
    parentObjectSettings: import("../type").Option;
    /** 是否显示变量 */
    shouldDisplayParentObject: boolean;
    /** 变量的值 */
    parentObjectCtx: any;
    collectionName: any;
};
